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
-
public class ExternalTaskQueryDto extends AbstractQueryDto<ExternalTaskQuery>
- Author:
- Thorben Lindhauer
-
-
Field Summary
-
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 ExternalTaskQueryDto()
ExternalTaskQueryDto(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
-
SORT_BY_ID_VALUE
public static final String SORT_BY_ID_VALUE
- See Also:
- Constant Field Values
-
SORT_BY_LOCK_EXPIRATION_TIME
public static final String SORT_BY_LOCK_EXPIRATION_TIME
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_INSTANCE_ID
public static final String SORT_BY_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_DEFINITION_ID
public static final String SORT_BY_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SORT_BY_PROCESS_DEFINITION_KEY
public static final String SORT_BY_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SORT_BY_TENANT_ID
public static final String SORT_BY_TENANT_ID
- See Also:
- Constant Field Values
-
SORT_BY_PRIORITY
public static final String SORT_BY_PRIORITY
- See Also:
- Constant Field Values
-
externalTaskId
protected String externalTaskId
-
activityId
protected String activityId
-
lockExpirationBefore
protected Date lockExpirationBefore
-
lockExpirationAfter
protected Date lockExpirationAfter
-
topicName
protected String topicName
-
locked
protected Boolean locked
-
notLocked
protected Boolean notLocked
-
executionId
protected String executionId
-
processInstanceId
protected String processInstanceId
-
processDefinitionId
protected String processDefinitionId
-
active
protected Boolean active
-
suspended
protected Boolean suspended
-
withRetriesLeft
protected Boolean withRetriesLeft
-
noRetriesLeft
protected Boolean noRetriesLeft
-
workerId
protected String workerId
-
priorityHigherThanOrEquals
protected Long priorityHigherThanOrEquals
-
priorityLowerThanOrEquals
protected Long priorityLowerThanOrEquals
-
-
Method Detail
-
setExternalTaskId
public void setExternalTaskId(String externalTaskId)
-
setActivityId
public void setActivityId(String activityId)
-
setLockExpirationBefore
public void setLockExpirationBefore(Date lockExpirationBefore)
-
setLockExpirationAfter
public void setLockExpirationAfter(Date lockExpirationAfter)
-
setTopicName
public void setTopicName(String topicName)
-
setLocked
public void setLocked(Boolean locked)
-
setNotLocked
public void setNotLocked(Boolean notLocked)
-
setExecutionId
public void setExecutionId(String executionId)
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
setActive
public void setActive(Boolean active)
-
setSuspended
public void setSuspended(Boolean suspended)
-
setWithRetriesLeft
public void setWithRetriesLeft(Boolean withRetriesLeft)
-
setNoRetriesLeft
public void setNoRetriesLeft(Boolean noRetriesLeft)
-
setWorkerId
public void setWorkerId(String workerId)
-
setPriorityHigherThanOrEquals
public void setPriorityHigherThanOrEquals(Long priorityHigherThanOrEquals)
-
setPriorityLowerThanOrEquals
public void setPriorityLowerThanOrEquals(Long priorityLowerThanOrEquals)
-
isValidSortByValue
protected boolean isValidSortByValue(String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<ExternalTaskQuery>
-
createNewQuery
protected ExternalTaskQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<ExternalTaskQuery>
-
applyFilters
protected void applyFilters(ExternalTaskQuery query)
- 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>
-
-