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, setStartTime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDeleteReason, getDurationInMillis, getEndTime, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTime
getDeleteReason, getDurationInMillis, getEndTime, getStartTime
getId, getProcessDefinitionId, getProcessInstanceId
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 HistoricTaskInstanceEntityImpl()
public HistoricTaskInstanceEntityImpl(TaskEntity task, ExecutionEntity execution)
public Object getPersistentState()
Entity
getPersistentState
in interface Entity
public String getExecutionId()
TaskInfo
getExecutionId
in interface TaskInfo
public void setExecutionId(String executionId)
setExecutionId
in interface HistoricTaskInstanceEntity
public String getName()
TaskInfo
public void setName(String name)
setName
in interface HistoricTaskInstanceEntity
public void setLocalizedName(String name)
HistoricTaskInstanceEntity
setLocalizedName
in interface HistoricTaskInstanceEntity
public String getDescription()
TaskInfo
getDescription
in interface TaskInfo
public void setDescription(String description)
setDescription
in interface HistoricTaskInstanceEntity
public void setLocalizedDescription(String description)
HistoricTaskInstanceEntity
setLocalizedDescription
in interface HistoricTaskInstanceEntity
public String getAssignee()
TaskInfo
userId
of the person to which this task is delegated.getAssignee
in interface TaskInfo
public void setAssignee(String assignee)
setAssignee
in interface HistoricTaskInstanceEntity
public String getTaskDefinitionKey()
TaskInfo
getTaskDefinitionKey
in interface TaskInfo
public void setTaskDefinitionKey(String taskDefinitionKey)
setTaskDefinitionKey
in interface HistoricTaskInstanceEntity
public Date getCreateTime()
TaskInfo
getCreateTime
in interface TaskInfo
public String getFormKey()
TaskInfo
getFormKey
in interface TaskInfo
public void setFormKey(String formKey)
setFormKey
in interface HistoricTaskInstanceEntity
public int getPriority()
TaskInfo
getPriority
in interface TaskInfo
public void setPriority(int priority)
setPriority
in interface HistoricTaskInstanceEntity
public Date getDueDate()
TaskInfo
getDueDate
in interface TaskInfo
public void setDueDate(Date dueDate)
setDueDate
in interface HistoricTaskInstanceEntity
public String getCategory()
TaskInfo
getCategory
in interface TaskInfo
public void setCategory(String category)
setCategory
in interface HistoricTaskInstanceEntity
public String getOwner()
TaskInfo
userId
of the person that is responsible for this task.public void setOwner(String owner)
setOwner
in interface HistoricTaskInstanceEntity
public String getParentTaskId()
TaskInfo
getParentTaskId
in interface TaskInfo
public void setParentTaskId(String parentTaskId)
setParentTaskId
in interface HistoricTaskInstanceEntity
public Date getClaimTime()
HistoricTaskInstance
getClaimTime
in interface HistoricTaskInstance
public void setClaimTime(Date claimTime)
setClaimTime
in interface HistoricTaskInstanceEntity
public String getTenantId()
TaskInfo
getTenantId
in interface TaskInfo
public void setTenantId(String tenantId)
setTenantId
in interface HistoricTaskInstanceEntity
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()
getQueryVariables
in interface HistoricTaskInstanceEntity
public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)
setQueryVariables
in interface HistoricTaskInstanceEntity
Copyright © 2015 Alfresco. All rights reserved.