Class JobQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<JobQuery>
-
- org.camunda.bpm.engine.rest.dto.runtime.JobQueryDto
-
public class JobQueryDto extends AbstractQueryDto<JobQuery>
-
-
Field Summary
Fields Modifier and Type Field Description protected Boolean
active
protected String
activityId
protected List<ConditionQueryParameterDto>
createTimes
protected List<ConditionQueryParameterDto>
dueDates
protected String
exceptionMessage
protected Boolean
executable
protected String
executionId
protected String
failedActivityId
protected Boolean
includeJobsWithoutTenantId
protected String
jobDefinitionId
protected String
jobId
protected Set<String>
jobIds
protected Boolean
messages
protected Boolean
noRetriesLeft
protected Long
priorityHigherThanOrEquals
protected Long
priorityLowerThanOrEquals
protected String
processDefinitionId
protected String
processDefinitionKey
protected String
processInstanceId
protected Set<String>
processInstanceIds
protected Boolean
suspended
protected List<String>
tenantIds
protected Boolean
timers
protected Boolean
withException
protected Boolean
withoutTenantId
protected Boolean
withRetriesLeft
-
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 JobQueryDto()
JobQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<String,String> queryParameters)
-
Method Summary
-
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
-
activityId
protected String activityId
-
jobId
protected String jobId
-
executionId
protected String executionId
-
processInstanceId
protected String processInstanceId
-
processDefinitionId
protected String processDefinitionId
-
processDefinitionKey
protected String processDefinitionKey
-
withRetriesLeft
protected Boolean withRetriesLeft
-
executable
protected Boolean executable
-
timers
protected Boolean timers
-
messages
protected Boolean messages
-
withException
protected Boolean withException
-
exceptionMessage
protected String exceptionMessage
-
failedActivityId
protected String failedActivityId
-
noRetriesLeft
protected Boolean noRetriesLeft
-
active
protected Boolean active
-
suspended
protected Boolean suspended
-
priorityHigherThanOrEquals
protected Long priorityHigherThanOrEquals
-
priorityLowerThanOrEquals
protected Long priorityLowerThanOrEquals
-
jobDefinitionId
protected String jobDefinitionId
-
withoutTenantId
protected Boolean withoutTenantId
-
includeJobsWithoutTenantId
protected Boolean includeJobsWithoutTenantId
-
dueDates
protected List<ConditionQueryParameterDto> dueDates
-
createTimes
protected List<ConditionQueryParameterDto> createTimes
-
-
Method Detail
-
setActivityId
public void setActivityId(String activityId)
-
setFailedActivityId
public void setFailedActivityId(String activityId)
-
setJobId
public void setJobId(String jobId)
-
setExecutionId
public void setExecutionId(String executionId)
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(String processDefinitionKey)
-
setWithRetriesLeft
public void setWithRetriesLeft(Boolean withRetriesLeft)
-
setExecutable
public void setExecutable(Boolean executable)
-
setTimers
public void setTimers(Boolean timers)
-
setWithException
public void setWithException(Boolean withException)
-
setMessages
public void setMessages(Boolean messages)
-
setExceptionMessage
public void setExceptionMessage(String exceptionMessage)
-
setDueDates
public void setDueDates(List<ConditionQueryParameterDto> dueDates)
-
setCreateTimes
public void setCreateTimes(List<ConditionQueryParameterDto> createTimes)
-
setNoRetriesLeft
public void setNoRetriesLeft(Boolean noRetriesLeft)
-
setActive
public void setActive(Boolean active)
-
setSuspended
public void setSuspended(Boolean suspended)
-
setPriorityHigherThanOrEquals
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
setPriorityLowerThanOrEquals
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
setJobDefinitionId
public void setJobDefinitionId(String jobDefinitionId)
-
setWithoutTenantId
public void setWithoutTenantId(Boolean withoutTenantId)
-
setIncludeJobsWithoutTenantId
public void setIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<JobQuery>
-
createNewQuery
protected JobQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<JobQuery>
-
applyFilters
protected void applyFilters(JobQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<JobQuery>
-
applySortBy
protected void applySortBy(JobQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<JobQuery>
-
-