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 TaskInfo
public void setDescription(String description)
setDescription
in interface Task
public int getPriority()
getPriority
in interface TaskInfo
public void setPriority(int priority)
setPriority
in interface Task
public String getAssignee()
getAssignee
in interface TaskInfo
public void setAssignee(String assignee)
setAssignee
in interface Task
public DelegationState getDelegationState()
getDelegationState
in interface Task
public void setDelegationState(DelegationState delegationState)
setDelegationState
in interface Task
public String getProcessInstanceId()
getProcessInstanceId
in interface TaskInfo
public String getExecutionId()
getExecutionId
in interface TaskInfo
public String getProcessDefinitionId()
getProcessDefinitionId
in interface TaskInfo
public Date getCreateTime()
getCreateTime
in interface TaskInfo
public String getTaskDefinitionKey()
getTaskDefinitionKey
in interface TaskInfo
public Date getDueDate()
getDueDate
in interface TaskInfo
public void setDueDate(Date dueDate)
setDueDate
in interface Task
public String getCategory()
getCategory
in interface TaskInfo
public void setCategory(String category)
setCategory
in interface Task
public void setParentTaskId(String parentTaskId)
setParentTaskId
in interface Task
public String getParentTaskId()
getParentTaskId
in interface TaskInfo
public boolean isSuspended()
isSuspended
in interface Task
public String getTenantId()
getTenantId
in interface TaskInfo
public void setTenantId(String tenantId)
setTenantId
in interface Task
public String getFormKey()
getFormKey
in interface TaskInfo
public void setFormKey(String formKey)
setFormKey
in interface Task
public Map<String,Object> getTaskLocalVariables()
getTaskLocalVariables
in interface TaskInfo
public Map<String,Object> getProcessVariables()
getProcessVariables
in interface TaskInfo
public void setLocalizedName(String name)
setLocalizedName
in interface Task
public void setLocalizedDescription(String description)
setLocalizedDescription
in interface Task
Copyright © 2016 Alfresco. All rights reserved.