org.activiti.engine.impl.persistence.entity
类 HistoricTaskInstanceEntity

java.lang.Object
  继承者 org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntity
      继承者 org.activiti.engine.impl.persistence.entity.HistoricTaskInstanceEntity
所有已实现的接口:
Serializable, HistoricTaskInstance, PersistentObject

public class HistoricTaskInstanceEntity
extends HistoricScopeInstanceEntity
implements HistoricTaskInstance, PersistentObject

作者:
Tom Baeyens
另请参见:
序列化表格

字段摘要
protected  String assignee
           
protected  Date claimTime
           
protected  String description
           
protected  Date dueDate
           
protected  String executionId
           
protected  String formKey
           
protected  String name
           
protected  String owner
           
protected  String parentTaskId
           
protected  int priority
           
protected  List<HistoricVariableInstanceEntity> queryVariables
           
protected  String taskDefinitionKey
           
 
从类 org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntity 继承的字段
deleteReason, durationInMillis, endTime, id, processDefinitionId, processInstanceId, startTime
 
构造方法摘要
HistoricTaskInstanceEntity()
           
HistoricTaskInstanceEntity(TaskEntity task, ExecutionEntity execution)
           
 
方法摘要
 String getAssignee()
          The latest assignee given to this task.
 Date getClaimTime()
          Time when the task was claimed.
 String getDescription()
          The latest description given to this task.
 Date getDueDate()
          Task due date
 String getExecutionId()
          Execution reference.
 String getFormKey()
          Task form key.
 String getName()
          The latest name given to this task.
 String getOwner()
          Task owner
 String getParentTaskId()
          The parent task of this task, in case this task was a subtask
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 int getPriority()
          Task priority
 Map<String,Object> getProcessVariables()
          Returns the process variables if requested in the task query
 List<HistoricVariableInstanceEntity> getQueryVariables()
           
 String getTaskDefinitionKey()
          Task definition key.
 Map<String,Object> getTaskLocalVariables()
          Returns the local task variables if requested in the task query
 Long getWorkTimeInMillis()
          Difference between HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds.
 void setAssignee(String assignee)
           
 void setClaimTime(Date claimTime)
           
 void setDescription(String description)
           
 void setDueDate(Date dueDate)
           
 void setExecutionId(String executionId)
           
 void setFormKey(String formKey)
           
 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)
           
 
从类 org.activiti.engine.impl.persistence.entity.HistoricScopeInstanceEntity 继承的方法
getDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessInstanceId, getStartTime, markEnded, setDeleteReason, setDurationInMillis, setEndTime, setId, setProcessDefinitionId, setProcessInstanceId, setStartTime
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
从接口 org.activiti.engine.history.HistoricTaskInstance 继承的方法
getDeleteReason, getDurationInMillis, getEndTime, getId, getProcessDefinitionId, getProcessInstanceId, getStartTime
 
从接口 org.activiti.engine.impl.db.PersistentObject 继承的方法
getId, setId
 

字段详细信息

executionId

protected String executionId

name

protected String name

parentTaskId

protected String parentTaskId

description

protected String description

owner

protected String owner

assignee

protected String assignee

taskDefinitionKey

protected String taskDefinitionKey

formKey

protected String formKey

priority

protected int priority

dueDate

protected Date dueDate

claimTime

protected Date claimTime

queryVariables

protected List<HistoricVariableInstanceEntity> queryVariables
构造方法详细信息

HistoricTaskInstanceEntity

public HistoricTaskInstanceEntity()

HistoricTaskInstanceEntity

public HistoricTaskInstanceEntity(TaskEntity task,
                                  ExecutionEntity execution)
方法详细信息

getPersistentState

public Object getPersistentState()
从接口 PersistentObject 复制的描述
Returns 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.

指定者:
接口 PersistentObject 中的 getPersistentState

getExecutionId

public String getExecutionId()
从接口 HistoricTaskInstance 复制的描述
Execution reference.

指定者:
接口 HistoricTaskInstance 中的 getExecutionId

setExecutionId

public void setExecutionId(String executionId)

getName

public String getName()
从接口 HistoricTaskInstance 复制的描述
The latest name given to this task.

指定者:
接口 HistoricTaskInstance 中的 getName

setName

public void setName(String name)

getDescription

public String getDescription()
从接口 HistoricTaskInstance 复制的描述
The latest description given to this task.

指定者:
接口 HistoricTaskInstance 中的 getDescription

setDescription

public void setDescription(String description)

getAssignee

public String getAssignee()
从接口 HistoricTaskInstance 复制的描述
The latest assignee given to this task.

指定者:
接口 HistoricTaskInstance 中的 getAssignee

setAssignee

public void setAssignee(String assignee)

getTaskDefinitionKey

public String getTaskDefinitionKey()
从接口 HistoricTaskInstance 复制的描述
Task definition key.

指定者:
接口 HistoricTaskInstance 中的 getTaskDefinitionKey

setTaskDefinitionKey

public void setTaskDefinitionKey(String taskDefinitionKey)

getFormKey

public String getFormKey()
从接口 HistoricTaskInstance 复制的描述
Task form key.

指定者:
接口 HistoricTaskInstance 中的 getFormKey

setFormKey

public void setFormKey(String formKey)

getPriority

public int getPriority()
从接口 HistoricTaskInstance 复制的描述
Task priority

指定者:
接口 HistoricTaskInstance 中的 getPriority

setPriority

public void setPriority(int priority)

getDueDate

public Date getDueDate()
从接口 HistoricTaskInstance 复制的描述
Task due date

指定者:
接口 HistoricTaskInstance 中的 getDueDate

setDueDate

public void setDueDate(Date dueDate)

getOwner

public String getOwner()
从接口 HistoricTaskInstance 复制的描述
Task owner

指定者:
接口 HistoricTaskInstance 中的 getOwner

setOwner

public void setOwner(String owner)

getParentTaskId

public String getParentTaskId()
从接口 HistoricTaskInstance 复制的描述
The parent task of this task, in case this task was a subtask

指定者:
接口 HistoricTaskInstance 中的 getParentTaskId

setParentTaskId

public void setParentTaskId(String parentTaskId)

getClaimTime

public Date getClaimTime()
从接口 HistoricTaskInstance 复制的描述
Time when the task was claimed.

指定者:
接口 HistoricTaskInstance 中的 getClaimTime

setClaimTime

public void setClaimTime(Date claimTime)

getWorkTimeInMillis

public Long getWorkTimeInMillis()
从接口 HistoricTaskInstance 复制的描述
Difference between HistoricTaskInstance.getEndTime() and HistoricTaskInstance.getClaimTime() in milliseconds.

指定者:
接口 HistoricTaskInstance 中的 getWorkTimeInMillis

getTaskLocalVariables

public Map<String,Object> getTaskLocalVariables()
从接口 HistoricTaskInstance 复制的描述
Returns the local task variables if requested in the task query

指定者:
接口 HistoricTaskInstance 中的 getTaskLocalVariables

getProcessVariables

public Map<String,Object> getProcessVariables()
从接口 HistoricTaskInstance 复制的描述
Returns the process variables if requested in the task query

指定者:
接口 HistoricTaskInstance 中的 getProcessVariables

getQueryVariables

public List<HistoricVariableInstanceEntity> getQueryVariables()

setQueryVariables

public void setQueryVariables(List<HistoricVariableInstanceEntity> queryVariables)


Copyright © 2013 Alfresco. All rights reserved.