Package org.camunda.bpm.engine.rest.impl
Class UserRestServiceImpl
- java.lang.Object
-
- 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 interface org.camunda.bpm.engine.rest.UserRestService
PATH
-
-
Constructor Summary
Constructors Constructor Description UserRestServiceImpl(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 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)
-
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
-
-
-
-
Constructor Detail
-
UserRestServiceImpl
public UserRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Detail
-
getUser
public UserResource getUser(String id)
- Specified by:
getUser
in interfaceUserRestService
-
queryUsers
public List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
- Specified by:
queryUsers
in interfaceUserRestService
-
queryUsers
public List<UserProfileDto> queryUsers(UserQueryDto queryDto, Integer firstResult, 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
-
getIdentityService
protected IdentityService getIdentityService()
-
-