Class GroupQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<GroupQuery>
-
- org.camunda.bpm.engine.rest.dto.identity.GroupQueryDto
-
public class GroupQueryDto extends AbstractQueryDto<GroupQuery>
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
id
protected String[]
ids
protected String
member
protected String
name
protected String
nameLike
protected String
tenantId
protected String
type
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
-
Fields inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
objectMapper
-
-
Constructor Summary
Constructors Constructor Description GroupQueryDto()
GroupQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(GroupQuery query)
protected void
applySortBy(GroupQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
protected GroupQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(String value)
void
setId(String groupId)
void
setIdIn(String[] groupIds)
void
setMember(String member)
void
setMemberOfTenant(String tenantId)
void
setName(String groupName)
void
setNameLike(String groupNameLike)
void
setType(String groupType)
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractQueryDto
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
-
Methods inherited from class org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
setObjectMapper, setValueBasedOnAnnotation
-
-
-
-
Method Detail
-
setId
public void setId(String groupId)
-
setIdIn
public void setIdIn(String[] groupIds)
-
setName
public void setName(String groupName)
-
setNameLike
public void setNameLike(String groupNameLike)
-
setType
public void setType(String groupType)
-
setMember
public void setMember(String member)
-
setMemberOfTenant
public void setMemberOfTenant(String tenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<GroupQuery>
-
createNewQuery
protected GroupQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<GroupQuery>
-
applyFilters
protected void applyFilters(GroupQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<GroupQuery>
-
applySortBy
protected void applySortBy(GroupQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<GroupQuery>
-
-