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 ResourceOptionsDtoavailableOperations(javax.ws.rs.core.UriInfo context)voidcreateGroup(GroupDto groupDto)protected java.util.List<Group>executePaginatedQuery(GroupQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)GroupResourcegetGroup(java.lang.String id)CountResultDtogetGroupCount(javax.ws.rs.core.UriInfo uriInfo)protected IdentityServicegetIdentityService()CountResultDtoqueryGroupCount(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:
getGroupin interfaceGroupRestService
-
queryGroups
public java.util.List<GroupDto> queryGroups(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryGroupsin interfaceGroupRestService
-
queryGroups
public java.util.List<GroupDto> queryGroups(GroupQueryDto queryDto, java.lang.Integer firstResult, java.lang.Integer maxResults)
- Specified by:
queryGroupsin interfaceGroupRestService
-
getGroupCount
public CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getGroupCountin interfaceGroupRestService
-
queryGroupCount
public CountResultDto queryGroupCount(GroupQueryDto queryDto)
- Specified by:
queryGroupCountin interfaceGroupRestService
-
createGroup
public void createGroup(GroupDto groupDto)
- Specified by:
createGroupin interfaceGroupRestService
-
availableOperations
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
- Specified by:
availableOperationsin interfaceGroupRestService
-
executePaginatedQuery
protected java.util.List<Group> executePaginatedQuery(GroupQuery query, java.lang.Integer firstResult, java.lang.Integer maxResults)
-
getIdentityService
protected IdentityService getIdentityService()
-
-