public class TaskQuery extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TaskQuery.AssigneeType
The valid values for the assignee type that describes the method to search for user task assignees.
|
Constructor and Description |
---|
TaskQuery()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAssignees()
Gets the task assignees in which to search for process flow tasks, based on the task assignment.
|
TaskQuery.AssigneeType |
getAssigneeType()
Gets whether to search for the process flow tasks that are assigned to the current user, a specific set of users,
or all users.
|
Set<String> |
getContextPaths()
Gets the context paths in which to search for process flow tasks.
|
String |
getElementId()
Gets the process flow task element identifier to query.
|
Date |
getFromDueDate()
Gets the start date of the date range to query process flow tasks, based on the due date.
|
int |
getLimit()
Gets the maximum number of process flow tasks to return.
|
String |
getName()
Gets the process flow task name to query.
|
Task.Priority |
getPriority()
Gets the task priority by which to query the process flow tasks.
|
String |
getProcessFlowName()
Gets the name of the process flow in which to search for tasks.
|
Task.TaskStatus |
getStatus()
Gets the status of the process flow task in which to query.
|
Date |
getToDueDate()
Gets the end date of the date range to query process flow tasks based on due date.
|
void |
setAssignees(Set<String> assignees)
Sets the task assignees in which to search for process flow tasks.
|
void |
setAssigneeType(TaskQuery.AssigneeType assigneeType)
Sets whether to search for the process flow tasks that are assigned to the current user, a specific set of users,
or all users.
|
void |
setContextPaths(Set<String> contextPaths)
Sets the context paths in which to search for process flow tasks.
|
void |
setElementId(String elementId)
Sets the process flow task element identifier to query.
|
void |
setFromDueDate(Date fromDueDate)
Sets the start date of the date range to query process flow tasks, based on the due date.
|
void |
setLimit(int limit)
Sets the maximum number of process flow tasks to return.
|
void |
setName(String name)
Sets the process flow task name to query.
|
void |
setPriority(Task.Priority priority)
Sets the task priority by which to query the process flow tasks.
|
void |
setProcessFlowName(String processFlowName)
Sets the name of the process flow in which to search for tasks.
|
void |
setStatus(Task.TaskStatus status)
Sets the status of the process flow task in which to query.
|
void |
setToDueDate(Date toDueDate)
Sets the end date of the date range to query process flow tasks, based on the due date.
|
String |
toString() |
public Task.TaskStatus getStatus()
public void setStatus(Task.TaskStatus status)
status
- The status.public String getElementId()
public void setElementId(String elementId)
elementId
- The process flow task element.public String getName()
public void setName(String name)
name
- Sets the process flow name to query.public String getProcessFlowName()
public void setProcessFlowName(String processFlowName)
processFlowName
- The name of the process flow in which to search for tasks.public Set<String> getContextPaths()
public void setContextPaths(Set<String> contextPaths)
contextPaths
- The context paths in which to search for process flow tasks.public Set<String> getAssignees()
public void setAssignees(Set<String> assignees)
assignees
- The task assignees by which to search for process flow tasks.public Date getFromDueDate()
public void setFromDueDate(Date fromDueDate)
fromDueDate
- The start date of the date range to query process flow tasks, based on the due date.public Date getToDueDate()
public void setToDueDate(Date toDueDate)
toDueDate
- The end date of the date range to query process flow tasks, based on the due date.public Task.Priority getPriority()
public void setPriority(Task.Priority priority)
priority
- The task priority by which to query the process flow tasks.public int getLimit()
public void setLimit(int limit)
limit
- The maximum number of process flow tasks to return.public TaskQuery.AssigneeType getAssigneeType()
setAssignees(Set)
.public void setAssigneeType(TaskQuery.AssigneeType assigneeType)
setAssignees(Set)
.assigneeType
- The method to search for the process flow tasks.<i>Copyright (c) 2021, SAS Institute Inc., Cary, NC, USA</i>