org.camunda.bpm.engine.rest.impl
Class UserRestServiceImpl

java.lang.Object
  extended by org.camunda.bpm.engine.rest.spi.impl.AbstractProcessEngineAware
      extended by org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
          extended by org.camunda.bpm.engine.rest.impl.AbstractAuthorizedRestResource
              extended by 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
UserRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 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)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface UserRestService

queryUsers

public List<UserProfileDto> queryUsers(javax.ws.rs.core.UriInfo uriInfo,
                                       Integer firstResult,
                                       Integer maxResults)
Specified by:
queryUsers in interface UserRestService

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 interface UserRestService

getUserCount

protected CountResultDto getUserCount(UserQueryDto queryDto)

createUser

public void createUser(UserDto userDto)
Specified by:
createUser in interface UserRestService

availableOperations

public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
Specified by:
availableOperations in interface UserRestService

executePaginatedQuery

protected List<User> executePaginatedQuery(UserQuery query,
                                           Integer firstResult,
                                           Integer maxResults)

getIdentityService

protected IdentityService getIdentityService()


Copyright © 2016 camunda services GmbH. All rights reserved.