Package org.camunda.bpm.engine.rest.impl
Class GroupRestServiceImpl
- 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.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
Constructors Constructor Description GroupRestServiceImpl(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
createGroup(GroupDto groupDto)
protected java.util.List<Group>
executePaginatedQuery(GroupQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
GroupResource
getGroup(java.lang.String id)
CountResultDto
getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
protected IdentityService
getIdentityService()
CountResultDto
queryGroupCount(GroupQueryDto queryDto)
java.util.List<GroupDto>
queryGroups(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
java.util.List<GroupDto>
queryGroups(GroupQueryDto 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
-
getGroup
public GroupResource getGroup(java.lang.String id)
- Specified by:
getGroup
in interfaceGroupRestService
-
queryGroups
public java.util.List<GroupDto> queryGroups(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryGroups
in interfaceGroupRestService
-
queryGroups
public java.util.List<GroupDto> queryGroups(GroupQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryGroups
in interfaceGroupRestService
-
getGroupCount
public CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getGroupCount
in interfaceGroupRestService
-
queryGroupCount
public CountResultDto queryGroupCount(GroupQueryDto queryDto)
- Specified by:
queryGroupCount
in interfaceGroupRestService
-
createGroup
public void createGroup(GroupDto groupDto)
- Specified by:
createGroup
in interfaceGroupRestService
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperations
in interfaceGroupRestService
-
executePaginatedQuery
protected java.util.List<Group> executePaginatedQuery(GroupQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getIdentityService
protected IdentityService getIdentityService()
-
-