Class VariableInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<VariableInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.VariableInstanceQueryDto
-
public class VariableInstanceQueryDto extends AbstractQueryDto<VariableInstanceQuery>
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
activityInstanceIdIn
protected java.lang.String[]
batchIdIn
protected java.lang.String[]
caseExecutionIdIn
protected java.lang.String[]
caseInstanceIdIn
protected java.lang.String[]
executionIdIn
protected java.lang.String[]
processInstanceIdIn
protected java.lang.String[]
taskIdIn
protected java.lang.String
variableName
protected java.lang.String
variableNameLike
protected java.lang.Boolean
variableNamesIgnoreCase
protected java.lang.String[]
variableScopeIdIn
protected java.util.List<VariableQueryParameterDto>
variableValues
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 VariableInstanceQueryDto()
VariableInstanceQueryDto(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(VariableInstanceQuery query)
protected void
applySortBy(VariableInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected VariableInstanceQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActivityInstanceIdIn(java.lang.String[] activityInstanceIdIn)
void
setBatchIdIn(java.lang.String[] batchIdIn)
void
setCaseExecutionIdIn(java.lang.String[] caseExecutionIdIn)
void
setCaseInstanceIdIn(java.lang.String[] caseInstanceIdIn)
void
setExecutionIdIn(java.lang.String[] executionIdIn)
void
setProcessInstanceIdIn(java.lang.String[] processInstanceIdIn)
void
setTaskIdIn(java.lang.String[] taskIdIn)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setVariableName(java.lang.String variableName)
void
setVariableNameLike(java.lang.String variableNameLike)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
void
setVariableScopeIdIn(java.lang.String[] variableScopeIdIn)
void
setVariableValues(java.util.List<VariableQueryParameterDto> variableValues)
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
-
variableName
protected java.lang.String variableName
-
variableNameLike
protected java.lang.String variableNameLike
-
variableValues
protected java.util.List<VariableQueryParameterDto> variableValues
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
executionIdIn
protected java.lang.String[] executionIdIn
-
processInstanceIdIn
protected java.lang.String[] processInstanceIdIn
-
caseExecutionIdIn
protected java.lang.String[] caseExecutionIdIn
-
caseInstanceIdIn
protected java.lang.String[] caseInstanceIdIn
-
taskIdIn
protected java.lang.String[] taskIdIn
-
batchIdIn
protected java.lang.String[] batchIdIn
-
variableScopeIdIn
protected java.lang.String[] variableScopeIdIn
-
activityInstanceIdIn
protected java.lang.String[] activityInstanceIdIn
-
-
Method Detail
-
setVariableName
public void setVariableName(java.lang.String variableName)
-
setVariableNameLike
public void setVariableNameLike(java.lang.String variableNameLike)
-
setVariableValues
public void setVariableValues(java.util.List<VariableQueryParameterDto> variableValues)
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
setExecutionIdIn
public void setExecutionIdIn(java.lang.String[] executionIdIn)
-
setProcessInstanceIdIn
public void setProcessInstanceIdIn(java.lang.String[] processInstanceIdIn)
-
setCaseExecutionIdIn
public void setCaseExecutionIdIn(java.lang.String[] caseExecutionIdIn)
-
setCaseInstanceIdIn
public void setCaseInstanceIdIn(java.lang.String[] caseInstanceIdIn)
-
setTaskIdIn
public void setTaskIdIn(java.lang.String[] taskIdIn)
-
setBatchIdIn
public void setBatchIdIn(java.lang.String[] batchIdIn)
-
setVariableScopeIdIn
public void setVariableScopeIdIn(java.lang.String[] variableScopeIdIn)
-
setActivityInstanceIdIn
public void setActivityInstanceIdIn(java.lang.String[] activityInstanceIdIn)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<VariableInstanceQuery>
-
createNewQuery
protected VariableInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<VariableInstanceQuery>
-
applyFilters
protected void applyFilters(VariableInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<VariableInstanceQuery>
-
applySortBy
protected void applySortBy(VariableInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<VariableInstanceQuery>
-
-