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 |
category |
protected String |
description |
protected Date |
dueDate |
protected String |
formKey |
protected String |
id |
protected String |
name |
protected String |
owner |
protected String |
parentTaskId |
protected int |
priority |
protected String |
tenantId |
DEFAULT_PRIORITY| Constructor and Description |
|---|
HistoricTaskWrapper(HistoricTaskInstance historicTaskInstance) |
protected String id
protected String name
protected String description
protected int priority
protected String owner
protected String assignee
protected Date dueDate
protected String category
protected String parentTaskId
protected String tenantId
protected String formKey
public HistoricTaskWrapper(HistoricTaskInstance historicTaskInstance)
public String getDescription()
getDescription in interface TaskInfopublic void setDescription(String description)
setDescription in interface Taskpublic int getPriority()
getPriority in interface TaskInfopublic void setPriority(int priority)
setPriority in interface Taskpublic String getAssignee()
getAssignee in interface TaskInfopublic 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 TaskInfopublic String getExecutionId()
getExecutionId in interface TaskInfopublic String getProcessDefinitionId()
getProcessDefinitionId in interface TaskInfopublic Date getCreateTime()
getCreateTime in interface TaskInfopublic String getTaskDefinitionKey()
getTaskDefinitionKey in interface TaskInfopublic Date getDueDate()
getDueDate in interface TaskInfopublic void setDueDate(Date dueDate)
setDueDate in interface Taskpublic String getCategory()
getCategory in interface TaskInfopublic void setCategory(String category)
setCategory in interface Taskpublic void setParentTaskId(String parentTaskId)
setParentTaskId in interface Taskpublic String getParentTaskId()
getParentTaskId in interface TaskInfopublic boolean isSuspended()
isSuspended in interface Taskpublic String getTenantId()
getTenantId in interface TaskInfopublic void setTenantId(String tenantId)
setTenantId in interface Taskpublic String getFormKey()
getFormKey in interface TaskInfopublic void setFormKey(String formKey)
setFormKey in interface Taskpublic Map<String,Object> getTaskLocalVariables()
getTaskLocalVariables in interface TaskInfopublic Map<String,Object> getProcessVariables()
getProcessVariables in interface TaskInfopublic void setLocalizedName(String name)
setLocalizedName in interface Taskpublic void setLocalizedDescription(String description)
setLocalizedDescription in interface TaskCopyright © 2016 Alfresco. All rights reserved.