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

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

public class IdentityLinkEntity
extends Object
implements Serializable, IdentityLink, PersistentObject

作者:
Joram Barrez
另请参见:
序列化表格

字段摘要
protected  String groupId
           
protected  String id
           
protected  ProcessDefinitionEntity processDef
           
protected  String processDefId
           
protected  ExecutionEntity processInstance
           
protected  String processInstanceId
           
protected  TaskEntity task
           
protected  String taskId
           
protected  String type
           
protected  String userId
           
 
构造方法摘要
IdentityLinkEntity()
           
 
方法摘要
 String getGroupId()
          If the identity link involves a group, then this will be a non-null id of a group.
 String getId()
           
 Object getPersistentState()
          Returns a representation of the object, as would be stored in the database.
 ProcessDefinitionEntity getProcessDef()
           
 String getProcessDefId()
           
 String getProcessDefinitionId()
          The process definition id associated with this identity link.
 ExecutionEntity getProcessInstance()
           
 String getProcessInstanceId()
          The process instance id associated with this identity link.
 TaskEntity getTask()
           
 String getTaskId()
          The id of the task associated with this identity link.
 String getType()
          Returns the type of link.
 String getUserId()
          If the identity link involves a user, then this will be a non-null id of a user.
 void insert()
           
 boolean isGroup()
           
 boolean isUser()
           
 void setGroupId(String groupId)
           
 void setId(String id)
           
 void setProcessDef(ProcessDefinitionEntity processDef)
           
 void setProcessDefId(String processDefId)
           
 void setProcessInstance(ExecutionEntity processInstance)
           
 void setProcessInstanceId(String processInstanceId)
           
 void setTask(TaskEntity task)
           
 void setTaskId(String taskId)
           
 void setType(String type)
           
 void setUserId(String userId)
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

id

protected String id

type

protected String type

userId

protected String userId

groupId

protected String groupId

taskId

protected String taskId

processInstanceId

protected String processInstanceId

processDefId

protected String processDefId

task

protected TaskEntity task

processInstance

protected ExecutionEntity processInstance

processDef

protected ProcessDefinitionEntity processDef
构造方法详细信息

IdentityLinkEntity

public IdentityLinkEntity()
方法详细信息

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

insert

public void insert()

isUser

public boolean isUser()

isGroup

public boolean isGroup()

getId

public String getId()
指定者:
接口 PersistentObject 中的 getId

setId

public void setId(String id)
指定者:
接口 PersistentObject 中的 setId

getType

public String getType()
从接口 IdentityLink 复制的描述
Returns the type of link. See IdentityLinkType for the native supported types by Activiti.

指定者:
接口 IdentityLink 中的 getType

setType

public void setType(String type)

getUserId

public String getUserId()
从接口 IdentityLink 复制的描述
If the identity link involves a user, then this will be a non-null id of a user. That userId can be used to query for user information through the UserQuery API.

指定者:
接口 IdentityLink 中的 getUserId

setUserId

public void setUserId(String userId)

getGroupId

public String getGroupId()
从接口 IdentityLink 复制的描述
If the identity link involves a group, then this will be a non-null id of a group. That groupId can be used to query for user information through the GroupQuery API.

指定者:
接口 IdentityLink 中的 getGroupId

setGroupId

public void setGroupId(String groupId)

getTaskId

public String getTaskId()
从接口 IdentityLink 复制的描述
The id of the task associated with this identity link.

指定者:
接口 IdentityLink 中的 getTaskId

setTaskId

public void setTaskId(String taskId)

getProcessInstanceId

public String getProcessInstanceId()
从接口 IdentityLink 复制的描述
The process instance id associated with this identity link.

指定者:
接口 IdentityLink 中的 getProcessInstanceId

setProcessInstanceId

public void setProcessInstanceId(String processInstanceId)

getProcessDefId

public String getProcessDefId()

setProcessDefId

public void setProcessDefId(String processDefId)

getTask

public TaskEntity getTask()

setTask

public void setTask(TaskEntity task)

getProcessInstance

public ExecutionEntity getProcessInstance()

setProcessInstance

public void setProcessInstance(ExecutionEntity processInstance)

getProcessDef

public ProcessDefinitionEntity getProcessDef()

setProcessDef

public void setProcessDef(ProcessDefinitionEntity processDef)

getProcessDefinitionId

public String getProcessDefinitionId()
从接口 IdentityLink 复制的描述
The process definition id associated with this identity link.

指定者:
接口 IdentityLink 中的 getProcessDefinitionId

toString

public String toString()
覆盖:
Object 中的 toString


Copyright © 2013 Alfresco. All rights reserved.