public class UserRestServiceImpl extends AbstractAuthorizedRestResource implements UserRestService
resource, resourceIdobjectMapper, relativeRootResourcePathprocessEnginePATH| Constructor and Description |
|---|
UserRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
createUser(UserDto userDto) |
protected List<User> |
executePaginatedQuery(UserQuery query,
Integer firstResult,
Integer maxResults) |
protected IdentityService |
getIdentityService() |
UserResource |
getUser(String id) |
CountResultDto |
getUserCount(javax.ws.rs.core.UriInfo uriInfo) |
protected CountResultDto |
getUserCount(UserQueryDto queryDto) |
List<UserProfileDto> |
queryUsers(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
List<UserProfileDto> |
queryUsers(UserQueryDto queryDto,
Integer firstResult,
Integer maxResults) |
isAuthorized, isAuthorized, isAuthorizedgetObjectMapper, getProcessEngine, setRelativeRootResourceUripublic UserRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public UserResource getUser(String id)
getUser in interface UserRestServicepublic List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryUsers in interface UserRestServicepublic List<UserProfileDto> queryUsers(UserQueryDto queryDto, Integer firstResult, Integer maxResults)
public CountResultDto getUserCount(javax.ws.rs.core.UriInfo uriInfo)
getUserCount in interface UserRestServiceprotected CountResultDto getUserCount(UserQueryDto queryDto)
public void createUser(UserDto userDto)
createUser in interface UserRestServicepublic ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations in interface UserRestServiceprotected List<User> executePaginatedQuery(UserQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2021. All rights reserved.