public class CaseInstanceQueryDto extends AbstractQueryDto<CaseInstanceQuery>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
active |
protected String |
businessKey |
protected String |
caseDefinitionId |
protected String |
caseDefinitionKey |
protected String |
caseInstanceId |
protected Boolean |
completed |
protected String |
deploymentId |
protected static String |
SORT_BY_DEFINITION_ID_VALUE |
protected static String |
SORT_BY_DEFINITION_KEY_VALUE |
protected static String |
SORT_BY_INSTANCE_ID_VALUE |
protected String |
subCaseInstance |
protected String |
subProcessInstance |
protected String |
superCaseInstance |
protected String |
superProcessInstance |
protected Boolean |
terminated |
protected static List<String> |
VALID_SORT_BY_VALUES |
protected List<VariableQueryParameterDto> |
variables |
expressions, objectMapper, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
Constructor and Description |
---|
CaseInstanceQueryDto() |
CaseInstanceQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(CaseInstanceQuery query) |
protected void |
applySortBy(CaseInstanceQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected CaseInstanceQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setActive(Boolean active) |
void |
setBusinessKey(String businessKey) |
void |
setCaseDefinitionId(String caseDefinitionId) |
void |
setCaseDefinitionKey(String caseDefinitionKey) |
void |
setCaseInstanceId(String caseInstanceId) |
void |
setCompleted(Boolean completed) |
void |
setDeploymentId(String deploymentId) |
void |
setSubCaseInstance(String subCaseInstance) |
void |
setSubProcessInstance(String subProcessInstance) |
void |
setSuperCaseInstance(String superCaseInstance) |
void |
setSuperProcessInstance(String superProcessInstance) |
void |
setTerminated(Boolean terminated) |
void |
setVariables(List<VariableQueryParameterDto> variables) |
applySortingOptions, applySortOrder, getSorting, setObjectMapper, setSortBy, setSorting, setSortOrder, setValueBasedOnAnnotation, sortOptionsValid, sortOrderValueForDirection, toQuery
protected static final String SORT_BY_INSTANCE_ID_VALUE
protected static final String SORT_BY_DEFINITION_KEY_VALUE
protected static final String SORT_BY_DEFINITION_ID_VALUE
protected String caseInstanceId
protected String businessKey
protected String caseDefinitionKey
protected String caseDefinitionId
protected String deploymentId
protected String superProcessInstance
protected String subProcessInstance
protected String superCaseInstance
protected String subCaseInstance
protected Boolean active
protected Boolean completed
protected Boolean terminated
protected List<VariableQueryParameterDto> variables
public void setCaseInstanceId(String caseInstanceId)
public void setBusinessKey(String businessKey)
public void setCaseDefinitionKey(String caseDefinitionKey)
public void setCaseDefinitionId(String caseDefinitionId)
public void setDeploymentId(String deploymentId)
public void setSuperProcessInstance(String superProcessInstance)
public void setSubProcessInstance(String subProcessInstance)
public void setSuperCaseInstance(String superCaseInstance)
public void setSubCaseInstance(String subCaseInstance)
public void setActive(Boolean active)
public void setCompleted(Boolean completed)
public void setTerminated(Boolean terminated)
public void setVariables(List<VariableQueryParameterDto> variables)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<CaseInstanceQuery>
protected CaseInstanceQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<CaseInstanceQuery>
protected void applyFilters(CaseInstanceQuery query)
applyFilters
in class AbstractQueryDto<CaseInstanceQuery>
protected void applySortBy(CaseInstanceQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<CaseInstanceQuery>
Copyright © 2018. All rights reserved.