Class CaseExecutionQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<CaseExecutionQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.CaseExecutionQueryDto
-
public class CaseExecutionQueryDto extends AbstractQueryDto<CaseExecutionQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
active
protected java.lang.String
activityId
protected java.lang.String
businessKey
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseDefinitionKey
protected java.lang.String
caseExecutionId
protected java.lang.String
caseInstanceId
protected java.util.List<VariableQueryParameterDto>
caseInstanceVariables
protected java.lang.Boolean
disabled
protected java.lang.Boolean
enabled
protected java.lang.Boolean
required
protected static java.lang.String
SORT_BY_DEFINITION_ID_VALUE
protected static java.lang.String
SORT_BY_DEFINITION_KEY_VALUE
protected static java.lang.String
SORT_BY_EXECUTION_ID_VALUE
protected static java.lang.String
SORT_BY_TENANT_ID
protected java.util.List<java.lang.String>
tenantIds
protected static java.util.List<java.lang.String>
VALID_SORT_BY_VALUES
protected java.lang.Boolean
variableNamesIgnoreCase
protected java.util.List<VariableQueryParameterDto>
variables
protected java.lang.Boolean
variableValuesIgnoreCase
-
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 CaseExecutionQueryDto()
CaseExecutionQueryDto(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(CaseExecutionQuery query)
protected void
applySortBy(CaseExecutionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected CaseExecutionQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setActivityId(java.lang.String activityId)
void
setBusinessKey(java.lang.String businessKey)
void
setCaseDefinitionId(java.lang.String caseDefinitionId)
void
setCaseDefinitionKey(java.lang.String caseDefinitionKey)
void
setCaseExecutionId(java.lang.String caseExecutionId)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setCaseInstanceVariables(java.util.List<VariableQueryParameterDto> caseInstanceVariables)
void
setDisabled(java.lang.Boolean disabled)
void
setEnabled(java.lang.Boolean enabled)
void
setRequired(java.lang.Boolean required)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
void
setVariables(java.util.List<VariableQueryParameterDto> variables)
void
setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
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
-
-
-
-
Field Detail
-
SORT_BY_EXECUTION_ID_VALUE
protected static final java.lang.String SORT_BY_EXECUTION_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_DEFINITION_KEY_VALUE
protected static final java.lang.String SORT_BY_DEFINITION_KEY_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_DEFINITION_ID_VALUE
protected static final java.lang.String SORT_BY_DEFINITION_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_TENANT_ID
protected static final java.lang.String SORT_BY_TENANT_ID
- See Also:
- Constant Field Values
-
VALID_SORT_BY_VALUES
protected static final java.util.List<java.lang.String> VALID_SORT_BY_VALUES
-
caseExecutionId
protected java.lang.String caseExecutionId
-
caseDefinitionKey
protected java.lang.String caseDefinitionKey
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseInstanceId
protected java.lang.String caseInstanceId
-
businessKey
protected java.lang.String businessKey
-
activityId
protected java.lang.String activityId
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
required
protected java.lang.Boolean required
-
enabled
protected java.lang.Boolean enabled
-
active
protected java.lang.Boolean active
-
disabled
protected java.lang.Boolean disabled
-
variables
protected java.util.List<VariableQueryParameterDto> variables
-
caseInstanceVariables
protected java.util.List<VariableQueryParameterDto> caseInstanceVariables
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
-
Method Detail
-
setCaseExecutionId
public void setCaseExecutionId(java.lang.String caseExecutionId)
-
setCaseDefinitionKey
public void setCaseDefinitionKey(java.lang.String caseDefinitionKey)
-
setCaseDefinitionId
public void setCaseDefinitionId(java.lang.String caseDefinitionId)
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
setBusinessKey
public void setBusinessKey(java.lang.String businessKey)
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setRequired
public void setRequired(java.lang.Boolean required)
-
setEnabled
public void setEnabled(java.lang.Boolean enabled)
-
setActive
public void setActive(java.lang.Boolean active)
-
setDisabled
public void setDisabled(java.lang.Boolean disabled)
-
setVariables
public void setVariables(java.util.List<VariableQueryParameterDto> variables)
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
setCaseInstanceVariables
public void setCaseInstanceVariables(java.util.List<VariableQueryParameterDto> caseInstanceVariables)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<CaseExecutionQuery>
-
createNewQuery
protected CaseExecutionQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<CaseExecutionQuery>
-
applyFilters
protected void applyFilters(CaseExecutionQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<CaseExecutionQuery>
-
applySortBy
protected void applySortBy(CaseExecutionQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<CaseExecutionQuery>
-
-