Class TenantQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<TenantQuery>
-
- org.camunda.bpm.engine.rest.dto.identity.TenantQueryDto
-
public class TenantQueryDto extends AbstractQueryDto<TenantQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
groupId
protected String
id
protected Boolean
includingGroupsOfUser
protected String
name
protected String
nameLike
protected String
userId
-
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 TenantQueryDto()
TenantQueryDto(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(TenantQuery query)
protected void
applySortBy(TenantQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
protected TenantQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(String value)
void
setGroupMember(String groupId)
void
setId(String id)
void
setIncludingGroupsOfUser(Boolean includingGroupsOfUser)
void
setName(String name)
void
setNameLike(String nameLike)
void
setUserMember(String userId)
-
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 id)
-
setName
public void setName(String name)
-
setNameLike
public void setNameLike(String nameLike)
-
setUserMember
public void setUserMember(String userId)
-
setGroupMember
public void setGroupMember(String groupId)
-
setIncludingGroupsOfUser
public void setIncludingGroupsOfUser(Boolean includingGroupsOfUser)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<TenantQuery>
-
createNewQuery
protected TenantQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<TenantQuery>
-
applyFilters
protected void applyFilters(TenantQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<TenantQuery>
-
applySortBy
protected void applySortBy(TenantQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<TenantQuery>
-
-