| Package | Description |
|---|---|
| org.powertac.visualizer.service |
Service layer beans.
|
| org.powertac.visualizer.service.mapper |
MapStruct mappers for mapping domain objects and Data Transfer Objects.
|
| org.powertac.visualizer.web.rest |
Spring MVC REST controllers.
|
| org.powertac.visualizer.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) |
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) |
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 |
UserMapperImpl.userToUserDTO(User user) |
UserDTO |
UserMapper.userToUserDTO(User user) |
| Modifier and Type | Method and Description |
|---|---|
List<UserDTO> |
UserMapperImpl.usersToUserDTOs(List<User> users) |
List<UserDTO> |
UserMapper.usersToUserDTOs(List<User> users) |
| Modifier and Type | Method and Description |
|---|---|
User |
UserMapperImpl.userDTOToUser(UserDTO userDTO) |
User |
UserMapper.userDTOToUser(UserDTO userDTO) |
| Modifier and Type | Method and Description |
|---|---|
List<User> |
UserMapperImpl.userDTOsToUsers(List<UserDTO> userDTOs) |
List<User> |
UserMapper.userDTOsToUsers(List<UserDTO> userDTOs) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.createUser(ManagedUserVM managedUserVM)
POST /users : Creates a new user.
|
org.springframework.http.ResponseEntity<UserDTO> |
AccountResource.getAccount()
GET /account : get the current user.
|
org.springframework.http.ResponseEntity<List<UserDTO>> |
UserResource.getAllUsers(org.springframework.data.domain.Pageable pageable)
GET /users : get all users.
|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.getUser(String login)
GET /users/:login : get the "login" user.
|
org.springframework.http.ResponseEntity<UserDTO> |
UserResource.updateUser(ManagedUserVM managedUserVM)
PUT /users : Updates an existing User.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
AccountResource.saveAccount(UserDTO userDTO)
POST /account : update the current user information.
|
| 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 Power TAC. All rights reserved.