public class ExternalTaskQueryDto extends AbstractQueryDto<ExternalTaskQuery>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
active |
protected String |
activityId |
protected List<String> |
activityIdIn |
protected String |
executionId |
protected String |
externalTaskId |
protected Boolean |
locked |
protected Date |
lockExpirationAfter |
protected Date |
lockExpirationBefore |
protected Boolean |
noRetriesLeft |
protected Boolean |
notLocked |
protected Long |
priorityHigherThanOrEquals |
protected Long |
priorityLowerThanOrEquals |
protected String |
processDefinitionId |
protected String |
processInstanceId |
static String |
SORT_BY_ID_VALUE |
static String |
SORT_BY_LOCK_EXPIRATION_TIME |
static String |
SORT_BY_PRIORITY |
static String |
SORT_BY_PROCESS_DEFINITION_ID |
static String |
SORT_BY_PROCESS_DEFINITION_KEY |
static String |
SORT_BY_PROCESS_INSTANCE_ID |
static String |
SORT_BY_TENANT_ID |
protected Boolean |
suspended |
protected List<String> |
tenantIds |
protected String |
topicName |
static List<String> |
VALID_SORT_BY_VALUES |
protected Boolean |
withRetriesLeft |
protected String |
workerId |
expressions, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
objectMapper
Constructor and Description |
---|
ExternalTaskQueryDto() |
ExternalTaskQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
javax.ws.rs.core.MultivaluedMap<String,String> queryParameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyFilters(ExternalTaskQuery query) |
protected void |
applySortBy(ExternalTaskQuery query,
String sortBy,
Map<String,Object> parameters,
ProcessEngine engine) |
protected ExternalTaskQuery |
createNewQuery(ProcessEngine engine) |
protected boolean |
isValidSortByValue(String value) |
void |
setActive(Boolean active) |
void |
setActivityId(String activityId) |
void |
setActivityIdIn(List<String> activityIdIn) |
void |
setExecutionId(String executionId) |
void |
setExternalTaskId(String externalTaskId) |
void |
setLocked(Boolean locked) |
void |
setLockExpirationAfter(Date lockExpirationAfter) |
void |
setLockExpirationBefore(Date lockExpirationBefore) |
void |
setNoRetriesLeft(Boolean noRetriesLeft) |
void |
setNotLocked(Boolean notLocked) |
void |
setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals) |
void |
setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals) |
void |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setSuspended(Boolean suspended) |
void |
setTenantIdIn(List<String> tenantIds) |
void |
setTopicName(String topicName) |
void |
setWithRetriesLeft(Boolean withRetriesLeft) |
void |
setWorkerId(String workerId) |
applySortingOptions, applySortOrder, getSorting, setSortBy, setSorting, setSortOrder, sortOptionsValid, sortOrderValueForDirection, toQuery
setObjectMapper, setValueBasedOnAnnotation
public static final String SORT_BY_ID_VALUE
public static final String SORT_BY_LOCK_EXPIRATION_TIME
public static final String SORT_BY_PROCESS_INSTANCE_ID
public static final String SORT_BY_PROCESS_DEFINITION_ID
public static final String SORT_BY_PROCESS_DEFINITION_KEY
public static final String SORT_BY_TENANT_ID
public static final String SORT_BY_PRIORITY
protected String externalTaskId
protected String activityId
protected Date lockExpirationBefore
protected Date lockExpirationAfter
protected String topicName
protected Boolean locked
protected Boolean notLocked
protected String executionId
protected String processInstanceId
protected String processDefinitionId
protected Boolean active
protected Boolean suspended
protected Boolean withRetriesLeft
protected Boolean noRetriesLeft
protected String workerId
protected Long priorityHigherThanOrEquals
protected Long priorityLowerThanOrEquals
public void setExternalTaskId(String externalTaskId)
public void setActivityId(String activityId)
public void setLockExpirationBefore(Date lockExpirationBefore)
public void setLockExpirationAfter(Date lockExpirationAfter)
public void setTopicName(String topicName)
public void setLocked(Boolean locked)
public void setNotLocked(Boolean notLocked)
public void setExecutionId(String executionId)
public void setProcessInstanceId(String processInstanceId)
public void setProcessDefinitionId(String processDefinitionId)
public void setActive(Boolean active)
public void setSuspended(Boolean suspended)
public void setWithRetriesLeft(Boolean withRetriesLeft)
public void setNoRetriesLeft(Boolean noRetriesLeft)
public void setWorkerId(String workerId)
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
protected boolean isValidSortByValue(String value)
isValidSortByValue
in class AbstractQueryDto<ExternalTaskQuery>
protected ExternalTaskQuery createNewQuery(ProcessEngine engine)
createNewQuery
in class AbstractQueryDto<ExternalTaskQuery>
protected void applyFilters(ExternalTaskQuery query)
applyFilters
in class AbstractQueryDto<ExternalTaskQuery>
protected void applySortBy(ExternalTaskQuery query, String sortBy, Map<String,Object> parameters, ProcessEngine engine)
applySortBy
in class AbstractQueryDto<ExternalTaskQuery>
Copyright © 2018. All rights reserved.