Package org.apache.juneau.petstore.service
package org.apache.juneau.petstore.service
Petstore service layer (in-memory store).
The service is HTTP-agnostic: it throws PetstoreNotFoundException
which the REST layer translates to a 404 Not Found.
-
ClassDescriptionOne audit-trail record: who changed which petstore entity, how, and when.One staged inline edit of a pet field, waiting on the Pending changes page to be applied or discarded.Lifecycle of a staged change.The staging area for pet-detail inline edits: edits are staged here instead of mutating the pet, then applied (perRow, with retry on failure) or discarded (aggregate) from the Pending changes page.Result of an aggregate discard, mapped 1:1 onto the console's
BulkResultbyChangesRest.One failed id in aPendingChanges.DiscardOutcome.Thrown when a petstore operation conflicts with the entity's current state (HTTP 409 at the console layer).Thrown byPetStorewhen the requested entity does not exist.