Class ExternalTaskQueryDto
java.lang.Object
org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
org.camunda.bpm.engine.rest.dto.AbstractQueryDto<ExternalTaskQuery>
org.camunda.bpm.engine.rest.dto.externaltask.ExternalTaskQueryDto
- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescriptionprotected Boolean
protected String
protected String
protected String
protected Boolean
protected Date
protected Date
protected Boolean
protected Boolean
protected Long
protected Long
protected String
protected String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
protected Boolean
protected String
protected Boolean
protected String
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
ConstructorDescriptionExternalTaskQueryDto
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, jakarta.ws.rs.core.MultivaluedMap<String, String> queryParameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
void
setActivityId
(String activityId) void
setActivityIdIn
(List<String> activityIdIn) void
setExecutionId
(String executionId) void
setExternalTaskId
(String externalTaskId) void
setExternalTaskIdIn
(Set<String> externalTaskIds) void
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
setProcessInstanceIdIn
(List<String> processInstanceIdIn) void
setSuspended
(Boolean suspended) void
setTenantIdIn
(List<String> tenantIds) void
setTopicName
(String topicName) void
setWithRetriesLeft
(Boolean withRetriesLeft) void
setWorkerId
(String workerId) 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 Details
-
SORT_BY_ID_VALUE
- See Also:
-
SORT_BY_LOCK_EXPIRATION_TIME
- See Also:
-
SORT_BY_PROCESS_INSTANCE_ID
- See Also:
-
SORT_BY_PROCESS_DEFINITION_ID
- See Also:
-
SORT_BY_PROCESS_DEFINITION_KEY
- See Also:
-
SORT_BY_TENANT_ID
- See Also:
-
SORT_BY_PRIORITY
- See Also:
-
VALID_SORT_BY_VALUES
-
externalTaskId
-
externalTaskIds
-
activityId
-
activityIdIn
-
lockExpirationBefore
-
lockExpirationAfter
-
topicName
-
locked
-
notLocked
-
executionId
-
processInstanceId
-
processInstanceIdIn
-
processDefinitionId
-
active
-
suspended
-
withRetriesLeft
-
noRetriesLeft
-
workerId
-
tenantIds
-
priorityHigherThanOrEquals
-
priorityLowerThanOrEquals
-
-
Constructor Details
-
ExternalTaskQueryDto
public ExternalTaskQueryDto() -
ExternalTaskQueryDto
-
-
Method Details
-
setExternalTaskId
-
setExternalTaskIdIn
-
setActivityId
-
setActivityIdIn
-
setLockExpirationBefore
-
setLockExpirationAfter
-
setTopicName
-
setLocked
-
setNotLocked
-
setExecutionId
-
setProcessInstanceId
-
setProcessInstanceIdIn
-
getProcessDefinitionId
-
setProcessDefinitionId
-
setActive
-
setSuspended
-
setWithRetriesLeft
-
setNoRetriesLeft
-
setWorkerId
-
setTenantIdIn
-
setPriorityHigherThanOrEquals
-
setPriorityLowerThanOrEquals
-
isValidSortByValue
- Specified by:
isValidSortByValue
in classAbstractQueryDto<ExternalTaskQuery>
-
createNewQuery
- Specified by:
createNewQuery
in classAbstractQueryDto<ExternalTaskQuery>
-
applyFilters
- Specified by:
applyFilters
in classAbstractQueryDto<ExternalTaskQuery>
-
applySortBy
protected void applySortBy(ExternalTaskQuery query, String sortBy, Map<String, Object> parameters, ProcessEngine engine) - Specified by:
applySortBy
in classAbstractQueryDto<ExternalTaskQuery>
-