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 ResourceOptionsDtoavailableOperations(javax.ws.rs.core.UriInfo context)voidcreateUser(UserDto userDto)protected java.util.List<User>executePaginatedQuery(UserQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)protected IdentityServicegetIdentityService()UserResourcegetUser(java.lang.String id)CountResultDtogetUserCount(javax.ws.rs.core.UriInfo uriInfo)protected CountResultDtogetUserCount(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:
getUserin interfaceUserRestService
-
queryUsers
public java.util.List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryUsersin 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:
getUserCountin interfaceUserRestService
-
getUserCount
protected CountResultDto getUserCount(UserQueryDto queryDto)
-
createUser
public void createUser(UserDto userDto)
- Specified by:
createUserin interfaceUserRestService
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperationsin interfaceUserRestService
-
executePaginatedQuery
protected java.util.List<User> executePaginatedQuery(UserQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getIdentityService
protected IdentityService getIdentityService()
-
-