Class HistoricProcessInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricProcessInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricProcessInstanceQueryDto
-
public class HistoricProcessInstanceQueryDto extends AbstractQueryDto<HistoricProcessInstanceQuery>
-
-
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 HistoricProcessInstanceQueryDto()
HistoricProcessInstanceQueryDto(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(HistoricProcessInstanceQuery query)
protected void
applySortBy(HistoricProcessInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricProcessInstanceQuery
createNewQuery(ProcessEngine engine)
java.lang.String
getIncidentType()
java.util.List<HistoricProcessInstanceQueryDto>
getOrQueries()
java.lang.String
getProcessDefinitionId()
protected boolean
isValidSortByValue(java.lang.String value)
void
setActive(java.lang.Boolean active)
void
setActiveActivityIdIn(java.util.List<java.lang.String> activeActivityIdIn)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setCompleted(java.lang.Boolean completed)
void
setExecutedActivityAfter(java.util.Date executedActivityAfter)
void
setExecutedActivityBefore(java.util.Date executedActivityBefore)
void
setExecutedActivityIdIn(java.util.List<java.lang.String> executedActivityIds)
void
setExecutedJobAfter(java.util.Date executedJobAfter)
void
setExecutedJobBefore(java.util.Date executedJobBefore)
void
setExternallyTerminated(java.lang.Boolean externallyTerminated)
void
setFinished(java.lang.Boolean finished)
void
setFinishedAfter(java.util.Date finishedAfter)
void
setFinishedBefore(java.util.Date finishedBefore)
void
setIncidentMessage(java.lang.String incidentMessage)
void
setIncidentMessageLike(java.lang.String incidentMessageLike)
void
setIncidentStatus(java.lang.String status)
void
setIncidentType(java.lang.String incidentType)
void
setInternallyTerminated(java.lang.Boolean internallyTerminated)
void
setOrQueries(java.util.List<HistoricProcessInstanceQueryDto> 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
setProcessDefinitionName(java.lang.String processDefinitionName)
void
setProcessDefinitionNameLike(java.lang.String processDefinitionNameLike)
void
setProcessInstanceBusinessKey(java.lang.String processInstanceBusinessKey)
void
setProcessInstanceBusinessKeyIn(java.util.List<java.lang.String> processInstanceBusinessKeyIn)
void
setProcessInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKeyLike)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setProcessInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
void
setRootProcessInstances(java.lang.Boolean rootProcessInstances)
void
setStartedAfter(java.util.Date startedAfter)
void
setStartedBefore(java.util.Date startedBefore)
void
setStartedBy(java.lang.String startedBy)
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
setSuspended(java.lang.Boolean suspended)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setUnfinished(java.lang.Boolean unfinished)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
void
setVariables(java.util.List<VariableQueryParameterDto> variables)
void
setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
void
setWithIncidents(java.lang.Boolean withIncidents)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
void
setWithRootIncidents(java.lang.Boolean withRootIncidents)
-
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
-
-
-
-
Constructor Detail
-
HistoricProcessInstanceQueryDto
public HistoricProcessInstanceQueryDto()
-
HistoricProcessInstanceQueryDto
public HistoricProcessInstanceQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
-
Method Detail
-
setOrQueries
public void setOrQueries(java.util.List<HistoricProcessInstanceQueryDto> orQueries)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setProcessInstanceIds
public void setProcessInstanceIds(java.util.Set<java.lang.String> processInstanceIds)
-
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionName
public void setProcessDefinitionName(java.lang.String processDefinitionName)
-
setProcessDefinitionNameLike
public void setProcessDefinitionNameLike(java.lang.String processDefinitionNameLike)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(java.util.List<java.lang.String> processDefinitionKeys)
-
setProcessDefinitionKeyNotIn
public void setProcessDefinitionKeyNotIn(java.util.List<java.lang.String> processDefinitionKeys)
-
setProcessInstanceBusinessKey
public void setProcessInstanceBusinessKey(java.lang.String processInstanceBusinessKey)
-
setProcessInstanceBusinessKeyIn
public void setProcessInstanceBusinessKeyIn(java.util.List<java.lang.String> processInstanceBusinessKeyIn)
-
setProcessInstanceBusinessKeyLike
public void setProcessInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKeyLike)
-
setRootProcessInstances
public void setRootProcessInstances(java.lang.Boolean rootProcessInstances)
-
setFinished
public void setFinished(java.lang.Boolean finished)
-
setUnfinished
public void setUnfinished(java.lang.Boolean unfinished)
-
setWithIncidents
public void setWithIncidents(java.lang.Boolean withIncidents)
-
setWithRootIncidents
public void setWithRootIncidents(java.lang.Boolean withRootIncidents)
-
setIncidentStatus
public void setIncidentStatus(java.lang.String status)
-
setIncidentMessage
public void setIncidentMessage(java.lang.String incidentMessage)
-
setIncidentMessageLike
public void setIncidentMessageLike(java.lang.String incidentMessageLike)
-
setStartedBefore
public void setStartedBefore(java.util.Date startedBefore)
-
setStartedAfter
public void setStartedAfter(java.util.Date startedAfter)
-
setFinishedBefore
public void setFinishedBefore(java.util.Date finishedBefore)
-
setFinishedAfter
public void setFinishedAfter(java.util.Date finishedAfter)
-
setStartedBy
public void setStartedBy(java.lang.String startedBy)
-
setSuperProcessInstanceId
public void setSuperProcessInstanceId(java.lang.String superProcessInstanceId)
-
setSubProcessInstanceId
public void setSubProcessInstanceId(java.lang.String subProcessInstanceId)
-
setSuperCaseInstanceId
public void setSuperCaseInstanceId(java.lang.String superCaseInstanceId)
-
setSubCaseInstanceId
public void setSubCaseInstanceId(java.lang.String subCaseInstanceId)
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
setVariables
public void setVariables(java.util.List<VariableQueryParameterDto> variables)
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
getIncidentType
public java.lang.String getIncidentType()
-
setIncidentType
public void setIncidentType(java.lang.String incidentType)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setExecutedActivityAfter
public void setExecutedActivityAfter(java.util.Date executedActivityAfter)
-
setExecutedActivityIdIn
public void setExecutedActivityIdIn(java.util.List<java.lang.String> executedActivityIds)
-
setExecutedActivityBefore
public void setExecutedActivityBefore(java.util.Date executedActivityBefore)
-
setActiveActivityIdIn
public void setActiveActivityIdIn(java.util.List<java.lang.String> activeActivityIdIn)
-
setExecutedJobAfter
public void setExecutedJobAfter(java.util.Date executedJobAfter)
-
setExecutedJobBefore
public void setExecutedJobBefore(java.util.Date executedJobBefore)
-
setActive
public void setActive(java.lang.Boolean active)
-
setSuspended
public void setSuspended(java.lang.Boolean suspended)
-
setCompleted
public void setCompleted(java.lang.Boolean completed)
-
setExternallyTerminated
public void setExternallyTerminated(java.lang.Boolean externallyTerminated)
-
setInternallyTerminated
public void setInternallyTerminated(java.lang.Boolean internallyTerminated)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricProcessInstanceQuery>
-
createNewQuery
protected HistoricProcessInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricProcessInstanceQuery>
-
getOrQueries
public java.util.List<HistoricProcessInstanceQueryDto> getOrQueries()
-
applyFilters
protected void applyFilters(HistoricProcessInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricProcessInstanceQuery>
-
applySortBy
protected void applySortBy(HistoricProcessInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricProcessInstanceQuery>
-
-