public class HistoricTaskWrapper extends Object implements Task
HistoricTaskInstance
to a Task, so we can reuse the existing components for a task. Obviously,
this is not a good approach in the long run.| Modifier and Type | Field and Description |
|---|---|
protected String |
assignee |
protected String |
description |
protected Date |
dueDate |
protected String |
id |
protected String |
name |
protected String |
owner |
protected String |
parentTaskId |
protected int |
priority |
DEFAULT_PRIORITY| Constructor and Description |
|---|
HistoricTaskWrapper(HistoricTaskInstance historicTaskInstance) |
| Modifier and Type | Method and Description |
|---|---|
void |
delegate(String userId) |
String |
getAssignee() |
Date |
getCreateTime() |
DelegationState |
getDelegationState() |
String |
getDescription() |
Date |
getDueDate() |
String |
getExecutionId() |
String |
getId() |
String |
getName() |
String |
getOwner() |
String |
getParentTaskId() |
int |
getPriority() |
String |
getProcessDefinitionId() |
String |
getProcessInstanceId() |
Map<String,Object> |
getProcessVariables() |
String |
getTaskDefinitionKey() |
Map<String,Object> |
getTaskLocalVariables() |
boolean |
isSuspended() |
void |
setAssignee(String assignee) |
void |
setDelegationState(DelegationState delegationState) |
void |
setDescription(String description) |
void |
setDueDate(Date dueDate) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setParentTaskId(String parentTaskId) |
void |
setPriority(int priority) |
protected String id
protected String name
protected String description
protected int priority
protected String owner
protected String assignee
protected Date dueDate
protected String parentTaskId
public HistoricTaskWrapper(HistoricTaskInstance historicTaskInstance)
public String getDescription()
getDescription in interface Taskpublic void setDescription(String description)
setDescription in interface Taskpublic int getPriority()
getPriority in interface Taskpublic void setPriority(int priority)
setPriority in interface Taskpublic String getAssignee()
getAssignee in interface Taskpublic void setAssignee(String assignee)
setAssignee in interface Taskpublic DelegationState getDelegationState()
getDelegationState in interface Taskpublic void setDelegationState(DelegationState delegationState)
setDelegationState in interface Taskpublic String getProcessInstanceId()
getProcessInstanceId in interface Taskpublic String getExecutionId()
getExecutionId in interface Taskpublic String getProcessDefinitionId()
getProcessDefinitionId in interface Taskpublic Date getCreateTime()
getCreateTime in interface Taskpublic String getTaskDefinitionKey()
getTaskDefinitionKey in interface Taskpublic Date getDueDate()
getDueDate in interface Taskpublic void setDueDate(Date dueDate)
setDueDate in interface Taskpublic void setParentTaskId(String parentTaskId)
setParentTaskId in interface Taskpublic String getParentTaskId()
getParentTaskId in interface Taskpublic boolean isSuspended()
isSuspended in interface Taskpublic Map<String,Object> getTaskLocalVariables()
getTaskLocalVariables in interface Taskpublic Map<String,Object> getProcessVariables()
getProcessVariables in interface TaskCopyright © 2013 Alfresco. All rights reserved.