public class GroupRestServiceImpl extends AbstractAuthorizedRestResource implements GroupRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
GroupRestServiceImpl(String engineName,
org.codehaus.jackson.map.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
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) |
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
public GroupRestServiceImpl(String engineName, org.codehaus.jackson.map.ObjectMapper objectMapper)
public GroupResource getGroup(String id)
getGroup
in interface GroupRestService
public List<GroupDto> queryGroups(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
queryGroups
in interface GroupRestService
public List<GroupDto> queryGroups(GroupQueryDto queryDto, Integer firstResult, Integer maxResults)
public CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
getGroupCount
in interface GroupRestService
protected CountResultDto getGroupCount(GroupQueryDto queryDto)
public void createGroup(GroupDto groupDto)
createGroup
in interface GroupRestService
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface GroupRestService
protected List<Group> executePaginatedQuery(GroupQuery query, Integer firstResult, Integer maxResults)
protected IdentityService getIdentityService()
Copyright © 2018. All rights reserved.