public class JobQueryDto extends AbstractQueryDto<JobQuery>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
active |
protected String |
activityId |
protected List<ConditionQueryParameterDto> |
dueDates |
protected String |
exceptionMessage |
protected Boolean |
executable |
protected String |
executionId |
protected Boolean |
includeJobsWithoutTenantId |
protected String |
jobDefinitionId |
protected String |
jobId |
protected Boolean |
messages |
protected Boolean |
noRetriesLeft |
protected Long |
priorityHigherThanOrEquals |
protected Long |
priorityLowerThanOrEquals |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected Boolean |
suspended |
protected List<String> |
tenantIds |
protected Boolean |
timers |
protected Boolean |
withException |
protected Boolean |
withoutTenantId |
protected Boolean |
withRetriesLeft |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
JobQueryDto() |
JobQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(JobQuery query) |
protected void |
applySortBy(JobQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected JobQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setActive(Boolean active) |
void |
setActivityId(String activityId) |
void |
setDueDates(List<ConditionQueryParameterDto> dueDates) |
void |
setExceptionMessage(String exceptionMessage) |
void |
setExecutable(Boolean executable) |
void |
setExecutionId(String executionId) |
void |
setIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId) |
void |
setJobDefinitionId(String jobDefinitionId) |
void |
setJobId(String jobId) |
void |
setMessages(Boolean messages) |
void |
setNoRetriesLeft(Boolean noRetriesLeft) |
void |
setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals) |
void |
setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals) |
void |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessDefinitionKey(String processDefinitionKey) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setSuspended(Boolean suspended) |
void |
setTenantIdIn(List<String> tenantIds) |
void |
setTimers(Boolean timers) |
void |
setWithException(Boolean withException) |
void |
setWithoutTenantId(Boolean withoutTenantId) |
void |
setWithRetriesLeft(Boolean withRetriesLeft) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
protected String activityId
protected String jobId
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected Boolean withRetriesLeft
protected Boolean executable
protected Boolean timers
protected Boolean messages
protected Boolean withException
protected String exceptionMessage
protected Boolean noRetriesLeft
protected Boolean active
protected Boolean suspended
protected Long priorityHigherThanOrEquals
protected Long priorityLowerThanOrEquals
protected String jobDefinitionId
protected Boolean withoutTenantId
protected Boolean includeJobsWithoutTenantId
protected List<ConditionQueryParameterDto> dueDates
public void setActivityId(String activityId)
public void setJobId(String jobId)
public void setExecutionId(String executionId)
public void setProcessInstanceId(String processInstanceId)
public void setProcessDefinitionId(String processDefinitionId)
public void setProcessDefinitionKey(String processDefinitionKey)
public void setWithRetriesLeft(Boolean withRetriesLeft)
public void setExecutable(Boolean executable)
public void setTimers(Boolean timers)
public void setWithException(Boolean withException)
public void setMessages(Boolean messages)
public void setExceptionMessage(String exceptionMessage)
public void setDueDates(List<ConditionQueryParameterDto> dueDates)
public void setNoRetriesLeft(Boolean noRetriesLeft)
public void setActive(Boolean active)
public void setSuspended(Boolean suspended)
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
public void setJobDefinitionId(String jobDefinitionId)
public void setWithoutTenantId(Boolean withoutTenantId)
public void setIncludeJobsWithoutTenantId(Boolean includeJobsWithoutTenantId)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<JobQuery>
protected JobQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<JobQuery>
protected void applyFilters(JobQuery query)
applyFilters
in class AbstractQueryDto<JobQuery>
protected void applySortBy(JobQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<JobQuery>
Copyright © 2019. All rights reserved.