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, setStartTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getDeleteReason, getDurationInMillis, getEndTime, getStartTime
getId, getProcessDefinitionId, getProcessInstanceId
getId, setId
protected 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()
PersistentObject
getPersistentState
in interface PersistentObject
public String getExecutionId()
TaskInfo
getExecutionId
in interface TaskInfo
public void setExecutionId(String executionId)
public String getName()
TaskInfo
public void setName(String name)
public void setLocalizedName(String name)
HistoricTaskInstance
setLocalizedName
in interface HistoricTaskInstance
public String getDescription()
TaskInfo
getDescription
in interface TaskInfo
public void setDescription(String description)
public void setLocalizedDescription(String description)
HistoricTaskInstance
setLocalizedDescription
in interface HistoricTaskInstance
public String getAssignee()
TaskInfo
userId
of the person to which this task is
delegated.getAssignee
in interface TaskInfo
public void setAssignee(String assignee)
public String getTaskDefinitionKey()
TaskInfo
getTaskDefinitionKey
in interface TaskInfo
public void setTaskDefinitionKey(String taskDefinitionKey)
public Date getCreateTime()
TaskInfo
getCreateTime
in interface TaskInfo
public String getFormKey()
TaskInfo
getFormKey
in interface TaskInfo
public void setFormKey(String formKey)
public int getPriority()
TaskInfo
getPriority
in interface TaskInfo
public void setPriority(int priority)
public Date getDueDate()
TaskInfo
getDueDate
in interface TaskInfo
public void setDueDate(Date dueDate)
public String getCategory()
TaskInfo
getCategory
in interface TaskInfo
public void setCategory(String category)
public String getOwner()
TaskInfo
userId
of the person that is responsible for this
task.public void setOwner(String owner)
public String getParentTaskId()
TaskInfo
getParentTaskId
in interface TaskInfo
public void setParentTaskId(String parentTaskId)
public Date getClaimTime()
HistoricTaskInstance
getClaimTime
in interface HistoricTaskInstance
public void setClaimTime(Date claimTime)
public String getTenantId()
TaskInfo
getTenantId
in interface TaskInfo
public void setTenantId(String tenantId)
public Date getTime()
getTime
in interface HistoricData
public Long getWorkTimeInMillis()
HistoricTaskInstance
HistoricTaskInstance.getEndTime()
and HistoricTaskInstance.getClaimTime()
in milliseconds.getWorkTimeInMillis
in interface HistoricTaskInstance
public Map<String,Object> getTaskLocalVariables()
TaskInfo
getTaskLocalVariables
in interface TaskInfo
public Map<String,Object> getProcessVariables()
TaskInfo
getProcessVariables
in interface TaskInfo
public List<HistoricVariableInstanceEntity> getQueryVariables()
public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
Copyright © 2016 Alfresco. All rights reserved.