Class HistoricIdentityLinkEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.HistoricIdentityLinkEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable,HistoricIdentityLink,BulkDeleteable,Entity,HistoricIdentityLinkEntity
public class HistoricIdentityLinkEntityImpl extends AbstractEntityNoRevision implements HistoricIdentityLinkEntity, java.io.Serializable, BulkDeleteable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringgroupIdprotected java.lang.StringprocessInstanceIdprotected java.lang.StringtaskIdprotected java.lang.Stringtypeprotected java.lang.StringuserId-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
-
Constructor Summary
Constructors Constructor Description HistoricIdentityLinkEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetGroupId()If the identity link involves a group, then this will be a non-null id of a group.java.lang.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.java.lang.StringgetProcessInstanceId()The id of the process instance associated with this identity link.java.lang.StringgetTaskId()The id of the task associated with this identity link.java.lang.StringgetType()Returns the type of link.java.lang.StringgetUserId()If the identity link involves a user, then this will be a non-null id of a user.booleanisGroup()booleanisUser()voidsetGroupId(java.lang.String groupId)voidsetProcessInstanceId(java.lang.String processInstanceId)voidsetTaskId(java.lang.String taskId)voidsetType(java.lang.String type)voidsetUserId(java.lang.String userId)-
Methods inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Method Detail
-
getPersistentState
public java.lang.Object 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
-
isUser
public boolean isUser()
- Specified by:
isUserin interfaceHistoricIdentityLinkEntity
-
isGroup
public boolean isGroup()
- Specified by:
isGroupin interfaceHistoricIdentityLinkEntity
-
getType
public java.lang.String getType()
Description copied from interface:HistoricIdentityLinkReturns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti.- Specified by:
getTypein interfaceHistoricIdentityLink
-
setType
public void setType(java.lang.String type)
- Specified by:
setTypein interfaceHistoricIdentityLinkEntity
-
getUserId
public java.lang.String getUserId()
Description copied from interface:HistoricIdentityLinkIf 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 theUserQueryAPI.- Specified by:
getUserIdin interfaceHistoricIdentityLink
-
setUserId
public void setUserId(java.lang.String userId)
- Specified by:
setUserIdin interfaceHistoricIdentityLinkEntity
-
getGroupId
public java.lang.String getGroupId()
Description copied from interface:HistoricIdentityLinkIf 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 theGroupQueryAPI.- Specified by:
getGroupIdin interfaceHistoricIdentityLink
-
setGroupId
public void setGroupId(java.lang.String groupId)
- Specified by:
setGroupIdin interfaceHistoricIdentityLinkEntity
-
getTaskId
public java.lang.String getTaskId()
Description copied from interface:HistoricIdentityLinkThe id of the task associated with this identity link.- Specified by:
getTaskIdin interfaceHistoricIdentityLink
-
setTaskId
public void setTaskId(java.lang.String taskId)
- Specified by:
setTaskIdin interfaceHistoricIdentityLinkEntity
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
Description copied from interface:HistoricIdentityLinkThe id of the process instance associated with this identity link.- Specified by:
getProcessInstanceIdin interfaceHistoricIdentityLink
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceHistoricIdentityLinkEntity
-
-