Class HistoricTaskInstanceEntityImpl
java.lang.Object
org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntityImpl
- All Implemented Interfaces:
Serializable,HistoricData,HistoricTaskInstance,BulkDeleteable,Entity,HistoricScopeInstanceEntity,HistoricTaskInstanceEntity,TaskInfo
public class HistoricTaskInstanceEntityImpl
extends HistoricScopeInstanceEntityImpl
implements HistoricTaskInstanceEntity, BulkDeleteable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Dateprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected intprotected List<HistoricVariableInstanceEntity>protected Stringprotected StringFields inherited from class org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
deleteReason, durationInMillis, endTime, processDefinitionId, processInstanceId, startTimeFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe {@link User.getId() userId} of the person to which this task is delegated.The category of the task.Time when the task was claimed.The date/time when this task was createdFree text description of the task.Due date of the task.Reference to the path of execution or null if it is not related to a process instance.The form key for the user taskgetName()Name or title of the task.getOwner()The {@link User.getId() userId} of the person that is responsible for this task.The parent task for which this task is a subtaskReturns a representation of the object, as would be stored in the database.intIndication of how important/urgent this task isReturns the process variables if requested in the task queryThe id of the activity in the process defining this task or null if this is not related to a processReturns the local task variables if requested in the task queryThe tenant identifier of this taskgetTime()Difference betweenHistoricTaskInstance.getEndTime()andHistoricTaskInstance.getClaimTime()in milliseconds.voidsetAssignee(String assignee) voidsetBusinessKey(String businessKey) voidsetCategory(String category) voidsetClaimTime(Date claimTime) voidsetDescription(String description) voidsetDueDate(Date dueDate) voidsetExecutionId(String executionId) voidsetFormKey(String formKey) voidsetLocalizedDescription(String description) Sets an optional localized description for the task.voidsetLocalizedName(String name) Sets an optional localized name for the task.voidvoidvoidsetParentTaskId(String parentTaskId) voidsetPriority(int priority) voidsetQueryVariables(List<HistoricVariableInstanceEntity> queryVariables) voidsetTaskDefinitionKey(String taskDefinitionKey) voidsetTenantId(String tenantId) Methods inherited from class org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntityImpl
getDeleteReason, getDurationInMillis, getEndTime, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTimeMethods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdatedMethods inherited from interface org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntity
getDeleteReason, getDurationInMillis, getEndTime, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setProcessDefinitionId, setProcessInstanceId, setStartTimeMethods inherited from interface org.activiti.engine.history.HistoricTaskInstance
getDeleteReason, getDurationInMillis, getEndTime, getStartTimeMethods inherited from interface org.activiti.engine.task.TaskInfo
getId, getProcessDefinitionId, getProcessInstanceId
-
Field Details
-
executionId
-
name
-
localizedName
-
parentTaskId
-
description
-
localizedDescription
-
owner
-
assignee
-
taskDefinitionKey
-
formKey
-
priority
protected int priority -
dueDate
-
claimTime
-
category
-
tenantId
-
queryVariables
-
businessKey
-
-
Constructor Details
-
HistoricTaskInstanceEntityImpl
public HistoricTaskInstanceEntityImpl() -
HistoricTaskInstanceEntityImpl
-
-
Method Details
-
getPersistentState
Description copied from interface:EntityReturns a representation of the object, as would be stored in the database. Used when deciding if updates have occurred to the object or not since it was last loaded.- Specified by:
getPersistentStatein interfaceEntity
-
getExecutionId
Description copied from interface:TaskInfoReference to the path of execution or null if it is not related to a process instance.- Specified by:
getExecutionIdin interfaceTaskInfo
-
setExecutionId
- Specified by:
setExecutionIdin interfaceHistoricTaskInstanceEntity
-
getName
Description copied from interface:TaskInfoName or title of the task. -
setName
- Specified by:
setNamein interfaceHistoricTaskInstanceEntity
-
setLocalizedName
Description copied from interface:HistoricTaskInstanceEntitySets an optional localized name for the task.- Specified by:
setLocalizedNamein interfaceHistoricTaskInstanceEntity
-
getDescription
Description copied from interface:TaskInfoFree text description of the task.- Specified by:
getDescriptionin interfaceTaskInfo
-
setDescription
- Specified by:
setDescriptionin interfaceHistoricTaskInstanceEntity
-
setLocalizedDescription
Description copied from interface:HistoricTaskInstanceEntitySets an optional localized description for the task.- Specified by:
setLocalizedDescriptionin interfaceHistoricTaskInstanceEntity
-
getAssignee
Description copied from interface:TaskInfoThe {@link User.getId() userId} of the person to which this task is delegated.- Specified by:
getAssigneein interfaceTaskInfo
-
setAssignee
- Specified by:
setAssigneein interfaceHistoricTaskInstanceEntity
-
getTaskDefinitionKey
Description copied from interface:TaskInfoThe id of the activity in the process defining this task or null if this is not related to a process- Specified by:
getTaskDefinitionKeyin interfaceTaskInfo
-
setTaskDefinitionKey
- Specified by:
setTaskDefinitionKeyin interfaceHistoricTaskInstanceEntity
-
getCreateTime
Description copied from interface:TaskInfoThe date/time when this task was created- Specified by:
getCreateTimein interfaceTaskInfo
-
getFormKey
Description copied from interface:TaskInfoThe form key for the user task- Specified by:
getFormKeyin interfaceTaskInfo
-
setFormKey
- Specified by:
setFormKeyin interfaceHistoricTaskInstanceEntity
-
getPriority
public int getPriority()Description copied from interface:TaskInfoIndication of how important/urgent this task is- Specified by:
getPriorityin interfaceTaskInfo
-
setPriority
public void setPriority(int priority) - Specified by:
setPriorityin interfaceHistoricTaskInstanceEntity
-
getDueDate
Description copied from interface:TaskInfoDue date of the task.- Specified by:
getDueDatein interfaceTaskInfo
-
setDueDate
- Specified by:
setDueDatein interfaceHistoricTaskInstanceEntity
-
getCategory
Description copied from interface:TaskInfoThe category of the task. This is an optional field and allows to 'tag' tasks as belonging to a certain category.- Specified by:
getCategoryin interfaceTaskInfo
-
setCategory
- Specified by:
setCategoryin interfaceHistoricTaskInstanceEntity
-
getOwner
Description copied from interface:TaskInfoThe {@link User.getId() userId} of the person that is responsible for this task. -
setOwner
- Specified by:
setOwnerin interfaceHistoricTaskInstanceEntity
-
getParentTaskId
Description copied from interface:TaskInfoThe parent task for which this task is a subtask- Specified by:
getParentTaskIdin interfaceTaskInfo
-
setParentTaskId
- Specified by:
setParentTaskIdin interfaceHistoricTaskInstanceEntity
-
getClaimTime
Description copied from interface:HistoricTaskInstanceTime when the task was claimed.- Specified by:
getClaimTimein interfaceHistoricTaskInstance- Specified by:
getClaimTimein interfaceTaskInfo
-
setClaimTime
- Specified by:
setClaimTimein interfaceHistoricTaskInstanceEntity
-
getTenantId
Description copied from interface:TaskInfoThe tenant identifier of this task- Specified by:
getTenantIdin interfaceTaskInfo
-
setTenantId
- Specified by:
setTenantIdin interfaceHistoricTaskInstanceEntity
-
getTime
- Specified by:
getTimein interfaceHistoricData
-
getBusinessKey
- Specified by:
getBusinessKeyin interfaceTaskInfo
-
setBusinessKey
-
getWorkTimeInMillis
Description copied from interface:HistoricTaskInstanceDifference betweenHistoricTaskInstance.getEndTime()andHistoricTaskInstance.getClaimTime()in milliseconds.- Specified by:
getWorkTimeInMillisin interfaceHistoricTaskInstance
-
getTaskLocalVariables
Description copied from interface:TaskInfoReturns the local task variables if requested in the task query- Specified by:
getTaskLocalVariablesin interfaceTaskInfo
-
getProcessVariables
Description copied from interface:TaskInfoReturns the process variables if requested in the task query- Specified by:
getProcessVariablesin interfaceTaskInfo
-
getQueryVariables
- Specified by:
getQueryVariablesin interfaceHistoricTaskInstanceEntity
-
setQueryVariables
- Specified by:
setQueryVariablesin interfaceHistoricTaskInstanceEntity
-