Class AuthorizationQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<AuthorizationQuery>
-
- org.camunda.bpm.engine.rest.dto.authorization.AuthorizationQueryDto
-
public class AuthorizationQueryDto extends AbstractQueryDto<AuthorizationQuery>
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
groupIdIn
protected java.lang.String
id
protected java.lang.String
resourceId
protected java.lang.Integer
resourceType
protected java.lang.Integer
type
protected java.lang.String[]
userIdIn
-
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 AuthorizationQueryDto()
AuthorizationQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(AuthorizationQuery query)
protected void
applySortBy(AuthorizationQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected AuthorizationQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setGroupIdIn(java.lang.String[] groupIdIn)
void
setId(java.lang.String id)
void
setResourceId(java.lang.String resourceId)
void
setResourceType(int resourceType)
void
setType(java.lang.Integer type)
void
setUserIdIn(java.lang.String[] userIdIn)
-
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(java.lang.String id)
-
setType
public void setType(java.lang.Integer type)
-
setUserIdIn
public void setUserIdIn(java.lang.String[] userIdIn)
-
setGroupIdIn
public void setGroupIdIn(java.lang.String[] groupIdIn)
-
setResourceType
public void setResourceType(int resourceType)
-
setResourceId
public void setResourceId(java.lang.String resourceId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<AuthorizationQuery>
-
createNewQuery
protected AuthorizationQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<AuthorizationQuery>
-
applyFilters
protected void applyFilters(AuthorizationQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<AuthorizationQuery>
-
applySortBy
protected void applySortBy(AuthorizationQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<AuthorizationQuery>
-
-