Uses of Class
org.apache.juneau.petstore.dto.User
Packages that use User
Package
Description
Petstore console users page and its JSON endpoints.
Petstore domain beans (DTOs).
Petstore REST resources.
Petstore service layer (in-memory store).
-
Uses of User in org.apache.juneau.petstore.console.users
Methods in org.apache.juneau.petstore.console.users with parameters of type User -
Uses of User in org.apache.juneau.petstore.dto
Methods in org.apache.juneau.petstore.dto that return UserModifier and TypeMethodDescriptionSets the email address.User.setFirstName(String value) Sets the first name.User.setLastName(String value) Sets the last name.User.setPassword(String value) Sets the password.Sets the phone number.User.setUsername(String value) Sets the username.User.setUserStatus(UserStatus value) Sets the user account status. -
Uses of User in org.apache.juneau.petstore.rest
Methods in org.apache.juneau.petstore.rest that return UserModifier and TypeMethodDescriptionPetStoreResource.createUser(User user) Creates a new user.Retrieves a user by username.PetStoreResource.updateUser(String username, User user) Updates an existing user.Methods in org.apache.juneau.petstore.rest that return types with arguments of type UserMethods in org.apache.juneau.petstore.rest with parameters of type UserModifier and TypeMethodDescriptionPetStoreResource.createUser(User user) Creates a new user.PetStoreResource.updateUser(String username, User user) Updates an existing user. -
Uses of User in org.apache.juneau.petstore.service
Fields in org.apache.juneau.petstore.service with type parameters of type UserModifier and TypeFieldDescriptionstatic final InMemoryBeanQueryContext<User>PetStore.USER_QUERYQuery context over users;passwordis write-only onUser, so it is neither searchable nor a column.Methods in org.apache.juneau.petstore.service that return UserModifier and TypeMethodDescriptionPetStore.createUser(User user) Creates a new user.PetStore.createUser(User user, String actor) Creates a user and records aCREATEaudit entry.Returns a user by username.PetStore.updateUser(User user) Updates an existing user.PetStore.updateUser(User user, String actor) Replaces a user and records anUPDATEaudit entry.Methods in org.apache.juneau.petstore.service that return types with arguments of type UserMethods in org.apache.juneau.petstore.service with parameters of type UserModifier and TypeMethodDescriptionPetStore.createUser(User user) Creates a new user.PetStore.createUser(User user, String actor) Creates a user and records aCREATEaudit entry.PetStore.updateUser(User user) Updates an existing user.PetStore.updateUser(User user, String actor) Replaces a user and records anUPDATEaudit entry.