Class HistoricTaskInstanceQueryDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.AbstractSearchQueryDto
-
- org.camunda.bpm.engine.rest.dto.AbstractQueryDto<HistoricTaskInstanceQuery>
-
- org.camunda.bpm.engine.rest.dto.history.HistoricTaskInstanceQueryDto
-
public class HistoricTaskInstanceQueryDto extends AbstractQueryDto<HistoricTaskInstanceQuery>
- Author:
- Roman Smirnov
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]
activityInstanceIdIn
protected java.lang.Boolean
assigned
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseDefinitionKey
protected java.lang.String
caseDefinitionName
protected java.lang.String
caseExecutionId
protected java.lang.String
caseInstanceId
protected java.lang.String
executionId
protected java.lang.Boolean
finished
protected java.util.Date
finishedAfter
protected java.util.Date
finishedBefore
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String
processDefinitionName
protected java.lang.Boolean
processFinished
protected java.lang.String
processInstanceBusinessKey
protected java.lang.String[]
processInstanceBusinessKeyIn
protected java.lang.String
processInstanceBusinessKeyLike
protected java.lang.String
processInstanceId
protected java.lang.Boolean
processUnfinished
protected java.util.List<VariableQueryParameterDto>
processVariables
protected java.util.Date
startedAfter
protected java.util.Date
startedBefore
protected java.lang.String
taskAssignee
protected java.lang.String
taskAssigneeLike
protected java.lang.String
taskDefinitionKey
protected java.lang.String[]
taskDefinitionKeyIn
protected java.lang.String
taskDeleteReason
protected java.lang.String
taskDeleteReasonLike
protected java.lang.String
taskDescription
protected java.lang.String
taskDescriptionLike
protected java.util.Date
taskDueDate
protected java.util.Date
taskDueDateAfter
protected java.util.Date
taskDueDateBefore
protected java.util.Date
taskFollowUpDate
protected java.util.Date
taskFollowUpDateAfter
protected java.util.Date
taskFollowUpDateBefore
protected java.lang.String
taskHadCandidateGroup
protected java.lang.String
taskHadCandidateUser
protected java.lang.String
taskId
protected java.lang.String
taskInvolvedGroup
protected java.lang.String
taskInvolvedUser
protected java.lang.String
taskName
protected java.lang.String
taskNameLike
protected java.lang.String
taskOwner
protected java.lang.String
taskOwnerLike
protected java.lang.String
taskParentTaskId
protected java.lang.Integer
taskPriority
protected java.util.List<VariableQueryParameterDto>
taskVariables
protected java.util.List<java.lang.String>
tenantIds
protected java.lang.Boolean
unassigned
protected java.lang.Boolean
unfinished
protected java.lang.Boolean
variableNamesIgnoreCase
protected java.lang.Boolean
variableValuesIgnoreCase
protected java.lang.Boolean
withCandidateGroups
protected java.lang.Boolean
withoutCandidateGroups
protected java.lang.Boolean
withoutTaskDueDate
protected java.lang.Boolean
withoutTenantId
-
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 HistoricTaskInstanceQueryDto()
HistoricTaskInstanceQueryDto(com.fasterxml.jackson.databind.ObjectMapper objectMapper, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> queryParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
applyFilters(HistoricTaskInstanceQuery query)
protected void
applySortBy(HistoricTaskInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
protected HistoricTaskInstanceQuery
createNewQuery(ProcessEngine engine)
java.util.List<HistoricTaskInstanceQueryDto>
getOrQueries()
protected boolean
isValidSortByValue(java.lang.String value)
void
setActivityInstanceIdIn(java.lang.String[] activityInstanceIdIn)
void
setAssigned(java.lang.Boolean assigned)
void
setCaseDefinitionId(java.lang.String caseDefinitionId)
void
setCaseDefinitionKey(java.lang.String caseDefinitionKey)
void
setCaseDefinitionName(java.lang.String caseDefinitionName)
void
setCaseExecutionId(java.lang.String caseExecutionId)
void
setCaseInstanceId(java.lang.String caseInstanceId)
void
setExecutionId(java.lang.String executionId)
void
setFinished(java.lang.Boolean finished)
void
setFinishedAfter(java.util.Date finishedAfter)
void
setFinishedBefore(java.util.Date finishedBefore)
void
setOrQueries(java.util.List<HistoricTaskInstanceQueryDto> orQueries)
void
setProcessDefinitionId(java.lang.String processDefinitionId)
void
setProcessDefinitionKey(java.lang.String processDefinitionKey)
void
setProcessDefinitionName(java.lang.String processDefinitionName)
void
setProcessFinished(java.lang.Boolean processFinished)
void
setProcessInstanceBusinessKey(java.lang.String businessKey)
void
setProcessInstanceBusinessKeyIn(java.lang.String[] processInstanceBusinessKeyIn)
void
setProcessInstanceBusinessKeyLike(java.lang.String businessKeyLike)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setProcessUnfinished(java.lang.Boolean processUnfinished)
void
setProcessVariables(java.util.List<VariableQueryParameterDto> processVariables)
void
setStartedAfter(java.util.Date startedAfter)
void
setStartedBefore(java.util.Date startedBefore)
void
setTaskAssignee(java.lang.String taskAssignee)
void
setTaskAssigneeLike(java.lang.String taskAssigneeLike)
void
setTaskDefinitionKey(java.lang.String taskDefinitionKey)
void
setTaskDefinitionKeyIn(java.lang.String[] taskDefinitionKeyIn)
void
setTaskDeleteReason(java.lang.String taskDeleteReason)
void
setTaskDeleteReasonLike(java.lang.String taskDeleteReasonLike)
void
setTaskDescription(java.lang.String taskDescription)
void
setTaskDescriptionLike(java.lang.String taskDescriptionLike)
void
setTaskDueDate(java.util.Date taskDueDate)
void
setTaskDueDateAfter(java.util.Date taskDueDateAfter)
void
setTaskDueDateBefore(java.util.Date taskDueDateBefore)
void
setTaskFollowUpDate(java.util.Date taskFollowUpDate)
void
setTaskFollowUpDateAfter(java.util.Date taskFollowUpDateAfter)
void
setTaskFollowUpDateBefore(java.util.Date taskFollowUpDateBefore)
void
setTaskHadCandidateGroup(java.lang.String taskHadCandidateGroup)
void
setTaskHadCandidateUser(java.lang.String taskHadCandidateUser)
void
setTaskId(java.lang.String taskId)
void
setTaskInvolvedGroup(java.lang.String taskInvolvedGroup)
void
setTaskInvolvedUser(java.lang.String taskInvolvedUser)
void
setTaskName(java.lang.String taskName)
void
setTaskNameLike(java.lang.String taskNameLike)
void
setTaskOwner(java.lang.String taskOwner)
void
setTaskOwnerLike(java.lang.String taskOwnerLike)
void
setTaskParentTaskId(java.lang.String taskParentTaskId)
void
setTaskPriority(java.lang.Integer taskPriority)
void
setTaskVariables(java.util.List<VariableQueryParameterDto> taskVariables)
void
setTenantIdIn(java.util.List<java.lang.String> tenantIds)
void
setUnassigned(java.lang.Boolean unassigned)
void
setUnfinished(java.lang.Boolean unfinished)
void
setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
void
setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
void
setWithCandidateGroups(java.lang.Boolean withCandidateGroups)
void
setWithoutCandidateGroups(java.lang.Boolean withoutCandidateGroups)
void
setWithoutTaskDueDate(java.lang.Boolean withoutTaskDueDate)
void
setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
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
-
taskId
protected java.lang.String taskId
-
taskParentTaskId
protected java.lang.String taskParentTaskId
-
processInstanceId
protected java.lang.String processInstanceId
-
processInstanceBusinessKey
protected java.lang.String processInstanceBusinessKey
-
processInstanceBusinessKeyIn
protected java.lang.String[] processInstanceBusinessKeyIn
-
processInstanceBusinessKeyLike
protected java.lang.String processInstanceBusinessKeyLike
-
executionId
protected java.lang.String executionId
-
activityInstanceIdIn
protected java.lang.String[] activityInstanceIdIn
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionName
protected java.lang.String processDefinitionName
-
taskName
protected java.lang.String taskName
-
taskNameLike
protected java.lang.String taskNameLike
-
taskDescription
protected java.lang.String taskDescription
-
taskDescriptionLike
protected java.lang.String taskDescriptionLike
-
taskDefinitionKey
protected java.lang.String taskDefinitionKey
-
taskDefinitionKeyIn
protected java.lang.String[] taskDefinitionKeyIn
-
taskDeleteReason
protected java.lang.String taskDeleteReason
-
taskDeleteReasonLike
protected java.lang.String taskDeleteReasonLike
-
assigned
protected java.lang.Boolean assigned
-
unassigned
protected java.lang.Boolean unassigned
-
taskAssignee
protected java.lang.String taskAssignee
-
taskAssigneeLike
protected java.lang.String taskAssigneeLike
-
taskOwner
protected java.lang.String taskOwner
-
taskOwnerLike
protected java.lang.String taskOwnerLike
-
taskPriority
protected java.lang.Integer taskPriority
-
finished
protected java.lang.Boolean finished
-
unfinished
protected java.lang.Boolean unfinished
-
processFinished
protected java.lang.Boolean processFinished
-
processUnfinished
protected java.lang.Boolean processUnfinished
-
taskDueDate
protected java.util.Date taskDueDate
-
taskDueDateBefore
protected java.util.Date taskDueDateBefore
-
taskDueDateAfter
protected java.util.Date taskDueDateAfter
-
withoutTaskDueDate
protected java.lang.Boolean withoutTaskDueDate
-
taskFollowUpDate
protected java.util.Date taskFollowUpDate
-
taskFollowUpDateBefore
protected java.util.Date taskFollowUpDateBefore
-
taskFollowUpDateAfter
protected java.util.Date taskFollowUpDateAfter
-
tenantIds
protected java.util.List<java.lang.String> tenantIds
-
withoutTenantId
protected java.lang.Boolean withoutTenantId
-
startedBefore
protected java.util.Date startedBefore
-
startedAfter
protected java.util.Date startedAfter
-
finishedBefore
protected java.util.Date finishedBefore
-
finishedAfter
protected java.util.Date finishedAfter
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseDefinitionKey
protected java.lang.String caseDefinitionKey
-
caseDefinitionName
protected java.lang.String caseDefinitionName
-
caseInstanceId
protected java.lang.String caseInstanceId
-
caseExecutionId
protected java.lang.String caseExecutionId
-
taskInvolvedUser
protected java.lang.String taskInvolvedUser
-
taskInvolvedGroup
protected java.lang.String taskInvolvedGroup
-
taskHadCandidateUser
protected java.lang.String taskHadCandidateUser
-
taskHadCandidateGroup
protected java.lang.String taskHadCandidateGroup
-
withCandidateGroups
protected java.lang.Boolean withCandidateGroups
-
withoutCandidateGroups
protected java.lang.Boolean withoutCandidateGroups
-
taskVariables
protected java.util.List<VariableQueryParameterDto> taskVariables
-
processVariables
protected java.util.List<VariableQueryParameterDto> processVariables
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
-
Method Detail
-
setOrQueries
public void setOrQueries(java.util.List<HistoricTaskInstanceQueryDto> orQueries)
-
setTaskId
public void setTaskId(java.lang.String taskId)
-
setTaskParentTaskId
public void setTaskParentTaskId(java.lang.String taskParentTaskId)
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setProcessInstanceBusinessKey
public void setProcessInstanceBusinessKey(java.lang.String businessKey)
-
setProcessInstanceBusinessKeyIn
public void setProcessInstanceBusinessKeyIn(java.lang.String[] processInstanceBusinessKeyIn)
-
setProcessInstanceBusinessKeyLike
public void setProcessInstanceBusinessKeyLike(java.lang.String businessKeyLike)
-
setExecutionId
public void setExecutionId(java.lang.String executionId)
-
setActivityInstanceIdIn
public void setActivityInstanceIdIn(java.lang.String[] activityInstanceIdIn)
-
setProcessDefinitionId
public void setProcessDefinitionId(java.lang.String processDefinitionId)
-
setProcessDefinitionKey
public void setProcessDefinitionKey(java.lang.String processDefinitionKey)
-
setProcessDefinitionName
public void setProcessDefinitionName(java.lang.String processDefinitionName)
-
setTaskName
public void setTaskName(java.lang.String taskName)
-
setTaskNameLike
public void setTaskNameLike(java.lang.String taskNameLike)
-
setTaskDescription
public void setTaskDescription(java.lang.String taskDescription)
-
setTaskDescriptionLike
public void setTaskDescriptionLike(java.lang.String taskDescriptionLike)
-
setTaskDefinitionKey
public void setTaskDefinitionKey(java.lang.String taskDefinitionKey)
-
setTaskDefinitionKeyIn
public void setTaskDefinitionKeyIn(java.lang.String[] taskDefinitionKeyIn)
-
setTaskDeleteReason
public void setTaskDeleteReason(java.lang.String taskDeleteReason)
-
setTaskDeleteReasonLike
public void setTaskDeleteReasonLike(java.lang.String taskDeleteReasonLike)
-
setAssigned
public void setAssigned(java.lang.Boolean assigned)
-
setUnassigned
public void setUnassigned(java.lang.Boolean unassigned)
-
setTaskAssignee
public void setTaskAssignee(java.lang.String taskAssignee)
-
setTaskAssigneeLike
public void setTaskAssigneeLike(java.lang.String taskAssigneeLike)
-
setTaskOwner
public void setTaskOwner(java.lang.String taskOwner)
-
setTaskOwnerLike
public void setTaskOwnerLike(java.lang.String taskOwnerLike)
-
setTaskPriority
public void setTaskPriority(java.lang.Integer taskPriority)
-
setFinished
public void setFinished(java.lang.Boolean finished)
-
setUnfinished
public void setUnfinished(java.lang.Boolean unfinished)
-
setProcessFinished
public void setProcessFinished(java.lang.Boolean processFinished)
-
setProcessUnfinished
public void setProcessUnfinished(java.lang.Boolean processUnfinished)
-
setTaskDueDate
public void setTaskDueDate(java.util.Date taskDueDate)
-
setTaskDueDateBefore
public void setTaskDueDateBefore(java.util.Date taskDueDateBefore)
-
setTaskDueDateAfter
public void setTaskDueDateAfter(java.util.Date taskDueDateAfter)
-
setWithoutTaskDueDate
public void setWithoutTaskDueDate(java.lang.Boolean withoutTaskDueDate)
-
setTaskFollowUpDate
public void setTaskFollowUpDate(java.util.Date taskFollowUpDate)
-
setTaskFollowUpDateBefore
public void setTaskFollowUpDateBefore(java.util.Date taskFollowUpDateBefore)
-
setTaskFollowUpDateAfter
public void setTaskFollowUpDateAfter(java.util.Date taskFollowUpDateAfter)
-
setTaskVariables
public void setTaskVariables(java.util.List<VariableQueryParameterDto> taskVariables)
-
setProcessVariables
public void setProcessVariables(java.util.List<VariableQueryParameterDto> processVariables)
-
setVariableValuesIgnoreCase
public void setVariableValuesIgnoreCase(java.lang.Boolean variableValuesIgnoreCase)
-
setVariableNamesIgnoreCase
public void setVariableNamesIgnoreCase(java.lang.Boolean variableNamesIgnoreCase)
-
setCaseDefinitionId
public void setCaseDefinitionId(java.lang.String caseDefinitionId)
-
setCaseDefinitionKey
public void setCaseDefinitionKey(java.lang.String caseDefinitionKey)
-
setCaseDefinitionName
public void setCaseDefinitionName(java.lang.String caseDefinitionName)
-
setCaseInstanceId
public void setCaseInstanceId(java.lang.String caseInstanceId)
-
setCaseExecutionId
public void setCaseExecutionId(java.lang.String caseExecutionId)
-
setTenantIdIn
public void setTenantIdIn(java.util.List<java.lang.String> tenantIds)
-
setWithoutTenantId
public void setWithoutTenantId(java.lang.Boolean withoutTenantId)
-
setTaskInvolvedUser
public void setTaskInvolvedUser(java.lang.String taskInvolvedUser)
-
setTaskInvolvedGroup
public void setTaskInvolvedGroup(java.lang.String taskInvolvedGroup)
-
setTaskHadCandidateUser
public void setTaskHadCandidateUser(java.lang.String taskHadCandidateUser)
-
setTaskHadCandidateGroup
public void setTaskHadCandidateGroup(java.lang.String taskHadCandidateGroup)
-
setWithCandidateGroups
public void setWithCandidateGroups(java.lang.Boolean withCandidateGroups)
-
setWithoutCandidateGroups
public void setWithoutCandidateGroups(java.lang.Boolean withoutCandidateGroups)
-
setStartedBefore
public void setStartedBefore(java.util.Date startedBefore)
-
setStartedAfter
public void setStartedAfter(java.util.Date startedAfter)
-
setFinishedBefore
public void setFinishedBefore(java.util.Date finishedBefore)
-
setFinishedAfter
public void setFinishedAfter(java.util.Date finishedAfter)
-
isValidSortByValue
protected boolean isValidSortByValue(java.lang.String value)
- Specified by:
isValidSortByValue
in classAbstractQueryDto<HistoricTaskInstanceQuery>
-
createNewQuery
protected HistoricTaskInstanceQuery createNewQuery(ProcessEngine engine)
- Specified by:
createNewQuery
in classAbstractQueryDto<HistoricTaskInstanceQuery>
-
getOrQueries
public java.util.List<HistoricTaskInstanceQueryDto> getOrQueries()
-
applyFilters
protected void applyFilters(HistoricTaskInstanceQuery query)
- Specified by:
applyFilters
in classAbstractQueryDto<HistoricTaskInstanceQuery>
-
applySortBy
protected void applySortBy(HistoricTaskInstanceQuery query, java.lang.String sortBy, java.util.Map<java.lang.String,java.lang.Object> parameters, ProcessEngine engine)
- Specified by:
applySortBy
in classAbstractQueryDto<HistoricTaskInstanceQuery>
-
-