public class UserRestServiceImpl extends AbstractAuthorizedRestResource implements UserRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
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, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public UserRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public UserResource getUser(String id)
getUser
in interface UserRestService
public List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryUsers
in interface UserRestService
public List<UserProfileDto> queryUsers(UserQueryDto queryDto, Integer firstResult, Integer maxResults)
public CountResultDto getUserCount(javax.ws.rs.core.UriInfo uriInfo)
getUserCount
in interface UserRestService
protected CountResultDto getUserCount(UserQueryDto queryDto)
public void createUser(UserDto userDto)
createUser
in interface UserRestService
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface UserRestService
protected List<User> executePaginatedQuery(UserQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2021. All rights reserved.