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 java.lang.String
activityId
protected java.lang.String
causeIncidentId
protected java.lang.String
configuration
protected java.lang.String
executionId
protected java.lang.String
failedActivityId
protected java.lang.String
incidentId
protected java.lang.String
incidentMessage
protected java.lang.String
incidentMessageLike
protected java.util.Date
incidentTimestampAfter
protected java.util.Date
incidentTimestampBefore
protected java.lang.String
incidentType
protected java.util.List<java.lang.String>
jobDefinitionIds
protected java.lang.String
processDefinitionId
protected java.lang.String[]
processDefinitionKeyIn
protected java.lang.String
processInstanceId
protected java.lang.String
rootCauseIncidentId
protected java.util.List<java.lang.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<java.lang.String,java.lang.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, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected IncidentQuery
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
setExecutionId(java.lang.String executionId)
void
setFailedActivityId(java.lang.String activityId)
void
setIncidentId(java.lang.String incidentId)
void
setIncidentMessage(java.lang.String incidentMessage)
void
setIncidentMessageLike(java.lang.String incidentMessageLike)
void
setIncidentTimestampAfter(java.util.Date incidentTimestampAfter)
void
setIncidentTimestampBefore(java.util.Date incidentTimestampBefore)
void
setIncidentType(java.lang.String incidentType)
void
setJobDefinitionIdIn(java.util.List<java.lang.String> jobDefinitionIds)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKeyIn(java.lang.String[] processDefinitionKeyIn)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setRootCauseIncidentId(java.lang.String rootCauseIncidentId)
void
setTenantIdIn(java.util.List<java.lang.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 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
-
processDefinitionKeyIn
protected java.lang.String[] processDefinitionKeyIn
-
processInstanceId
protected java.lang.String processInstanceId
-
executionId
protected java.lang.String executionId
-
incidentTimestampBefore
protected java.util.Date incidentTimestampBefore
-
incidentTimestampAfter
protected java.util.Date incidentTimestampAfter
-
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
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
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)
-
setProcessDefinitionKeyIn
public void setProcessDefinitionKeyIn(java.lang.String[] processDefinitionKeyIn)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
-
setIncidentTimestampAfter
public void setIncidentTimestampAfter(java.util.Date incidentTimestampAfter)
-
setIncidentTimestampBefore
public void setIncidentTimestampBefore(java.util.Date incidentTimestampBefore)
-
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)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setJobDefinitionIdIn
public void setJobDefinitionIdIn(java.util.List<java.lang.String> jobDefinitionIds)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.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, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<IncidentQuery>
-
-