Class IncidentQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<IncidentQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.IncidentQueryDto
-
public class IncidentQueryDto extends AbstractQueryDto<IncidentQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected String
activityId
protected String
causeIncidentId
protected String
configuration
protected String
executionId
protected String
failedActivityId
protected String
incidentId
protected String
incidentMessage
protected String
incidentMessageLike
protected Date
incidentTimestampAfter
protected Date
incidentTimestampBefore
protected String
incidentType
protected List<String>
jobDefinitionIds
protected String
processDefinitionId
protected String[]
processDefinitionKeyIn
protected String
processInstanceId
protected String
rootCauseIncidentId
protected List<String>
tenantIds
-
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 IncidentQueryDto()
IncidentQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(IncidentQuery query)
protected void
applySortBy(IncidentQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
protected IncidentQuery
createNewQuery(ProcessEngine engine)
protected boolean
isValidSortByValue(String value)
void
setActivityId(String activityId)
void
setCauseIncidentId(String causeIncidentId)
void
setConfiguration(String configuration)
void
setExecutionId(String executionId)
void
setFailedActivityId(String activityId)
void
setIncidentId(String incidentId)
void
setIncidentMessage(String incidentMessage)
void
setIncidentMessageLike(String incidentMessageLike)
void
setIncidentTimestampAfter(Date incidentTimestampAfter)
void
setIncidentTimestampBefore(Date incidentTimestampBefore)
void
setIncidentType(String incidentType)
void
setJobDefinitionIdIn(List<String> jobDefinitionIds)
void
setProcessDefinitionId(String processDefinitionId)
void
setProcessDefinitionKeyIn(String[] processDefinitionKeyIn)
void
setProcessInstanceId(String processInstanceId)
void
setRootCauseIncidentId(String rootCauseIncidentId)
void
setTenantIdIn(List<String> tenantIds)
-
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 String incidentId
-
incidentType
protected String incidentType
-
incidentMessage
protected String incidentMessage
-
incidentMessageLike
protected String incidentMessageLike
-
processDefinitionId
protected String processDefinitionId
-
processDefinitionKeyIn
protected String[] processDefinitionKeyIn
-
processInstanceId
protected String processInstanceId
-
executionId
protected String executionId
-
incidentTimestampBefore
protected Date incidentTimestampBefore
-
incidentTimestampAfter
protected Date incidentTimestampAfter
-
activityId
protected String activityId
-
failedActivityId
protected String failedActivityId
-
causeIncidentId
protected String causeIncidentId
-
rootCauseIncidentId
protected String rootCauseIncidentId
-
configuration
protected String configuration
-
-
Method Detail
-
setIncidentId
public void setIncidentId(String incidentId)
-
setIncidentType
public void setIncidentType(String incidentType)
-
setIncidentMessage
public void setIncidentMessage(String incidentMessage)
-
setIncidentMessageLike
public void setIncidentMessageLike(String incidentMessageLike)
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(String[] processDefinitionKeyIn)
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
setExecutionId
public void setExecutionId(String executionId)
-
setIncidentTimestampAfter
public void setIncidentTimestampAfter(Date incidentTimestampAfter)
-
setIncidentTimestampBefore
public void setIncidentTimestampBefore(Date incidentTimestampBefore)
-
setActivityId
public void setActivityId(String activityId)
-
setFailedActivityId
public void setFailedActivityId(String activityId)
-
setCauseIncidentId
public void setCauseIncidentId(String causeIncidentId)
-
setRootCauseIncidentId
public void setRootCauseIncidentId(String rootCauseIncidentId)
-
setConfiguration
public void setConfiguration(String configuration)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<IncidentQuery>
-
createNewQuery
protected IncidentQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<IncidentQuery>
-
applyFilters
protected void applyFilters(IncidentQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<IncidentQuery>
-
applySortBy
protected void applySortBy(IncidentQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<IncidentQuery>
-
-