Class IdentityLinkEntityImpl
java.lang.Object
org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
org.activiti.engine.impl.persistence.entity.IdentityLinkEntityImpl
- All Implemented Interfaces:
Serializable,BulkDeleteable,Entity,IdentityLinkEntity,IdentityLink
public class IdentityLinkEntityImpl
extends AbstractEntityNoRevision
implements IdentityLinkEntity, Serializable, BulkDeleteable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected byte[]protected Stringprotected ProcessDefinitionEntityprotected Stringprotected ExecutionEntityprotected Stringprotected TaskEntityprotected 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 sub uuidIf 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 process definition id associated with this identity link.The process instance id associated with this identity link.getTask()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) voidsetProcessDef(ProcessDefinitionEntity processDef) voidsetProcessDefId(String processDefId) voidsetProcessInstance(ExecutionEntity processInstance) voidsetProcessInstanceId(String processInstanceId) voidsetTask(TaskEntity task) voidvoidvoidtoString()Methods 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, 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
-
processDefId
-
task
-
processInstance
-
processDef
-
details
protected byte[] details
-
-
Constructor Details
-
IdentityLinkEntityImpl
public IdentityLinkEntityImpl()
-
-
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 interfaceIdentityLinkEntity
-
isGroup
public boolean isGroup()- Specified by:
isGroupin interfaceIdentityLinkEntity
-
getType
Description copied from interface:IdentityLinkReturns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti.- Specified by:
getTypein interfaceIdentityLink
-
setType
- Specified by:
setTypein interfaceIdentityLinkEntity
-
getUserId
Description copied from interface:IdentityLinkIf 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 interfaceIdentityLink
-
setUserId
- Specified by:
setUserIdin interfaceIdentityLinkEntity
-
getGroupId
Description copied from interface:IdentityLinkIf 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 interfaceIdentityLink
-
setGroupId
- Specified by:
setGroupIdin interfaceIdentityLinkEntity
-
getTaskId
Description copied from interface:IdentityLinkThe id of the task associated with this identity link.- Specified by:
getTaskIdin interfaceIdentityLink
-
setTaskId
- Specified by:
setTaskIdin interfaceIdentityLinkEntity
-
getProcessInstanceId
Description copied from interface:IdentityLinkThe process instance id associated with this identity link.- Specified by:
getProcessInstanceIdin interfaceIdentityLink
-
setProcessInstanceId
- Specified by:
setProcessInstanceIdin interfaceIdentityLinkEntity
-
getProcessDefId
- Specified by:
getProcessDefIdin interfaceIdentityLinkEntity
-
setProcessDefId
- Specified by:
setProcessDefIdin interfaceIdentityLinkEntity
-
getTask
- Specified by:
getTaskin interfaceIdentityLinkEntity
-
setTask
- Specified by:
setTaskin interfaceIdentityLinkEntity
-
getProcessInstance
- Specified by:
getProcessInstancein interfaceIdentityLinkEntity
-
setProcessInstance
- Specified by:
setProcessInstancein interfaceIdentityLinkEntity
-
getProcessDef
- Specified by:
getProcessDefin interfaceIdentityLinkEntity
-
setProcessDef
- Specified by:
setProcessDefin interfaceIdentityLinkEntity
-
getProcessDefinitionId
Description copied from interface:IdentityLinkThe process definition id associated with this identity link.- Specified by:
getProcessDefinitionIdin interfaceIdentityLink- Specified by:
getProcessDefinitionIdin interfaceIdentityLinkEntity
-
setDetails
public void setDetails(byte[] details) - Specified by:
setDetailsin interfaceIdentityLinkEntity
-
getDetails
public byte[] getDetails()Description copied from interface:IdentityLinkThe details associated with the identity link, JWT sub uuid- Specified by:
getDetailsin interfaceIdentityLink
-
toString
-