public class HistoricTaskInstanceEntityImpl extends HistoricScopeInstanceEntityImpl implements HistoricTaskInstanceEntity, BulkDeleteable
| 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, durationInMillis, endTime, id, processDefinitionId, processInstanceId, startTime| Constructor and Description |
|---|
HistoricTaskInstanceEntityImpl() |
HistoricTaskInstanceEntityImpl(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) |
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, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTimegetDeleteReason, getDurationInMillis, getEndTime, getStartTimegetId, getProcessDefinitionId, getProcessInstanceIdprotected 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 HistoricTaskInstanceEntityImpl()
public HistoricTaskInstanceEntityImpl(TaskEntity task, ExecutionEntity execution)
public Object getPersistentState()
EntitygetPersistentState in interface Entitypublic String getExecutionId()
TaskInfogetExecutionId in interface TaskInfopublic void setExecutionId(String executionId)
setExecutionId in interface HistoricTaskInstanceEntitypublic String getName()
TaskInfopublic void setName(String name)
setName in interface HistoricTaskInstanceEntitypublic void setLocalizedName(String name)
HistoricTaskInstanceEntitysetLocalizedName in interface HistoricTaskInstanceEntitypublic String getDescription()
TaskInfogetDescription in interface TaskInfopublic void setDescription(String description)
setDescription in interface HistoricTaskInstanceEntitypublic void setLocalizedDescription(String description)
HistoricTaskInstanceEntitysetLocalizedDescription in interface HistoricTaskInstanceEntitypublic String getAssignee()
TaskInfouserId of the person to which this task is delegated.getAssignee in interface TaskInfopublic void setAssignee(String assignee)
setAssignee in interface HistoricTaskInstanceEntitypublic String getTaskDefinitionKey()
TaskInfogetTaskDefinitionKey in interface TaskInfopublic void setTaskDefinitionKey(String taskDefinitionKey)
setTaskDefinitionKey in interface HistoricTaskInstanceEntitypublic Date getCreateTime()
TaskInfogetCreateTime in interface TaskInfopublic String getFormKey()
TaskInfogetFormKey in interface TaskInfopublic void setFormKey(String formKey)
setFormKey in interface HistoricTaskInstanceEntitypublic int getPriority()
TaskInfogetPriority in interface TaskInfopublic void setPriority(int priority)
setPriority in interface HistoricTaskInstanceEntitypublic Date getDueDate()
TaskInfogetDueDate in interface TaskInfopublic void setDueDate(Date dueDate)
setDueDate in interface HistoricTaskInstanceEntitypublic String getCategory()
TaskInfogetCategory in interface TaskInfopublic void setCategory(String category)
setCategory in interface HistoricTaskInstanceEntitypublic String getOwner()
TaskInfouserId of the person that is responsible for this task.public void setOwner(String owner)
setOwner in interface HistoricTaskInstanceEntitypublic String getParentTaskId()
TaskInfogetParentTaskId in interface TaskInfopublic void setParentTaskId(String parentTaskId)
setParentTaskId in interface HistoricTaskInstanceEntitypublic Date getClaimTime()
HistoricTaskInstancegetClaimTime in interface HistoricTaskInstancepublic void setClaimTime(Date claimTime)
setClaimTime in interface HistoricTaskInstanceEntitypublic String getTenantId()
TaskInfogetTenantId in interface TaskInfopublic void setTenantId(String tenantId)
setTenantId in interface HistoricTaskInstanceEntitypublic 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()
getQueryVariables in interface HistoricTaskInstanceEntitypublic void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
setQueryVariables in interface HistoricTaskInstanceEntityCopyright © 2015 Alfresco. All rights reserved.