|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
public interface Task
Represents one task for a human user.
字段摘要 | |
---|---|
static int |
DEFAULT_PRIORITY
Default value used for priority when a new Task is created. |
方法摘要 | |
---|---|
void |
delegate(String userId)
delegates this task to the given user and sets the delegationState to DelegationState.PENDING . |
String |
getAssignee()
The userId of the person to which this task is delegated. |
Date |
getCreateTime()
The date/time when this task was created |
DelegationState |
getDelegationState()
The current DelegationState for this task. |
String |
getDescription()
Free text description of the task. |
Date |
getDueDate()
Due date of the task. |
String |
getExecutionId()
Reference to the path of execution or null if it is not related to a process instance. |
String |
getId()
DB id of the task. |
String |
getName()
Name or title of the task. |
String |
getOwner()
The userId of the person that is responsible for this task. |
String |
getParentTaskId()
the parent task for which this task is a subtask |
int |
getPriority()
Indication of how important/urgent this task is |
String |
getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process. |
String |
getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance. |
Map<String,Object> |
getProcessVariables()
Returns the process variables if requested in the task query |
String |
getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process |
Map<String,Object> |
getTaskLocalVariables()
Returns the local task variables if requested in the task query |
boolean |
isSuspended()
Indicated whether this task is suspended or not. |
void |
setAssignee(String assignee)
The userId of the person to which this task is delegated. |
void |
setDelegationState(DelegationState delegationState)
The current DelegationState for this task. |
void |
setDescription(String description)
Change the description of the task |
void |
setDueDate(Date dueDate)
Change due date of the task. |
void |
setName(String name)
Name or title of the task. |
void |
setOwner(String owner)
The userId of the person that is responsible for this task. |
void |
setParentTaskId(String parentTaskId)
the parent task for which this task is a subtask |
void |
setPriority(int priority)
Sets the indication of how important/urgent this task is |
字段详细信息 |
---|
static final int DEFAULT_PRIORITY
Task
is created.
方法详细信息 |
---|
String getId()
String getName()
void setName(String name)
String getDescription()
void setDescription(String description)
int getPriority()
void setPriority(int priority)
String getOwner()
userId
of the person that is responsible for this task.
void setOwner(String owner)
userId
of the person that is responsible for this task.
String getAssignee()
userId
of the person to which this task is delegated.
void setAssignee(String assignee)
userId
of the person to which this task is delegated.
DelegationState getDelegationState()
DelegationState
for this task.
void setDelegationState(DelegationState delegationState)
DelegationState
for this task.
String getProcessInstanceId()
String getExecutionId()
String getProcessDefinitionId()
Date getCreateTime()
String getTaskDefinitionKey()
Date getDueDate()
void setDueDate(Date dueDate)
void delegate(String userId)
delegationState
to DelegationState.PENDING
.
If no owner is set on the task, the owner is set to the current assignee of the task.
void setParentTaskId(String parentTaskId)
String getParentTaskId()
boolean isSuspended()
Map<String,Object> getTaskLocalVariables()
Map<String,Object> getProcessVariables()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |