public class ExternalTaskQueryDto extends AbstractQueryDto<ExternalTaskQuery>
Modifier and Type | Field and Description |
---|---|
protected Boolean |
active |
protected String |
activityId |
protected String |
executionId |
protected String |
externalTaskId |
protected Boolean |
locked |
protected Date |
lockExpirationAfter |
protected Date |
lockExpirationBefore |
protected Boolean |
noRetriesLeft |
protected Boolean |
notLocked |
protected String |
processDefinitionId |
protected String |
processInstanceId |
static String |
SORT_BY_ID_VALUE |
static String |
SORT_BY_LOCK_EXPIRATION_TIME |
static String |
SORT_BY_PROCESS_DEFINITION_ID |
static String |
SORT_BY_PROCESS_DEFINITION_KEY |
static String |
SORT_BY_PROCESS_INSTANCE_ID |
protected Boolean |
suspended |
protected String |
topicName |
static List<String> |
VALID_SORT_BY_VALUES |
protected Boolean |
withRetriesLeft |
protected String |
workerId |
expressions, objectMapper, SORT_ORDER_ASC_VALUE, SORT_ORDER_DESC_VALUE, sortBy, sortings, sortOrder, VALID_SORT_ORDER_VALUES
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 |
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 |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setSuspended(Boolean suspended) |
void |
setTopicName(String topicName) |
void |
setWithRetriesLeft(Boolean withRetriesLeft) |
void |
setWorkerId(String workerId) |
applySortingOptions, applySortOrder, getSorting, setObjectMapper, setSortBy, setSorting, setSortOrder, setValueBasedOnAnnotation, sortOptionsValid, sortOrderValueForDirection, toQuery
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
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
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)
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.