public class HistoricTaskInstanceEntity extends HistoricScopeInstanceEntity implements HistoricTaskInstance, BulkDeleteable, PersistentObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
assignee |
protected String |
category |
protected Date |
claimTime |
protected String |
description |
protected Date |
dueDate |
protected String |
executionId |
protected String |
formKey |
protected String |
localizedDescription |
protected String |
localizedName |
protected String |
name |
protected String |
owner |
protected String |
parentTaskId |
protected int |
priority |
protected List<HistoricVariableInstanceEntity> |
queryVariables |
protected String |
taskDefinitionKey |
protected String |
tenantId |
deleteReason, deploymentId, durationInMillis, endTime, id, processDefinitionId, processDefinitionKey, processDefinitionName, processDefinitionVersion, processInstanceId, startTime| Constructor and Description |
|---|
HistoricTaskInstanceEntity() |
HistoricTaskInstanceEntity(TaskEntity task,
ExecutionEntity execution) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignee()
The
userId of the person to which this task is
delegated. |
String |
getCategory()
The category of the task.
|
Date |
getClaimTime()
Time when the task was claimed.
|
Date |
getCreateTime()
The date/time when this task was created
|
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 |
getFormKey()
The form key for the user 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
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
int |
getPriority()
Indication of how important/urgent this task is
|
Map<String,Object> |
getProcessVariables()
Returns the process variables if requested in the task query
|
List<HistoricVariableInstanceEntity> |
getQueryVariables() |
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
|
String |
getTenantId()
The tenant identifier of this task
|
Date |
getTime() |
Long |
getWorkTimeInMillis()
Difference between
HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds. |
void |
setAssignee(String assignee) |
void |
setCategory(String category) |
void |
setClaimTime(Date claimTime) |
void |
setDescription(String description) |
void |
setDueDate(Date dueDate) |
void |
setExecutionId(String executionId) |
void |
setFormKey(String formKey) |
void |
setLocalizedDescription(String description)
Sets an optional localized description for the task.
|
void |
setLocalizedName(String name)
Sets an optional localized name for the task.
|
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) |
void |
setTenantId(String tenantId) |
String |
toString() |
getDeleteReason, getDeploymentId, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessDefinitionKey, getProcessDefinitionName, getProcessDefinitionVersion, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDeploymentId, setDurationInMillis, setEndTime, setId, setProcessDefinitionId, setProcessDefinitionKey, setProcessDefinitionName, setProcessDefinitionVersion, setProcessInstanceId, setStartTimeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDeleteReason, getDurationInMillis, getEndTime, getStartTimegetId, getProcessDefinitionId, getProcessInstanceIdgetId, setIdprotected String executionId
protected String name
protected String localizedName
protected String parentTaskId
protected String description
protected String localizedDescription
protected String owner
protected String assignee
protected String taskDefinitionKey
protected String formKey
protected int priority
protected Date dueDate
protected Date claimTime
protected String category
protected String tenantId
protected List<HistoricVariableInstanceEntity> queryVariables
public HistoricTaskInstanceEntity()
public HistoricTaskInstanceEntity(TaskEntity task, ExecutionEntity execution)
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic String getExecutionId()
TaskInfogetExecutionId in interface TaskInfopublic void setExecutionId(String executionId)
public String getName()
TaskInfopublic void setName(String name)
public void setLocalizedName(String name)
HistoricTaskInstancesetLocalizedName in interface HistoricTaskInstancepublic String getDescription()
TaskInfogetDescription in interface TaskInfopublic void setDescription(String description)
public void setLocalizedDescription(String description)
HistoricTaskInstancesetLocalizedDescription in interface HistoricTaskInstancepublic String getAssignee()
TaskInfouserId of the person to which this task is
delegated.getAssignee in interface TaskInfopublic void setAssignee(String assignee)
public String getTaskDefinitionKey()
TaskInfogetTaskDefinitionKey in interface TaskInfopublic void setTaskDefinitionKey(String taskDefinitionKey)
public Date getCreateTime()
TaskInfogetCreateTime in interface TaskInfopublic String getFormKey()
TaskInfogetFormKey in interface TaskInfopublic void setFormKey(String formKey)
public int getPriority()
TaskInfogetPriority in interface TaskInfopublic void setPriority(int priority)
public Date getDueDate()
TaskInfogetDueDate in interface TaskInfopublic void setDueDate(Date dueDate)
public String getCategory()
TaskInfogetCategory in interface TaskInfopublic void setCategory(String category)
public String getOwner()
TaskInfouserId of the person that is responsible for this
task.public void setOwner(String owner)
public String getParentTaskId()
TaskInfogetParentTaskId in interface TaskInfopublic void setParentTaskId(String parentTaskId)
public Date getClaimTime()
HistoricTaskInstancegetClaimTime in interface HistoricTaskInstancepublic void setClaimTime(Date claimTime)
public String getTenantId()
TaskInfogetTenantId in interface TaskInfopublic void setTenantId(String tenantId)
public Date getTime()
getTime in interface HistoricDatapublic Long getWorkTimeInMillis()
HistoricTaskInstanceHistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds.getWorkTimeInMillis in interface HistoricTaskInstancepublic Map<String,Object> getTaskLocalVariables()
TaskInfogetTaskLocalVariables in interface TaskInfopublic Map<String,Object> getProcessVariables()
TaskInfogetProcessVariables in interface TaskInfopublic List<HistoricVariableInstanceEntity> getQueryVariables()
public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
Copyright © 2016 Alfresco. All rights reserved.