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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringgroupIdprotected ProcessDefinitionEntityprocessDefprotected StringprocessDefIdprotected ExecutionEntityprocessInstanceprotected StringprocessInstanceIdprotected TaskEntitytaskprotected StringtaskIdprotected Stringtypeprotected StringuserId-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
-
Constructor Summary
Constructors Constructor Description IdentityLinkEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGroupId()If the identity link involves a group, then this will be a non-null id of a group.ObjectgetPersistentState()Returns a representation of the object, as would be stored in the database.ProcessDefinitionEntitygetProcessDef()StringgetProcessDefId()StringgetProcessDefinitionId()The process definition id associated with this identity link.ExecutionEntitygetProcessInstance()StringgetProcessInstanceId()The process instance id associated with this identity link.TaskEntitygetTask()StringgetTaskId()The id of the task associated with this identity link.StringgetType()Returns the type of link.StringgetUserId()If the identity link involves a user, then this will be a non-null id of a user.booleanisGroup()booleanisUser()voidsetGroupId(String groupId)voidsetProcessDef(ProcessDefinitionEntity processDef)voidsetProcessDefId(String processDefId)voidsetProcessInstance(ExecutionEntity processInstance)voidsetProcessInstanceId(String processInstanceId)voidsetTask(TaskEntity task)voidsetTaskId(String taskId)voidsetType(String type)voidsetUserId(String userId)StringtoString()-
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, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Field Detail
-
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
-
-
Method Detail
-
getPersistentState
public 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 interfaceIdentityLinkEntity
-
isGroup
public boolean isGroup()
- Specified by:
isGroupin interfaceIdentityLinkEntity
-
getType
public String getType()
Description copied from interface:IdentityLinkReturns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti.- Specified by:
getTypein interfaceIdentityLink
-
setType
public void setType(String type)
- Specified by:
setTypein interfaceIdentityLinkEntity
-
getUserId
public String 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 theUserQueryAPI.- Specified by:
getUserIdin interfaceIdentityLink
-
setUserId
public void setUserId(String userId)
- Specified by:
setUserIdin interfaceIdentityLinkEntity
-
getGroupId
public String 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 theGroupQueryAPI.- Specified by:
getGroupIdin interfaceIdentityLink
-
setGroupId
public void setGroupId(String groupId)
- Specified by:
setGroupIdin interfaceIdentityLinkEntity
-
getTaskId
public String getTaskId()
Description copied from interface:IdentityLinkThe id of the task associated with this identity link.- Specified by:
getTaskIdin interfaceIdentityLink
-
setTaskId
public void setTaskId(String taskId)
- Specified by:
setTaskIdin interfaceIdentityLinkEntity
-
getProcessInstanceId
public String getProcessInstanceId()
Description copied from interface:IdentityLinkThe process instance id associated with this identity link.- Specified by:
getProcessInstanceIdin interfaceIdentityLink
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
- Specified by:
setProcessInstanceIdin interfaceIdentityLinkEntity
-
getProcessDefId
public String getProcessDefId()
- Specified by:
getProcessDefIdin interfaceIdentityLinkEntity
-
setProcessDefId
public void setProcessDefId(String processDefId)
- Specified by:
setProcessDefIdin interfaceIdentityLinkEntity
-
getTask
public TaskEntity getTask()
- Specified by:
getTaskin interfaceIdentityLinkEntity
-
setTask
public void setTask(TaskEntity task)
- Specified by:
setTaskin interfaceIdentityLinkEntity
-
getProcessInstance
public ExecutionEntity getProcessInstance()
- Specified by:
getProcessInstancein interfaceIdentityLinkEntity
-
setProcessInstance
public void setProcessInstance(ExecutionEntity processInstance)
- Specified by:
setProcessInstancein interfaceIdentityLinkEntity
-
getProcessDef
public ProcessDefinitionEntity getProcessDef()
- Specified by:
getProcessDefin interfaceIdentityLinkEntity
-
setProcessDef
public void setProcessDef(ProcessDefinitionEntity processDef)
- Specified by:
setProcessDefin interfaceIdentityLinkEntity
-
getProcessDefinitionId
public String getProcessDefinitionId()
Description copied from interface:IdentityLinkThe process definition id associated with this identity link.- Specified by:
getProcessDefinitionIdin interfaceIdentityLink- Specified by:
getProcessDefinitionIdin interfaceIdentityLinkEntity
-
-