public class TenantQueryDto extends AbstractQueryDto<TenantQuery>
Modifier and Type | Field and Description |
---|---|
protected String |
groupId |
protected String |
id |
protected Boolean |
includingGroupsOfUser |
protected String |
name |
protected String |
nameLike |
protected String |
userId |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
TenantQueryDto() |
TenantQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and 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) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
protected String id
protected String name
protected String nameLike
protected String userId
protected String groupId
protected Boolean includingGroupsOfUser
public void setId(String id)
public void setName(String name)
public void setNameLike(String nameLike)
public void setUserMember(String userId)
public void setGroupMember(String groupId)
public void setIncludingGroupsOfUser(Boolean includingGroupsOfUser)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<TenantQuery>
protected TenantQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<TenantQuery>
protected void applyFilters(TenantQuery query)
applyFilters
in class AbstractQueryDto<TenantQuery>
protected void applySortBy(TenantQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<TenantQuery>
Copyright © 2019. All rights reserved.