Class HistoricIncidentQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricIncidentQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricIncidentQueryDto
-
public class HistoricIncidentQueryDto extends AbstractQueryDto<HistoricIncidentQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
activityId
protected java.lang.String
causeIncidentId
protected java.lang.String
configuration
protected java.util.Date
createTimeAfter
protected java.util.Date
createTimeBefore
protected java.lang.Boolean
deleted
protected java.util.Date
endTimeAfter
protected java.util.Date
endTimeBefore
protected java.lang.String
executionId
protected java.lang.String
failedActivityId
protected java.lang.String
historyConfiguration
protected java.lang.String
incidentId
protected java.lang.String
incidentMessage
protected java.lang.String
incidentMessageLike
protected java.lang.String
incidentType
protected java.util.List<java.lang.String>
jobDefinitionIds
protected java.lang.Boolean
open
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String[]
processDefinitionKeyIn
protected java.lang.String
processInstanceId
protected java.lang.Boolean
resolved
protected java.lang.String
rootCauseIncidentId
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Boolean
withoutTenantId
-
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 HistoricIncidentQueryDto()
HistoricIncidentQueryDto(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(HistoricIncidentQuery query)
protected void
applySortBy(HistoricIncidentQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricIncidentQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(java.lang.String value)
void
setActivityId(java.lang.String activityId)
void
setCauseIncidentId(java.lang.String causeIncidentId)
void
setConfiguration(java.lang.String configuration)
void
setCreateTimeAfter(java.util.Date createTimeAfter)
void
setCreateTimeBefore(java.util.Date createTimeBefore)
void
setDeleted(java.lang.Boolean deleted)
void
setEndTimeAfter(java.util.Date endTimeAfter)
void
setEndTimeBefore(java.util.Date endTimeBefore)
void
setExecutionId(java.lang.String executionId)
void
setFailedActivityId(java.lang.String activityId)
void
setHistoryConfiguration(java.lang.String historyConfiguration)
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
setJobDefinitionIdIn(java.util.List<java.lang.String> jobDefinitionIds)
void
setOpen(java.lang.Boolean open)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setProcessDefinitionKeyIn(java.lang.String[] processDefinitionKeyIn)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setResolved(java.lang.Boolean resolved)
void
setRootCauseIncidentId(java.lang.String rootCauseIncidentId)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
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
-
-
-
-
Field Detail
-
incidentId
protected java.lang.String incidentId
-
incidentType
protected java.lang.String incidentType
-
incidentMessage
protected java.lang.String incidentMessage
-
incidentMessageLike
protected java.lang.String incidentMessageLike
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionKeyIn
protected java.lang.String[] processDefinitionKeyIn
-
processInstanceId
protected java.lang.String processInstanceId
-
executionId
protected java.lang.String executionId
-
createTimeBefore
protected java.util.Date createTimeBefore
-
createTimeAfter
protected java.util.Date createTimeAfter
-
endTimeBefore
protected java.util.Date endTimeBefore
-
endTimeAfter
protected java.util.Date endTimeAfter
-
activityId
protected java.lang.String activityId
-
failedActivityId
protected java.lang.String failedActivityId
-
causeIncidentId
protected java.lang.String causeIncidentId
-
rootCauseIncidentId
protected java.lang.String rootCauseIncidentId
-
configuration
protected java.lang.String configuration
-
historyConfiguration
protected java.lang.String historyConfiguration
-
open
protected java.lang.Boolean open
-
resolved
protected java.lang.Boolean resolved
-
deleted
protected java.lang.Boolean deleted
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
jobDefinitionIds
protected java.util.List<java.lang.String> jobDefinitionIds
-
-
Method Detail
-
setIncidentId
public void setIncidentId(java.lang.String incidentId)
-
setIncidentType
public void setIncidentType(java.lang.String incidentType)
-
setIncidentMessage
public void setIncidentMessage(java.lang.String incidentMessage)
-
setIncidentMessageLike
public void setIncidentMessageLike(java.lang.String incidentMessageLike)
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(java.lang.String[] processDefinitionKeyIn)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
-
setCreateTimeBefore
public void setCreateTimeBefore(java.util.Date createTimeBefore)
-
setCreateTimeAfter
public void setCreateTimeAfter(java.util.Date createTimeAfter)
-
setEndTimeBefore
public void setEndTimeBefore(java.util.Date endTimeBefore)
-
setEndTimeAfter
public void setEndTimeAfter(java.util.Date endTimeAfter)
-
setActivityId
public void setActivityId(java.lang.String activityId)
-
setFailedActivityId
public void setFailedActivityId(java.lang.String activityId)
-
setCauseIncidentId
public void setCauseIncidentId(java.lang.String causeIncidentId)
-
setRootCauseIncidentId
public void setRootCauseIncidentId(java.lang.String rootCauseIncidentId)
-
setConfiguration
public void setConfiguration(java.lang.String configuration)
-
setHistoryConfiguration
public void setHistoryConfiguration(java.lang.String historyConfiguration)
-
setOpen
public void setOpen(java.lang.Boolean open)
-
setResolved
public void setResolved(java.lang.Boolean resolved)
-
setDeleted
public void setDeleted(java.lang.Boolean deleted)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setJobDefinitionIdIn
public void setJobDefinitionIdIn(java.util.List<java.lang.String> jobDefinitionIds)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricIncidentQuery>
-
createNewQuery
protected HistoricIncidentQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricIncidentQuery>
-
applyFilters
protected void applyFilters(HistoricIncidentQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricIncidentQuery>
-
applySortBy
protected void applySortBy(HistoricIncidentQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricIncidentQuery>
-
-