Package org.camunda.bpm.engine.rest.impl
Class UserRestServiceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
-
- org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
-
- org.camunda.bpm.engine.rest.impl.UserRestServiceImpl
-
- All Implemented Interfaces:
UserRestService
public class UserRestServiceImpl extends AbstractAuthorizedRestResource implements UserRestService
- Author:
- Daniel Meyer
-
-
Field Summary
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
resource, resourceId
-
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
-
Fields inherited from class org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
processEngine
-
Fields inherited from interface org.camunda.bpm.engine.rest.UserRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description UserRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceOptionsDto
availableOperations(javax.ws.rs.core.UriInfo context)
void
createUser(UserDto userDto)
protected java.util.List<User>
executePaginatedQuery(UserQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
protected IdentityService
getIdentityService()
UserResource
getUser(java.lang.String id)
CountResultDto
getUserCount(javax.ws.rs.core.UriInfo uriInfo)
protected CountResultDto
getUserCount(UserQueryDto queryDto)
java.util.List<UserProfileDto>
queryUsers(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
java.util.List<UserProfileDto>
queryUsers(UserQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
isAuthorized, isAuthorized, isAuthorized
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getUser
public UserResource getUser(java.lang.String id)
- Specified by:
getUser
in interfaceUserRestService
-
queryUsers
public java.util.List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryUsers
in interfaceUserRestService
-
queryUsers
public java.util.List<UserProfileDto> queryUsers(UserQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getUserCount
public CountResultDto getUserCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getUserCount
in interfaceUserRestService
-
getUserCount
protected CountResultDto getUserCount(UserQueryDto queryDto)
-
createUser
public void createUser(UserDto userDto)
- Specified by:
createUser
in interfaceUserRestService
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations
in interfaceUserRestService
-
executePaginatedQuery
protected java.util.List<User> executePaginatedQuery(UserQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getIdentityService
protected IdentityService getIdentityService()
-
-