Package com.priint.pubserver.bpm.model
Class TaskQueryDto
java.lang.Object
com.priint.pubserver.bpm.model.TaskQueryDto
A Object which is send to BPM to get list of
CustomTask-
Constructor Summary
ConstructorsConstructorDescriptionA Object which is send to BPM to get list ofCustomTaskTaskQueryDto(String taskId, List<String> taskIds, String processInstanceId, List<String> processInstanceIdIn, String processInstanceBusinessKey, List<String> processInstanceBusinessKeyIn, String processInstanceBusinessKeyLike, String processDefinitionId, String processDefinitionKey, List<String> processDefinitionKeyIn, String processDefinitionName, String processDefinitionNameLike, String executionId, List<String> activityInstanceIdIn, String tenantId, List<String> tenantIdIn, Boolean withoutTenantId, String assignee, String assigneeExpression, String assigneeLike, List<String> assigneeIn, String owner, String candidateGroup, List<String> candidateGroups, Boolean withCandidateGroups, Boolean withoutCandidateGroups, Boolean withCandidateUsers, Boolean withoutCandidateUsers, String candidateUser, Boolean includeAssignedTasks, Boolean assigned, Boolean unassigned, String taskDefinitionKey, List<String> taskDefinitionKeyIn, String taskDefinitionKeyLike, String name, String nameLike, Date dueDate, Date dueAfter, Date dueBefore, Date createdAfter, String delegationState, List<VariableQueryDto> processVariables, List<TaskQueryDto> orQueries, List<BpmQuerySorting> sorting) A Object which is send to BPM to get list ofCustomTask -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProcessVariable(ProcessVariableOperator operator, String name, String value) adds new entry toprotected booleanbooleangetName()getOwner()inthashCode()voidsetActivityInstanceIdIn(List<String> activityInstanceIdIn) voidsetAssigned(Boolean assigned) voidsetAssignee(String assignee) voidsetAssigneeExpression(String assigneeExpression) voidsetAssigneeIn(List<String> assigneeIn) voidsetAssigneeLike(String assigneeLike) voidsetCandidateGroup(String candidateGroup) voidsetCandidateGroups(List<String> candidateGroups) voidsetCandidateUser(String candidateUser) voidsetCreatedAfter(Date createdAfter) voidsetDelegationState(String delegationState) voidsetDueAfter(Date dueAfter) voidsetDueBefore(Date dueBefore) voidsetDueDate(Date dueDate) voidsetExecutionId(String executionId) voidsetIncludeAssignedTasks(Boolean includeAssignedTasks) voidvoidsetNameLike(String nameLike) voidsetOrQueries(List<TaskQueryDto> orQueries) voidvoidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetProcessDefinitionKeyIn(List<String> processDefinitionKeyIn) voidsetProcessDefinitionName(String processDefinitionName) voidsetProcessDefinitionNameLike(String processDefinitionNameLike) voidsetProcessInstanceBusinessKey(String processInstanceBusinessKey) voidsetProcessInstanceBusinessKeyIn(List<String> processInstanceBusinessKeyIn) voidsetProcessInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) voidsetProcessInstanceId(String processInstanceId) voidsetProcessInstanceIdIn(List<String> processInstanceIdIn) voidsetProcessVariables(List<VariableQueryDto> processVariables) voidsetSorting(List<BpmQuerySorting> sorting) voidsetTaskDefinitionKey(String taskDefinitionKey) voidsetTaskDefinitionKeyIn(List<String> taskDefinitionKeyIn) voidsetTaskDefinitionKeyLike(String taskDefinitionKeyLike) voidvoidsetTaskIds(List<String> taskIds) voidsetTenantId(String tenantId) voidsetTenantIdIn(List<String> tenantIdIn) voidsetUnassigned(Boolean unassigned) voidsetWithCandidateGroups(Boolean withCandidateGroups) voidsetWithCandidateUsers(Boolean withCandidateUsers) voidsetWithoutCandidateGroups(Boolean withoutCandidateGroups) voidsetWithoutCandidateUsers(Boolean withoutCandidateUsers) voidsetWithoutTenantId(Boolean withoutTenantId) toString()
-
Constructor Details
-
TaskQueryDto
public TaskQueryDto(String taskId, List<String> taskIds, String processInstanceId, List<String> processInstanceIdIn, String processInstanceBusinessKey, List<String> processInstanceBusinessKeyIn, String processInstanceBusinessKeyLike, String processDefinitionId, String processDefinitionKey, List<String> processDefinitionKeyIn, String processDefinitionName, String processDefinitionNameLike, String executionId, List<String> activityInstanceIdIn, String tenantId, List<String> tenantIdIn, Boolean withoutTenantId, String assignee, String assigneeExpression, String assigneeLike, List<String> assigneeIn, String owner, String candidateGroup, List<String> candidateGroups, Boolean withCandidateGroups, Boolean withoutCandidateGroups, Boolean withCandidateUsers, Boolean withoutCandidateUsers, String candidateUser, Boolean includeAssignedTasks, Boolean assigned, Boolean unassigned, String taskDefinitionKey, List<String> taskDefinitionKeyIn, String taskDefinitionKeyLike, String name, String nameLike, Date dueDate, Date dueAfter, Date dueBefore, Date createdAfter, String delegationState, List<VariableQueryDto> processVariables, List<TaskQueryDto> orQueries, List<BpmQuerySorting> sorting) A Object which is send to BPM to get list ofCustomTask -
TaskQueryDto
public TaskQueryDto()A Object which is send to BPM to get list ofCustomTask
-
-
Method Details
-
addProcessVariable
adds new entry to -
getTaskId
- Returns:
Stringwhich Restrict to task with the given id.
-
getTaskIds
-
getProcessInstanceId
- Returns:
Stringwhich Restrict to tasks that belong to process instances with the given id.
-
getProcessInstanceIdIn
-
getProcessInstanceBusinessKey
- Returns:
Stringwhich Restrict to tasks that belong to process instances with the given business key.
-
getProcessInstanceBusinessKeyIn
-
getProcessInstanceBusinessKeyLike
- Returns:
Stringwhich Restrict to tasks that have a process instance business key that has the parameter value as a substring.
-
getProcessDefinitionId
- Returns:
Stringwhich Restrict to tasks that belong to a process definition with the given id.
-
getProcessDefinitionKey
- Returns:
Stringwhich Restrict to tasks that belong to a process definition with the given key.
-
getProcessDefinitionKeyIn
-
getProcessDefinitionName
- Returns:
Stringwhich Restrict to tasks that belong to a process definition with the given name.
-
getProcessDefinitionNameLike
- Returns:
StringRestrict to tasks that have a process definition name that has the parameter value as a substring.
-
getExecutionId
- Returns:
Stringwhich Restrict to tasks that belong to an execution with the given id.
-
getActivityInstanceIdIn
-
getTenantId
- Returns:
- the tenant id for the task
String
-
getTenantIdIn
-
getWithoutTenantId
- Returns:
Booleanwhich only include tasks which belong to no tenant.
-
getAssignee
- Returns:
Stringwhich Restrict to tasks that the given user is assigned to.
-
getAssigneeExpression
- Returns:
Stringwhich Restrict to tasks that the user described by the given expression is assigned to.
-
getAssigneeLike
- Returns:
Stringwhich Restrict to tasks that have an assignee that has the parameter value as a substring.
-
getAssigneeIn
-
getOwner
- Returns:
Stringwhich Restrict to tasks that the given user owns.
-
getCandidateGroup
- Returns:
Stringwhich only include tasks that are offered to the given group.
-
getCandidateGroups
-
getWithCandidateGroups
- Returns:
Booleanwhich only include tasks which have a candidate group. Value may only be true, as false is the default behavior.
-
getWithoutCandidateGroups
- Returns:
Booleanwhich only include tasks which have no candidate group. Value may only be true, as false is the default behavior.
-
getWithCandidateUsers
- Returns:
Booleanwhich only include tasks which have a candidate user. Value may only be true, as false is the default behavior.
-
getWithoutCandidateUsers
- Returns:
Booleanwhich only include tasks which have no candidate user. Value may only be true, as false is the default behavior.
-
getCandidateUser
- Returns:
Stringwhich only include tasks that are offered to the given user or to one of his groups.
-
getIncludeAssignedTasks
- Returns:
Booleanwhich also include tasks that are assigned to users in candidate queries. Default is to only include tasks that are not assigned to any user if you query by candidate user or group(s).
-
getAssigned
- Returns:
BooleanIf set to true, restricts the query to all tasks that are assigned.
-
getUnassigned
- Returns:
BooleanIf set to true, restricts the query to all tasks that are unassigned.
-
getTaskDefinitionKey
- Returns:
Stringwhich Restrict to tasks that have the given key.
-
getTaskDefinitionKeyIn
-
getTaskDefinitionKeyLike
- Returns:
Stringwhich Restrict to tasks that have a key that has the parameter value as a substring.
-
getName
- Returns:
Stringwhich Restrict to tasks that have the given name.
-
getNameLike
- Returns:
Stringwhich Restrict to tasks that have a name with the given parameter value as substring.
-
getDueDate
- Returns:
Datewhich Restrict to tasks that are due on the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.234+0200.
-
getDueAfter
- Returns:
Datewhich Restrict to tasks that are due after the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.453+0200.
-
getDueBefore
- Returns:
Datewhich Restrict to tasks that are due before the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.667+0200.
-
getCreatedAfter
- Returns:
Datewhich Restrict to tasks that were created after the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.654+0200.
-
getDelegationState
- Returns:
Stringwhich Restrict to tasks that are in the given delegation state. Valid values are PENDING and RESOLVED.
-
getProcessVariables
- Returns:
ListofVariableQueryDto- array to only include tasks that belong to a process instance with variables with certain values.
-
getOrQueries
- Returns:
ListofTaskQueryDto- array of nested task queries with OR semantics. A task matches a nested query if it fulfills at least one of the query's predicates. With multiple nested queries, a task must fulfill at least one predicate of each query (Conjunctive Normal Form). All task query properties can be used except for: sorting, withCandidateGroups, withoutCandidateGroups, withCandidateUsers, withoutCandidateUsers
-
getSorting
- Returns:
ListofBpmQuerySorting- array of criteria to sort the result by. Each element of the array is a JSON object that specifies one ordering. The position in the array identifies the rank of an ordering, i.e., whether it is primary, secondary, etc.
-
setTaskId
- Parameters:
taskId-String- Restrict to task with the given id.
-
setTaskIds
-
setProcessInstanceId
- Parameters:
processInstanceId-String- Restrict to tasks that belong to process instances with the given id.
-
setProcessInstanceIdIn
-
setProcessInstanceBusinessKey
- Parameters:
processInstanceBusinessKey-String- Restrict to tasks that belong to process instances with the given business key.
-
setProcessInstanceBusinessKeyIn
-
setProcessInstanceBusinessKeyLike
- Parameters:
processInstanceBusinessKeyLike-String- Restrict to tasks that have a process instance business key that has the parameter value as a substring.
-
setProcessDefinitionId
- Parameters:
processDefinitionId-String- Restrict to tasks that belong to a process definition with the given id.
-
setProcessDefinitionKey
- Parameters:
processDefinitionKey-String- Restrict to tasks that belong to a process definition with the given key.
-
setProcessDefinitionKeyIn
-
setProcessDefinitionName
- Parameters:
processDefinitionName-String- Restrict to tasks that belong to a process definition with the given name.
-
setProcessDefinitionNameLike
- Parameters:
processDefinitionNameLike-String- Restrict to tasks that have a process definition name that has the parameter value as a substring.
-
setExecutionId
- Parameters:
executionId-String- Restrict to tasks that belong to an execution with the given id.
-
setActivityInstanceIdIn
-
setTenantId
- Parameters:
tenantId-String- If not null, the tenant id for the task.
-
setTenantIdIn
-
setWithoutTenantId
- Parameters:
withoutTenantId-Boolean- Only include tasks which belong to no tenant. Value may only be true, as false is the default behavior.
-
setAssignee
- Parameters:
assignee-String- Restrict to tasks that the given user is assigned to.
-
setAssigneeExpression
- Parameters:
assigneeExpression-String- Restrict to tasks that the user described by the given expression is assigned to.
-
setAssigneeLike
- Parameters:
assigneeLike-String- Restrict to tasks that have an assignee that has the parameter value as a substring.
-
setAssigneeIn
-
setOwner
- Parameters:
owner-String- Restrict to tasks that the given user owns.
-
setCandidateGroup
- Parameters:
candidateGroup-String- Only include tasks that are offered to the given group.
-
setCandidateGroups
-
setWithCandidateGroups
- Parameters:
withCandidateGroups-Boolean- Only include tasks which have a candidate group. Value may only be true, as false is the default behavior.
-
setWithoutCandidateGroups
- Parameters:
withoutCandidateGroups-Boolean- Only include tasks which have no candidate group. Value may only be true, as false is the default behavior.
-
setWithCandidateUsers
- Parameters:
withCandidateUsers-Boolean- Only include tasks which have a candidate user. Value may only be true, as false is the default behavior.
-
setWithoutCandidateUsers
- Parameters:
withoutCandidateUsers-Boolean- Only include tasks which have no candidate user. Value may only be true, as false is the default behavior.
-
setCandidateUser
- Parameters:
candidateUser-String- Only include tasks that are offered to the given user or to one of his groups.
-
setIncludeAssignedTasks
- Parameters:
includeAssignedTasks-Boolean- Also include tasks that are assigned to users in candidate queries. Default is to only include tasks that are not assigned to any user if you query by candidate user or group(s).
-
setAssigned
- Parameters:
assigned-Boolean- If set to true, restricts the query to all tasks that are assigned.
-
setUnassigned
- Parameters:
unassigned-Boolean- If set to true, restricts the query to all tasks that are unassigned.
-
setTaskDefinitionKey
- Parameters:
taskDefinitionKey-String- Restrict to tasks that have the given key.
-
setTaskDefinitionKeyIn
-
setTaskDefinitionKeyLike
- Parameters:
taskDefinitionKeyLike-String- Restrict to tasks that have a key that has the parameter value as a substring.
-
setName
- Parameters:
name-String- Restrict to tasks that have the given name.
-
setNameLike
- Parameters:
nameLike-String- Restrict to tasks that have a name with the given parameter value as substring.
-
setDueDate
- Parameters:
dueDate-Date- Restrict to tasks that are due on the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.234+0200.
-
setDueAfter
- Parameters:
dueAfter-Date- Restrict to tasks that are due after the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.453+0200.
-
setDueBefore
- Parameters:
dueBefore-Date- Restrict to tasks that are due before the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.667+0200.
-
setCreatedAfter
- Parameters:
createdAfter-Date- Restrict to tasks that were created after the given date. By default*, the date must have the format yyyy-MM-dd'T'HH:mm:ss.SSSZ, e.g., 2013-01-23T14:42:45.654+0200.
-
setDelegationState
- Parameters:
delegationState-String- Restrict to tasks that are in the given delegation state. Valid values are PENDING and RESOLVED.
-
setProcessVariables
- Parameters:
processVariables-ListofVariableQueryDto- array to only include tasks that belong to a process instance with variables with certain values.
-
setOrQueries
- Parameters:
orQueries-ListofTaskQueryDto- array of nested task queries with OR semantics. A task matches a nested query if it fulfills at least one of the query's predicates. With multiple nested queries, a task must fulfill at least one predicate of each query
-
setSorting
- Parameters:
sorting-ListofTaskQueryDto- array of criteria to sort the result by.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-