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

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.GroupRestServiceImpl
All Implemented Interfaces:
GroupRestService

public class GroupRestServiceImpl
extends AbstractAuthorizedRestResource
implements GroupRestService

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.GroupRestService
PATH
 
Constructor Summary
GroupRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
           
 
Method Summary
 ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
           
 void createGroup(GroupDto groupDto)
           
protected  List<Group> executePaginatedQuery(GroupQuery query, Integer firstResult, Integer maxResults)
           
 GroupResource getGroup(String id)
           
protected  CountResultDto getGroupCount(GroupQueryDto queryDto)
           
 CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
           
protected  IdentityService getIdentityService()
           
 List<GroupDto> queryGroups(GroupQueryDto queryDto, Integer firstResult, Integer maxResults)
           
 List<GroupDto> queryGroups(javax.ws.rs.core.UriInfo uriInfo, 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

GroupRestServiceImpl

public GroupRestServiceImpl(String engineName,
                            com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Method Detail

getGroup

public GroupResource getGroup(String id)
Specified by:
getGroup in interface GroupRestService

queryGroups

public List<GroupDto> queryGroups(javax.ws.rs.core.UriInfo uriInfo,
                                  Integer firstResult,
                                  Integer maxResults)
Specified by:
queryGroups in interface GroupRestService

queryGroups

public List<GroupDto> queryGroups(GroupQueryDto queryDto,
                                  Integer firstResult,
                                  Integer maxResults)

getGroupCount

public CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
Specified by:
getGroupCount in interface GroupRestService

getGroupCount

protected CountResultDto getGroupCount(GroupQueryDto queryDto)

createGroup

public void createGroup(GroupDto groupDto)
Specified by:
createGroup in interface GroupRestService

availableOperations

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

executePaginatedQuery

protected List<Group> executePaginatedQuery(GroupQuery query,
                                            Integer firstResult,
                                            Integer maxResults)

getIdentityService

protected IdentityService getIdentityService()


Copyright © 2016 camunda services GmbH. All rights reserved.