Uses of Class
org.apache.juneau.petstore.dto.Pet
Packages that use Pet
Package
Description
Typed
@Remote client view of the petstore API.Petstore console Developer pages: custom cards, themes, rendering flavors and the secure API demo.
Builder twins of the petstore console pages: each page's
.ftlh file rebuilt with PageSpec, served
when the page is requested with ?builder.Petstore console pets pages and their JSON endpoints.
Petstore domain beans (DTOs).
Petstore REST resources.
Petstore service layer (in-memory store).
-
Uses of Pet in org.apache.juneau.petstore.client
Methods in org.apache.juneau.petstore.client that return PetModifier and TypeMethodDescriptionCreates a new pet.PetStoreClient.getPet(long id) Retrieves a pet by ID.Methods in org.apache.juneau.petstore.client that return types with arguments of type PetMethods in org.apache.juneau.petstore.client with parameters of type Pet -
Uses of Pet in org.apache.juneau.petstore.console.dev
Methods in org.apache.juneau.petstore.console.dev that return PetMethods in org.apache.juneau.petstore.console.dev that return types with arguments of type Pet -
Uses of Pet in org.apache.juneau.petstore.console.pages
Methods in org.apache.juneau.petstore.console.pages with parameters of type Pet -
Uses of Pet in org.apache.juneau.petstore.console.pets
Methods in org.apache.juneau.petstore.console.pets that return PetMethods in org.apache.juneau.petstore.console.pets that return types with arguments of type Pet -
Uses of Pet in org.apache.juneau.petstore.dto
Methods in org.apache.juneau.petstore.dto that return PetModifier and TypeMethodDescriptionPet.defaultPhoto(String value) Sets the photo URI only if it is currentlynull .Pet.defaultSpecies(Species value) Sets the species only if it is currentlynull .Pet.defaultStatus(PetStatus value) Sets the lifecycle status only if it is currentlynull .Pet.defaultTags(List<String> value) Sets the tags only if they are currentlynull .Pet.setId(long value) Sets the pet ID.Sets the name of the pet.Sets the URI of the pet photo.Pet.setPrice(float value) Sets the price of the pet.Pet.setSpecies(Species value) Sets the species of the pet.Sets the lifecycle status of the pet.Sets the tags associated with the pet. -
Uses of Pet in org.apache.juneau.petstore.rest
Methods in org.apache.juneau.petstore.rest that return PetModifier and TypeMethodDescriptionCreates a new pet.PetStoreResource.getPet(long id) Retrieves a pet by ID.Updates an existing pet.Methods in org.apache.juneau.petstore.rest that return types with arguments of type PetMethods in org.apache.juneau.petstore.rest with parameters of type Pet -
Uses of Pet in org.apache.juneau.petstore.service
Fields in org.apache.juneau.petstore.service with type parameters of type PetModifier and TypeFieldDescriptionstatic final InMemoryBeanQueryContext<Pet>PetStore.PET_QUERYQuery context over pets;tagsandphotoare not searchable.Methods in org.apache.juneau.petstore.service that return PetModifier and TypeMethodDescriptionCreates a new pet.Creates a pet and records aCREATEaudit entry.PetStore.getPet(long id) Returns a pet by ID.Updates an existing pet.Replaces a pet and records anUPDATEaudit entry.Methods in org.apache.juneau.petstore.service that return types with arguments of type PetModifier and TypeMethodDescriptionPetStore.getPets()Returns all pets.PetStore.queryPets()Opens a query session over a snapshot of the pets.Adds a batch of available pets, one per requested count, and records one summaryRESTOCKaudit entry.Methods in org.apache.juneau.petstore.service with parameters of type PetModifier and TypeMethodDescriptionCreates a new pet.Creates a pet and records aCREATEaudit entry.Updates an existing pet.Replaces a pet and records anUPDATEaudit entry.Method parameters in org.apache.juneau.petstore.service with type arguments of type PetModifier and TypeMethodDescriptionvoidPetStore.load(Collection<Pet> newPets, Collection<Order> newOrders, Collection<User> newUsers, Collection<AuditEntry> newAudit) Bulk-loads rows with their ids preserved, writing no audit.