Package | Description |
---|---|
io.github.jhipster.sample.service |
Service layer beans.
|
io.github.jhipster.sample.service.mapper |
MapStruct mappers for mapping domain objects and Data Transfer Objects.
|
io.github.jhipster.sample.web.rest |
Spring MVC REST controllers.
|
io.github.jhipster.sample.web.rest.vm |
View Models used by Spring MVC REST controllers.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Page<UserDTO> |
UserService.getAllManagedUsers(org.springframework.data.domain.Pageable pageable) |
java.util.Optional<UserDTO> |
UserService.updateUser(UserDTO userDTO)
Update all information for a specific user, and return the modified user.
|
Modifier and Type | Method and Description |
---|---|
User |
UserService.createUser(UserDTO userDTO) |
User |
UserService.registerUser(UserDTO userDTO,
java.lang.String password) |
java.util.Optional<UserDTO> |
UserService.updateUser(UserDTO userDTO)
Update all information for a specific user, and return the modified user.
|
Modifier and Type | Method and Description |
---|---|
UserDTO |
UserMapper.userToUserDTO(User user) |
Modifier and Type | Method and Description |
---|---|
java.util.List<UserDTO> |
UserMapper.usersToUserDTOs(java.util.List<User> users) |
Modifier and Type | Method and Description |
---|---|
User |
UserMapper.userDTOToUser(UserDTO userDTO) |
Modifier and Type | Method and Description |
---|---|
java.util.List<User> |
UserMapper.userDTOsToUsers(java.util.List<UserDTO> userDTOs) |
Modifier and Type | Method and Description |
---|---|
UserDTO |
AccountResource.getAccount()
GET /account : get the current user.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<java.util.List<UserDTO>> |
UserResource.getAllUsers(org.springframework.data.domain.Pageable pageable)
GET /users : get all users.
|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.getUser(java.lang.String login)
GET /users/:login : get the "login" user.
|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.updateUser(UserDTO userDTO)
PUT /users : Updates an existing User.
|
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<User> |
UserResource.createUser(UserDTO userDTO)
POST /users : Creates a new user.
|
void |
AccountResource.saveAccount(UserDTO userDTO)
POST /account : update the current user information.
|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.updateUser(UserDTO userDTO)
PUT /users : Updates an existing User.
|
Modifier and Type | Class and Description |
---|---|
class |
ManagedUserVM
View Model extending the UserDTO, which is meant to be used in the user management UI.
|
Copyright © 2017 Osgiliath. All rights reserved.