public class GroupRestServiceImpl extends AbstractAuthorizedRestResource implements GroupRestService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
PATH
Constructor and Description |
---|
GroupRestServiceImpl(String engineName,
com.fasterxml.jackson.databind.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) |
CountResultDto |
getGroupCount(javax.ws.rs.core.UriInfo uriInfo) |
protected IdentityService |
getIdentityService() |
CountResultDto |
queryGroupCount(GroupQueryDto queryDto) |
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, com.fasterxml.jackson.databind.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)
queryGroups
in interface GroupRestService
public CountResultDto getGroupCount(javax.ws.rs.core.UriInfo uriInfo)
getGroupCount
in interface GroupRestService
public CountResultDto queryGroupCount(GroupQueryDto queryDto)
queryGroupCount
in interface GroupRestService
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 © 2021. All rights reserved.