Class HistoricIdentityLinkEntityImpl
java.lang.Object
org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
org.activiti.engine.impl.persistence.entity.HistoricIdentityLinkEntityImpl
- All Implemented Interfaces:
Serializable,HistoricIdentityLink,BulkDeleteable,Entity,HistoricIdentityLinkEntity
public class HistoricIdentityLinkEntityImpl
extends AbstractEntityNoRevision
implements HistoricIdentityLinkEntity, Serializable, BulkDeleteable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]The details associated with the identity link, JWT subIf the identity link involves a group, then this will be a non-null id of a group.Returns a representation of the object, as would be stored in the database.The id of the process instance associated with this identity link.The id of the task associated with this identity link.getType()Returns the type of link.If the identity link involves a user, then this will be a non-null id of a user.booleanisGroup()booleanisUser()voidsetDetails(byte[] details) voidsetGroupId(String groupId) voidsetProcessInstanceId(String processInstanceId) voidvoidvoidMethods 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, setUpdated
-
Field Details
-
type
-
userId
-
groupId
-
taskId
-
processInstanceId
-
details
protected byte[] details
-
-
Constructor Details
-
HistoricIdentityLinkEntityImpl
public HistoricIdentityLinkEntityImpl()
-
-
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
-
isUser
public boolean isUser()- Specified by:
isUserin interfaceHistoricIdentityLinkEntity
-
isGroup
public boolean isGroup()- Specified by:
isGroupin interfaceHistoricIdentityLinkEntity
-
getType
Description copied from interface:HistoricIdentityLinkReturns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti.- Specified by:
getTypein interfaceHistoricIdentityLink
-
setType
- Specified by:
setTypein interfaceHistoricIdentityLinkEntity
-
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 theAPI.invalid reference
UserQuery- Specified by:
getUserIdin interfaceHistoricIdentityLink
-
setUserId
- Specified by:
setUserIdin interfaceHistoricIdentityLinkEntity
-
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 theAPI.invalid reference
GroupQuery- Specified by:
getGroupIdin interfaceHistoricIdentityLink
-
setGroupId
- Specified by:
setGroupIdin interfaceHistoricIdentityLinkEntity
-
getTaskId
Description copied from interface:HistoricIdentityLinkThe id of the task associated with this identity link.- Specified by:
getTaskIdin interfaceHistoricIdentityLink
-
setTaskId
- Specified by:
setTaskIdin interfaceHistoricIdentityLinkEntity
-
getProcessInstanceId
Description copied from interface:HistoricIdentityLinkThe id of the process instance associated with this identity link.- Specified by:
getProcessInstanceIdin interfaceHistoricIdentityLink
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceHistoricIdentityLinkEntity
-
getDetails
public byte[] getDetails()Description copied from interface:HistoricIdentityLinkThe details associated with the identity link, JWT sub- Specified by:
getDetailsin interfaceHistoricIdentityLink
-
setDetails
public void setDetails(byte[] details) - Specified by:
setDetailsin interfaceHistoricIdentityLinkEntity
-