public class HistoricTaskInstanceEntityImpl extends AbstractTaskServiceEntity implements HistoricTaskInstanceEntity
id, isDeleted, isInserted, isUpdated, originalPersistentState, revision| Constructor and Description |
|---|
HistoricTaskInstanceEntityImpl() |
HistoricTaskInstanceEntityImpl(TaskEntity task) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAssignee()
The user id 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 |
getDeleteReason()
The reason why this task was deleted {'completed' | 'deleted' | any other user defined string }.
|
String |
getDescription()
Free text description of the task.
|
Date |
getDueDate()
Due date of the task.
|
Long |
getDurationInMillis()
Difference between
HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getStartTime() in milliseconds. |
Date |
getEndTime()
Time when the task was deleted or completed.
|
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
|
List<HistoricIdentityLinkEntity> |
getIdentityLinks()
Returns the identity links.
|
protected IdentityLinkServiceConfiguration |
getIdentityLinkServiceConfiguration() |
Date |
getLastUpdateTime() |
String |
getName()
Name or title of the task.
|
String |
getOwner()
The user id 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
|
String |
getProcessDefinitionId()
Reference to the process definition or null if it is not related to a process.
|
String |
getProcessInstanceId()
Reference to the process instance or null if it is not related to a process instance.
|
Map<String,Object> |
getProcessVariables()
Returns the process variables if requested in the task query
|
String |
getPropagatedStageInstanceId()
If this task runs in the context of a case and stage, this method returns it's closest parent stage instance id (the stage plan item instance id to be
precise).
|
List<HistoricIdentityLinkEntity> |
getQueryIdentityLinks() |
List<HistoricVariableInstanceEntity> |
getQueryVariables() |
String |
getScopeDefinitionId()
Reference to a scope definition identifier or null if none is set (e.g.
|
String |
getScopeId()
Reference to a scope identifier or null if none is set (e.g.
|
String |
getScopeType()
Reference to a scope type or null if none is set (e.g.
|
Date |
getStartTime()
Time when the task created.
|
String |
getSubScopeId()
Reference to a sub scope identifier or null if none is set (e.g.
|
String |
getTaskDefinitionId()
Reference to the task definition or null if it is not related to any task definition.
|
String |
getTaskDefinitionKey()
The id of the activity in the process defining this task or null if this is not related to a process
|
protected AbstractEngineConfiguration |
getTaskEngineConfiguration() |
Map<String,Object> |
getTaskLocalVariables()
Returns the local task variables if requested in the task query
|
protected TaskServiceConfiguration |
getTaskServiceConfiguration() |
String |
getTenantId()
The tenant identifier of this task
|
Date |
getTime() |
Long |
getWorkTimeInMillis()
Difference between
HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds. |
void |
markEnded(String deleteReason,
Date endTime) |
void |
setAssignee(String assignee) |
void |
setCategory(String category) |
void |
setClaimTime(Date claimTime) |
void |
setCreateTime(Date createTime) |
void |
setDeleteReason(String deleteReason) |
void |
setDescription(String description) |
void |
setDueDate(Date dueDate) |
void |
setDurationInMillis(Long durationInMillis) |
void |
setEndTime(Date endTime) |
void |
setExecutionId(String executionId) |
void |
setFormKey(String formKey) |
void |
setLastUpdateTime(Date lastUpdateTime) |
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 |
setProcessDefinitionId(String processDefinitionId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setQueryIdentityLinks(List<HistoricIdentityLinkEntity> identityLinks) |
void |
setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables) |
void |
setScopeDefinitionId(String scopeDefinitionId) |
void |
setScopeId(String scopeId) |
void |
setScopeType(String scopeType) |
void |
setSubScopeId(String subScopeId) |
void |
setTaskDefinitionId(String taskDefinitionId) |
void |
setTaskDefinitionKey(String taskDefinitionKey) |
void |
setTenantId(String tenantId) |
String |
toString() |
getIdPrefixgetId, getOriginalPersistentState, getRevision, getRevisionNext, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setRevision, setUpdatedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetStartTimegetId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdatedgetRevision, getRevisionNext, setRevisionprotected String executionId
protected String processInstanceId
protected String processDefinitionId
protected String taskDefinitionId
protected String scopeId
protected String subScopeId
protected String scopeType
protected String scopeDefinitionId
protected String propagatedStageInstanceId
protected Date createTime
protected Date endTime
protected Long durationInMillis
protected String deleteReason
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 Date lastUpdateTime
protected List<HistoricVariableInstanceEntity> queryVariables
protected List<HistoricIdentityLinkEntity> queryIdentityLinks
protected List<HistoricIdentityLinkEntity> identityLinks
protected boolean isIdentityLinksInitialized
public HistoricTaskInstanceEntityImpl()
public HistoricTaskInstanceEntityImpl(TaskEntity task)
public Object getPersistentState()
EntitygetPersistentState in interface Entitypublic void markEnded(String deleteReason, Date endTime)
markEnded in interface HistoricTaskInstanceEntitypublic String getExecutionId()
TaskInfogetExecutionId in interface TaskInfopublic void setExecutionId(String executionId)
setExecutionId in interface HistoricTaskInstanceEntitypublic String getProcessInstanceId()
TaskInfogetProcessInstanceId in interface TaskInfopublic String getProcessDefinitionId()
TaskInfogetProcessDefinitionId in interface TaskInfopublic String getTaskDefinitionId()
TaskInfogetTaskDefinitionId in interface TaskInfopublic String getScopeId()
TaskInfogetScopeId in interface TaskInfopublic void setScopeId(String scopeId)
setScopeId in interface HistoricTaskInstanceEntitypublic String getSubScopeId()
TaskInfogetSubScopeId in interface TaskInfopublic void setSubScopeId(String subScopeId)
setSubScopeId in interface HistoricTaskInstanceEntitypublic String getScopeType()
TaskInfogetScopeType in interface TaskInfopublic void setScopeType(String scopeType)
setScopeType in interface HistoricTaskInstanceEntitypublic String getScopeDefinitionId()
TaskInfogetScopeDefinitionId in interface TaskInfopublic void setScopeDefinitionId(String scopeDefinitionId)
setScopeDefinitionId in interface HistoricTaskInstanceEntitypublic String getPropagatedStageInstanceId()
TaskInfogetPropagatedStageInstanceId in interface TaskInfopublic Date getStartTime()
HistoricTaskInstancegetStartTime in interface HistoricTaskInstancepublic Date getEndTime()
HistoricTaskInstancegetEndTime in interface HistoricTaskInstancepublic Long getDurationInMillis()
HistoricTaskInstanceHistoricTaskInstance.getEndTime() and HistoricTaskInstance.getStartTime() in milliseconds.getDurationInMillis in interface HistoricTaskInstancepublic void setProcessInstanceId(String processInstanceId)
setProcessInstanceId in interface HistoricTaskInstanceEntitypublic void setProcessDefinitionId(String processDefinitionId)
setProcessDefinitionId in interface HistoricTaskInstanceEntitypublic void setTaskDefinitionId(String taskDefinitionId)
setTaskDefinitionId in interface HistoricTaskInstanceEntitypublic void setCreateTime(Date createTime)
setCreateTime in interface HistoricTaskInstanceEntitypublic void setEndTime(Date endTime)
setEndTime in interface HistoricTaskInstanceEntitypublic void setDurationInMillis(Long durationInMillis)
setDurationInMillis in interface HistoricTaskInstanceEntitypublic String getDeleteReason()
HistoricTaskInstancegetDeleteReason in interface HistoricTaskInstancepublic void setDeleteReason(String deleteReason)
setDeleteReason 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()
TaskInfogetAssignee 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()
TaskInfopublic 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 HistoricTaskInstancegetClaimTime in interface TaskInfopublic 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 Date getLastUpdateTime()
getLastUpdateTime in interface HistoricTaskInstanceEntitypublic void setLastUpdateTime(Date lastUpdateTime)
setLastUpdateTime in interface HistoricTaskInstanceEntitypublic 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 HistoricTaskInstanceEntitypublic List<HistoricIdentityLinkEntity> getIdentityLinks()
TaskInfogetIdentityLinks in interface TaskInfopublic List<HistoricIdentityLinkEntity> getQueryIdentityLinks()
public void setQueryIdentityLinks(List<HistoricIdentityLinkEntity> identityLinks)
protected TaskServiceConfiguration getTaskServiceConfiguration()
protected IdentityLinkServiceConfiguration getIdentityLinkServiceConfiguration()
protected AbstractEngineConfiguration getTaskEngineConfiguration()
Copyright © 2023 Flowable. All rights reserved.