public class AuthorizationQueryDto extends AbstractQueryDto<AuthorizationQuery>
Modifier and Type | Field and Description |
---|---|
protected String[] |
groupIdIn |
protected String |
id |
protected String |
resourceId |
protected Integer |
resourceType |
protected Integer |
type |
protected String[] |
userIdIn |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
AuthorizationQueryDto() |
AuthorizationQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(AuthorizationQuery query) |
protected void |
applySortBy(AuthorizationQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected AuthorizationQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setGroupIdIn(String[] groupIdIn) |
void |
setId(String id) |
void |
setResourceId(String resourceId) |
void |
setResourceType(int resourceType) |
void |
setType(Integer type) |
void |
setUserIdIn(String[] userIdIn) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
protected String id
protected Integer type
protected String[] userIdIn
protected String[] groupIdIn
protected Integer resourceType
protected String resourceId
public void setId(String id)
public void setType(Integer type)
public void setUserIdIn(String[] userIdIn)
public void setGroupIdIn(String[] groupIdIn)
public void setResourceType(int resourceType)
public void setResourceId(String resourceId)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<AuthorizationQuery>
protected AuthorizationQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<AuthorizationQuery>
protected void applyFilters(AuthorizationQuery query)
applyFilters
in class AbstractQueryDto<AuthorizationQuery>
protected void applySortBy(AuthorizationQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<AuthorizationQuery>
Copyright © 2017. All rights reserved.