Class CaseInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<CaseInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.CaseInstanceQueryDto
-
public class CaseInstanceQueryDto extends AbstractQueryDto<CaseInstanceQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
active
protected java.lang.String
businessKey
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseDefinitionKey
protected java.lang.String
caseInstanceId
protected java.lang.Boolean
completed
protected java.lang.String
deploymentId
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_INSTANCE_ID_VALUE
protected static java.lang.String
SORT_BY_TENANT_ID
protected java.lang.String
subCaseInstance
protected java.lang.String
subProcessInstance
protected java.lang.String
superCaseInstance
protected java.lang.String
superProcessInstance
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Boolean
terminated
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
protected java.lang.Boolean
withoutTenantId
-
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 CaseInstanceQueryDto()
CaseInstanceQueryDto(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(CaseInstanceQuery query)
protected void
applySortBy(CaseInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected CaseInstanceQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setBusinessKey(java.lang.String businessKey)
void
setCaseDefinitionId(java.lang.String caseDefinitionId)
void
setCaseDefinitionKey(java.lang.String caseDefinitionKey)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setCompleted(java.lang.Boolean completed)
void
setDeploymentId(java.lang.String deploymentId)
void
setSubCaseInstance(java.lang.String subCaseInstance)
void
setSubProcessInstance(java.lang.String subProcessInstance)
void
setSuperCaseInstance(java.lang.String superCaseInstance)
void
setSuperProcessInstance(java.lang.String superProcessInstance)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setTerminated(java.lang.Boolean terminated)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
void
setVariables(java.util.List<VariableQueryParameterDto> variables)
void
setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
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_INSTANCE_ID_VALUE
protected static final java.lang.String SORT_BY_INSTANCE_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
-
caseInstanceId
protected java.lang.String caseInstanceId
-
businessKey
protected java.lang.String businessKey
-
caseDefinitionKey
protected java.lang.String caseDefinitionKey
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
deploymentId
protected java.lang.String deploymentId
-
superProcessInstance
protected java.lang.String superProcessInstance
-
subProcessInstance
protected java.lang.String subProcessInstance
-
superCaseInstance
protected java.lang.String superCaseInstance
-
subCaseInstance
protected java.lang.String subCaseInstance
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
active
protected java.lang.Boolean active
-
completed
protected java.lang.Boolean completed
-
terminated
protected java.lang.Boolean terminated
-
variables
protected java.util.List<VariableQueryParameterDto> variables
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
-
Method Detail
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
setBusinessKey
public void setBusinessKey(java.lang.String businessKey)
-
setCaseDefinitionKey
public void setCaseDefinitionKey(java.lang.String caseDefinitionKey)
-
setCaseDefinitionId
public void setCaseDefinitionId(java.lang.String caseDefinitionId)
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
-
setSuperProcessInstance
public void setSuperProcessInstance(java.lang.String superProcessInstance)
-
setSubProcessInstance
public void setSubProcessInstance(java.lang.String subProcessInstance)
-
setSuperCaseInstance
public void setSuperCaseInstance(java.lang.String superCaseInstance)
-
setSubCaseInstance
public void setSubCaseInstance(java.lang.String subCaseInstance)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setActive
public void setActive(java.lang.Boolean active)
-
setCompleted
public void setCompleted(java.lang.Boolean completed)
-
setTerminated
public void setTerminated(java.lang.Boolean terminated)
-
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)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<CaseInstanceQuery>
-
createNewQuery
protected CaseInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<CaseInstanceQuery>
-
applyFilters
protected void applyFilters(CaseInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<CaseInstanceQuery>
-
applySortBy
protected void applySortBy(CaseInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<CaseInstanceQuery>
-
-