Class ProcessInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<ProcessInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.ProcessInstanceQueryDto
-
public class ProcessInstanceQueryDto extends AbstractQueryDto<ProcessInstanceQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Boolean
variableNamesIgnoreCase
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 ProcessInstanceQueryDto()
ProcessInstanceQueryDto(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(ProcessInstanceQuery query)
protected void
applySortBy(ProcessInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected ProcessInstanceQuery
createNewQuery(ProcessEngine engine)
java.util.List<java.lang.String>
getActivityIds()
java.lang.String
getBusinessKey()
java.lang.String
getBusinessKeyLike()
java.lang.String
getCaseInstanceId()
java.lang.String
getDeploymentId()
java.lang.String
getIncidentId()
java.lang.String
getIncidentMessage()
java.lang.String
getIncidentMessageLike()
java.lang.String
getIncidentType()
java.util.List<ProcessInstanceQueryDto>
getOrQueries()
java.lang.String
getProcessDefinitionId()
java.lang.String
getProcessDefinitionKey()
java.util.List<java.lang.String>
getProcessDefinitionKeyNotIn()
java.util.List<java.lang.String>
getProcessDefinitionKeys()
java.util.Set<java.lang.String>
getProcessInstanceIds()
java.lang.String
getSubCaseInstance()
java.lang.String
getSubProcessInstance()
java.lang.String
getSuperCaseInstance()
java.lang.String
getSuperProcessInstance()
java.util.List<java.lang.String>
getTenantIdIn()
java.util.List<VariableQueryParameterDto>
getVariables()
java.lang.Boolean
isActive()
java.lang.Boolean
isLeafProcessInstances()
java.lang.Boolean
isProcessDefinitionWithoutTenantId()
java.lang.Boolean
isRootProcessInstances()
java.lang.Boolean
isSuspended()
protected boolean
isValidSortByValue(java.lang.String value)
java.lang.Boolean
isVariableNamesIgnoreCase()
java.lang.Boolean
isVariableValuesIgnoreCase()
java.lang.Boolean
isWithIncident()
java.lang.Boolean
isWithoutTenantId()
void
setActive(java.lang.Boolean active)
void
setActivityIdIn(java.util.List<java.lang.String> activityIds)
void
setBusinessKey(java.lang.String businessKey)
void
setBusinessKeyLike(java.lang.String businessKeyLike)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setDeploymentId(java.lang.String deploymentId)
void
setIncidentId(java.lang.String incidentId)
void
setIncidentMessage(java.lang.String incidentMessage)
void
setIncidentMessageLike(java.lang.String incidentMessageLike)
void
setIncidentType(java.lang.String incidentType)
void
setLeafProcessInstances(java.lang.Boolean leafProcessInstances)
void
setOrQueries(java.util.List<ProcessInstanceQueryDto> orQueries)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setProcessDefinitionKeyIn(java.util.List<java.lang.String> processDefinitionKeys)
void
setProcessDefinitionKeyNotIn(java.util.List<java.lang.String> processDefinitionKeys)
void
setProcessDefinitionWithoutTenantId(java.lang.Boolean isProcessDefinitionWithoutTenantId)
void
setProcessInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
void
setRootProcessInstances(java.lang.Boolean rootProcessInstances)
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
setSuspended(java.lang.Boolean suspended)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesCaseInsensitive)
void
setVariables(java.util.List<VariableQueryParameterDto> variables)
void
setVariableValuesIgnoreCase(java.lang.Boolean variableValuesCaseInsensitive)
void
setWithIncident(java.lang.Boolean withIncident)
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
-
-
-
-
Method Detail
-
setOrQueries
public void setOrQueries(java.util.List<ProcessInstanceQueryDto> orQueries)
-
getProcessInstanceIds
public java.util.Set<java.lang.String> getProcessInstanceIds()
-
setProcessInstanceIds
public void setProcessInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
-
getDeploymentId
public java.lang.String getDeploymentId()
-
setDeploymentId
public void setDeploymentId(java.lang.String deploymentId)
-
getProcessDefinitionKey
public java.lang.String getProcessDefinitionKey()
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
getProcessDefinitionKeys
public java.util.List<java.lang.String> getProcessDefinitionKeys()
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(java.util.List<java.lang.String> processDefinitionKeys)
-
getProcessDefinitionKeyNotIn
public java.util.List<java.lang.String> getProcessDefinitionKeyNotIn()
-
setProcessDefinitionKeyNotIn
public void setProcessDefinitionKeyNotIn(java.util.List<java.lang.String> processDefinitionKeys)
-
getBusinessKey
public java.lang.String getBusinessKey()
-
setBusinessKey
public void setBusinessKey(java.lang.String businessKey)
-
getBusinessKeyLike
public java.lang.String getBusinessKeyLike()
-
setBusinessKeyLike
public void setBusinessKeyLike(java.lang.String businessKeyLike)
-
getCaseInstanceId
public java.lang.String getCaseInstanceId()
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
getSuperProcessInstance
public java.lang.String getSuperProcessInstance()
-
setSuperProcessInstance
public void setSuperProcessInstance(java.lang.String superProcessInstance)
-
getSubProcessInstance
public java.lang.String getSubProcessInstance()
-
setSubProcessInstance
public void setSubProcessInstance(java.lang.String subProcessInstance)
-
getSuperCaseInstance
public java.lang.String getSuperCaseInstance()
-
setSuperCaseInstance
public void setSuperCaseInstance(java.lang.String superCaseInstance)
-
getSubCaseInstance
public java.lang.String getSubCaseInstance()
-
setSubCaseInstance
public void setSubCaseInstance(java.lang.String subCaseInstance)
-
isActive
public java.lang.Boolean isActive()
-
setActive
public void setActive(java.lang.Boolean active)
-
isSuspended
public java.lang.Boolean isSuspended()
-
setSuspended
public void setSuspended(java.lang.Boolean suspended)
-
getVariables
public java.util.List<VariableQueryParameterDto> getVariables()
-
setVariables
public void setVariables(java.util.List<VariableQueryParameterDto> variables)
-
isVariableNamesIgnoreCase
public java.lang.Boolean isVariableNamesIgnoreCase()
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesCaseInsensitive)
-
isVariableValuesIgnoreCase
public java.lang.Boolean isVariableValuesIgnoreCase()
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesCaseInsensitive)
-
isWithIncident
public java.lang.Boolean isWithIncident()
-
setWithIncident
public void setWithIncident(java.lang.Boolean withIncident)
-
getIncidentId
public java.lang.String getIncidentId()
-
setIncidentId
public void setIncidentId(java.lang.String incidentId)
-
getIncidentType
public java.lang.String getIncidentType()
-
setIncidentType
public void setIncidentType(java.lang.String incidentType)
-
getIncidentMessage
public java.lang.String getIncidentMessage()
-
setIncidentMessage
public void setIncidentMessage(java.lang.String incidentMessage)
-
getIncidentMessageLike
public java.lang.String getIncidentMessageLike()
-
setIncidentMessageLike
public void setIncidentMessageLike(java.lang.String incidentMessageLike)
-
getTenantIdIn
public java.util.List<java.lang.String> getTenantIdIn()
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
isWithoutTenantId
public java.lang.Boolean isWithoutTenantId()
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
getActivityIds
public java.util.List<java.lang.String> getActivityIds()
-
setActivityIdIn
public void setActivityIdIn(java.util.List<java.lang.String> activityIds)
-
isRootProcessInstances
public java.lang.Boolean isRootProcessInstances()
-
setRootProcessInstances
public void setRootProcessInstances(java.lang.Boolean rootProcessInstances)
-
isLeafProcessInstances
public java.lang.Boolean isLeafProcessInstances()
-
setLeafProcessInstances
public void setLeafProcessInstances(java.lang.Boolean leafProcessInstances)
-
isProcessDefinitionWithoutTenantId
public java.lang.Boolean isProcessDefinitionWithoutTenantId()
-
setProcessDefinitionWithoutTenantId
public void setProcessDefinitionWithoutTenantId(java.lang.Boolean isProcessDefinitionWithoutTenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<ProcessInstanceQuery>
-
createNewQuery
protected ProcessInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<ProcessInstanceQuery>
-
getOrQueries
public java.util.List<ProcessInstanceQueryDto> getOrQueries()
-
applyFilters
protected void applyFilters(ProcessInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<ProcessInstanceQuery>
-
applySortBy
protected void applySortBy(ProcessInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<ProcessInstanceQuery>
-
-