public class HistoricTaskInstanceEntity extends HistoricScopeInstanceEntity implements HistoricTaskInstance, PersistentObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignee |
protected Date |
claimTime |
protected String |
description |
protected Date |
dueDate |
protected String |
executionId |
protected String |
formKey |
protected String |
name |
protected String |
owner |
protected String |
parentTaskId |
protected int |
priority |
protected List<HistoricVariableInstanceEntity> |
queryVariables |
protected String |
taskDefinitionKey |
deleteReason, durationInMillis, endTime, id, processDefinitionId, processInstanceId, startTime| Constructor and Description |
|---|
HistoricTaskInstanceEntity() |
HistoricTaskInstanceEntity(TaskEntity task,
ExecutionEntity execution) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignee()
The latest assignee given to this task.
|
Date |
getClaimTime()
Time when the task was claimed.
|
String |
getDescription()
The latest description given to this task.
|
Date |
getDueDate()
Task due date
|
String |
getExecutionId()
Execution reference.
|
String |
getFormKey()
Task form key.
|
String |
getName()
The latest name given to this task.
|
String |
getOwner()
Task owner
|
String |
getParentTaskId()
The parent task of this task, in case this task was a subtask
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
int |
getPriority()
Task priority
|
Map<String,Object> |
getProcessVariables()
Returns the process variables if requested in the task query
|
List<HistoricVariableInstanceEntity> |
getQueryVariables() |
String |
getTaskDefinitionKey()
Task definition key.
|
Map<String,Object> |
getTaskLocalVariables()
Returns the local task variables if requested in the task query
|
Long |
getWorkTimeInMillis()
Difference between
HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds. |
void |
setAssignee(String assignee) |
void |
setClaimTime(Date claimTime) |
void |
setDescription(String description) |
void |
setDueDate(Date dueDate) |
void |
setExecutionId(String executionId) |
void |
setFormKey(String formKey) |
void |
setName(String name) |
void |
setOwner(String owner) |
void |
setParentTaskId(String parentTaskId) |
void |
setPriority(int priority) |
void |
setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables) |
void |
setTaskDefinitionKey(String taskDefinitionKey) |
getDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setId, setProcessDefinitionId, setProcessInstanceId, setStartTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessInstanceId, getStartTimegetId, setIdprotected String executionId
protected String name
protected String parentTaskId
protected String description
protected String owner
protected String assignee
protected String taskDefinitionKey
protected String formKey
protected int priority
protected Date dueDate
protected Date claimTime
protected List<HistoricVariableInstanceEntity> queryVariables
public HistoricTaskInstanceEntity()
public HistoricTaskInstanceEntity(TaskEntity task, ExecutionEntity execution)
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic String getExecutionId()
HistoricTaskInstancegetExecutionId in interface HistoricTaskInstancepublic void setExecutionId(String executionId)
public String getName()
HistoricTaskInstancegetName in interface HistoricTaskInstancepublic void setName(String name)
public String getDescription()
HistoricTaskInstancegetDescription in interface HistoricTaskInstancepublic void setDescription(String description)
public String getAssignee()
HistoricTaskInstancegetAssignee in interface HistoricTaskInstancepublic void setAssignee(String assignee)
public String getTaskDefinitionKey()
HistoricTaskInstancegetTaskDefinitionKey in interface HistoricTaskInstancepublic void setTaskDefinitionKey(String taskDefinitionKey)
public String getFormKey()
HistoricTaskInstancegetFormKey in interface HistoricTaskInstancepublic void setFormKey(String formKey)
public int getPriority()
HistoricTaskInstancegetPriority in interface HistoricTaskInstancepublic void setPriority(int priority)
public Date getDueDate()
HistoricTaskInstancegetDueDate in interface HistoricTaskInstancepublic void setDueDate(Date dueDate)
public String getOwner()
HistoricTaskInstancegetOwner in interface HistoricTaskInstancepublic void setOwner(String owner)
public String getParentTaskId()
HistoricTaskInstancegetParentTaskId in interface HistoricTaskInstancepublic void setParentTaskId(String parentTaskId)
public Date getClaimTime()
HistoricTaskInstancegetClaimTime in interface HistoricTaskInstancepublic void setClaimTime(Date claimTime)
public Long getWorkTimeInMillis()
HistoricTaskInstanceHistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds.getWorkTimeInMillis in interface HistoricTaskInstancepublic Map<String,Object> getTaskLocalVariables()
HistoricTaskInstancegetTaskLocalVariables in interface HistoricTaskInstancepublic Map<String,Object> getProcessVariables()
HistoricTaskInstancegetProcessVariables in interface HistoricTaskInstancepublic List<HistoricVariableInstanceEntity> getQueryVariables()
public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
Copyright © 2013 Alfresco. All rights reserved.