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 static String |
SORT_BY_DEFINITION_ID_VALUE |
protected static String |
SORT_BY_DEFINITION_KEY_VALUE |
protected static String |
SORT_BY_INSTANCE_ID_VALUE |
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, sortOrder
Constructor and Description |
---|
CaseInstanceQueryDto() |
CaseInstanceQueryDto(org.codehaus.jackson.map.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(CaseInstanceQuery query) |
protected void |
applySortingOptions(CaseInstanceQuery query) |
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 |
setTerminated(Boolean terminated) |
void |
setVariables(List<VariableQueryParameterDto> variables) |
setObjectMapper, setSortBy, setSortOrder, setValueBasedOnAnnotation, sortOptionsValid, 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 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 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 applySortingOptions(CaseInstanceQuery query)
applySortingOptions
in class AbstractQueryDto<CaseInstanceQuery>
Copyright © 2018. All rights reserved.