Class HistoricCaseInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricCaseInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricCaseInstanceQueryDto
-
public class HistoricCaseInstanceQueryDto extends AbstractQueryDto<HistoricCaseInstanceQuery>
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Boolean
active
java.util.List<java.lang.String>
caseActivityIdIn
java.lang.String
caseDefinitionId
java.lang.String
caseDefinitionKey
java.util.List<java.lang.String>
caseDefinitionKeyNotIn
java.lang.String
caseDefinitionName
java.lang.String
caseDefinitionNameLike
java.lang.String
caseInstanceBusinessKey
java.lang.String
caseInstanceBusinessKeyLike
java.lang.String
caseInstanceId
java.util.Set<java.lang.String>
caseInstanceIds
java.lang.Boolean
closed
java.util.Date
closedAfter
java.util.Date
closedBefore
java.lang.Boolean
completed
java.util.Date
createdAfter
java.util.Date
createdBefore
java.lang.String
createdBy
java.lang.Boolean
notClosed
static java.lang.String
SORT_BY_CASE_DEFINITION_ID_VALUE
static java.lang.String
SORT_BY_CASE_INSTANCE_BUSINESS_KEY_VALUE
static java.lang.String
SORT_BY_CASE_INSTANCE_CLOSE_TIME_VALUE
static java.lang.String
SORT_BY_CASE_INSTANCE_CREATE_TIME_VALUE
static java.lang.String
SORT_BY_CASE_INSTANCE_DURATION_VALUE
static java.lang.String
SORT_BY_CASE_INSTANCE_ID_VALUE
java.lang.String
subCaseInstanceId
java.lang.String
superCaseInstanceId
java.lang.Boolean
terminated
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 HistoricCaseInstanceQueryDto()
HistoricCaseInstanceQueryDto(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(HistoricCaseInstanceQuery query)
protected void
applySortBy(HistoricCaseInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricCaseInstanceQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setCaseActivityIdIn(java.util.List<java.lang.String> caseActivityIdIn)
void
setCaseDefinitionId(java.lang.String caseDefinitionId)
void
setCaseDefinitionKey(java.lang.String caseDefinitionKey)
void
setCaseDefinitionKeyNotIn(java.util.List<java.lang.String> caseDefinitionKeys)
void
setCaseDefinitionName(java.lang.String caseDefinitionName)
void
setCaseDefinitionNameLike(java.lang.String caseDefinitionNameLike)
void
setCaseInstanceBusinessKey(java.lang.String caseInstanceBusinessKey)
void
setCaseInstanceBusinessKeyLike(java.lang.String caseInstanceBusinessKeyLike)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setCaseInstanceIds(java.util.Set<java.lang.String> caseInstanceIds)
void
setClosed(java.lang.Boolean closed)
void
setClosedAfter(java.util.Date closedAfter)
void
setClosedBefore(java.util.Date closedBefore)
void
setCompleted(java.lang.Boolean completed)
void
setCreatedAfter(java.util.Date createdAfter)
void
setCreatedBefore(java.util.Date createdBefore)
void
setCreatedBy(java.lang.String createdBy)
void
setNotClosed(java.lang.Boolean notClosed)
void
setSubCaseInstanceId(java.lang.String subCaseInstanceId)
void
setSubProcessInstanceId(java.lang.String subProcessInstanceId)
void
setSuperCaseInstanceId(java.lang.String superCaseInstanceId)
void
setSuperProcessInstanceId(java.lang.String superProcessInstanceId)
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_CASE_INSTANCE_ID_VALUE
public static final java.lang.String SORT_BY_CASE_INSTANCE_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_CASE_DEFINITION_ID_VALUE
public static final java.lang.String SORT_BY_CASE_DEFINITION_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_CASE_INSTANCE_BUSINESS_KEY_VALUE
public static final java.lang.String SORT_BY_CASE_INSTANCE_BUSINESS_KEY_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_CASE_INSTANCE_CREATE_TIME_VALUE
public static final java.lang.String SORT_BY_CASE_INSTANCE_CREATE_TIME_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_CASE_INSTANCE_CLOSE_TIME_VALUE
public static final java.lang.String SORT_BY_CASE_INSTANCE_CLOSE_TIME_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_CASE_INSTANCE_DURATION_VALUE
public static final java.lang.String SORT_BY_CASE_INSTANCE_DURATION_VALUE
- See Also:
- Constant Field Values
-
VALID_SORT_BY_VALUES
public static final java.util.List<java.lang.String> VALID_SORT_BY_VALUES
-
caseInstanceId
public java.lang.String caseInstanceId
-
caseInstanceIds
public java.util.Set<java.lang.String> caseInstanceIds
-
caseDefinitionId
public java.lang.String caseDefinitionId
-
caseDefinitionKey
public java.lang.String caseDefinitionKey
-
caseDefinitionName
public java.lang.String caseDefinitionName
-
caseDefinitionNameLike
public java.lang.String caseDefinitionNameLike
-
caseDefinitionKeyNotIn
public java.util.List<java.lang.String> caseDefinitionKeyNotIn
-
caseInstanceBusinessKey
public java.lang.String caseInstanceBusinessKey
-
caseInstanceBusinessKeyLike
public java.lang.String caseInstanceBusinessKeyLike
-
superCaseInstanceId
public java.lang.String superCaseInstanceId
-
subCaseInstanceId
public java.lang.String subCaseInstanceId
-
createdBy
public java.lang.String createdBy
-
caseActivityIdIn
public java.util.List<java.lang.String> caseActivityIdIn
-
createdBefore
public java.util.Date createdBefore
-
createdAfter
public java.util.Date createdAfter
-
closedBefore
public java.util.Date closedBefore
-
closedAfter
public java.util.Date closedAfter
-
active
public java.lang.Boolean active
-
completed
public java.lang.Boolean completed
-
terminated
public java.lang.Boolean terminated
-
closed
public java.lang.Boolean closed
-
notClosed
public java.lang.Boolean notClosed
-
variables
protected java.util.List<VariableQueryParameterDto> variables
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
-
Method Detail
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
setCaseInstanceIds
public void setCaseInstanceIds(java.util.Set<java.lang.String> caseInstanceIds)
-
setCaseDefinitionId
public void setCaseDefinitionId(java.lang.String caseDefinitionId)
-
setCaseDefinitionName
public void setCaseDefinitionName(java.lang.String caseDefinitionName)
-
setCaseDefinitionNameLike
public void setCaseDefinitionNameLike(java.lang.String caseDefinitionNameLike)
-
setCaseDefinitionKey
public void setCaseDefinitionKey(java.lang.String caseDefinitionKey)
-
setCaseDefinitionKeyNotIn
public void setCaseDefinitionKeyNotIn(java.util.List<java.lang.String> caseDefinitionKeys)
-
setCaseInstanceBusinessKey
public void setCaseInstanceBusinessKey(java.lang.String caseInstanceBusinessKey)
-
setCaseInstanceBusinessKeyLike
public void setCaseInstanceBusinessKeyLike(java.lang.String caseInstanceBusinessKeyLike)
-
setSuperCaseInstanceId
public void setSuperCaseInstanceId(java.lang.String superCaseInstanceId)
-
setSubCaseInstanceId
public void setSubCaseInstanceId(java.lang.String subCaseInstanceId)
-
setSuperProcessInstanceId
public void setSuperProcessInstanceId(java.lang.String superProcessInstanceId)
-
setSubProcessInstanceId
public void setSubProcessInstanceId(java.lang.String subProcessInstanceId)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setCreatedBy
public void setCreatedBy(java.lang.String createdBy)
-
setCreatedBefore
public void setCreatedBefore(java.util.Date createdBefore)
-
setCreatedAfter
public void setCreatedAfter(java.util.Date createdAfter)
-
setClosedBefore
public void setClosedBefore(java.util.Date closedBefore)
-
setClosedAfter
public void setClosedAfter(java.util.Date closedAfter)
-
setActive
public void setActive(java.lang.Boolean active)
-
setCompleted
public void setCompleted(java.lang.Boolean completed)
-
setTerminated
public void setTerminated(java.lang.Boolean terminated)
-
setClosed
public void setClosed(java.lang.Boolean closed)
-
setNotClosed
public void setNotClosed(java.lang.Boolean notClosed)
-
setVariables
public void setVariables(java.util.List<VariableQueryParameterDto> variables)
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
-
setCaseActivityIdIn
public void setCaseActivityIdIn(java.util.List<java.lang.String> caseActivityIdIn)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricCaseInstanceQuery>
-
createNewQuery
protected HistoricCaseInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricCaseInstanceQuery>
-
applyFilters
protected void applyFilters(HistoricCaseInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricCaseInstanceQuery>
-
applySortBy
protected void applySortBy(HistoricCaseInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricCaseInstanceQuery>
-
-