Class IdentityLinkEntityImpl
java.lang.Object
org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
org.flowable.identitylink.service.impl.persistence.entity.AbstractIdentityLinkServiceNoRevisionEntity
org.flowable.identitylink.service.impl.persistence.entity.IdentityLinkEntityImpl
- All Implemented Interfaces:
Serializable
,Entity
,IdentityLink
,IdentityLinkInfo
,IdentityLinkEntity
public class IdentityLinkEntityImpl
extends AbstractIdentityLinkServiceNoRevisionEntity
implements IdentityLinkEntity, Serializable
- Author:
- Joram Barrez
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated, originalPersistentState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf 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.The scope definition id associated with this identity linkThe scope id associated with this identity linkThe scope type associated with this identity linkThe sub scope id associated with this identity linkThe 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.boolean
isGroup()
boolean
isUser()
void
setGroupId
(String groupId) void
setProcessDefId
(String processDefId) void
setProcessInstanceId
(String processInstanceId) void
setScopeDefinitionId
(String scopeDefinitionId) void
setScopeId
(String scopeId) void
setScopeType
(String scopeType) void
setSubScopeId
(String subScopeId) void
void
void
toString()
Methods inherited from class org.flowable.identitylink.service.impl.persistence.entity.AbstractIdentityLinkServiceNoRevisionEntity
getIdPrefix
Methods inherited from class org.flowable.common.engine.impl.persistence.entity.AbstractEntityNoRevision
getId, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.impl.persistence.entity.Entity
getId, getIdPrefix, getOriginalPersistentState, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setOriginalPersistentState, setUpdated
-
Field Details
-
type
-
userId
-
groupId
-
taskId
-
processInstanceId
-
processDefId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
-
Constructor Details
-
IdentityLinkEntityImpl
public IdentityLinkEntityImpl() -
IdentityLinkEntityImpl
-
-
Method Details
-
getPersistentState
Description copied from interface:Entity
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.- Specified by:
getPersistentState
in interfaceEntity
-
isUser
public boolean isUser()- Specified by:
isUser
in interfaceIdentityLinkEntity
-
isGroup
public boolean isGroup()- Specified by:
isGroup
in interfaceIdentityLinkEntity
-
getType
Description copied from interface:IdentityLinkInfo
Returns the type of link. See for the native supported types.- Specified by:
getType
in interfaceIdentityLinkInfo
-
setType
- Specified by:
setType
in interfaceIdentityLinkEntity
-
getUserId
Description copied from interface:IdentityLinkInfo
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.- Specified by:
getUserId
in interfaceIdentityLinkInfo
-
setUserId
- Specified by:
setUserId
in interfaceIdentityLinkEntity
-
getGroupId
Description copied from interface:IdentityLinkInfo
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.- Specified by:
getGroupId
in interfaceIdentityLinkInfo
-
setGroupId
- Specified by:
setGroupId
in interfaceIdentityLinkEntity
-
getTaskId
Description copied from interface:IdentityLinkInfo
The id of the task associated with this identity link.- Specified by:
getTaskId
in interfaceIdentityLinkInfo
-
setTaskId
- Specified by:
setTaskId
in interfaceIdentityLinkEntity
-
getProcessInstanceId
Description copied from interface:IdentityLinkInfo
The process instance id associated with this identity link.- Specified by:
getProcessInstanceId
in interfaceIdentityLinkInfo
-
setProcessInstanceId
- Specified by:
setProcessInstanceId
in interfaceIdentityLinkEntity
-
getProcessDefId
- Specified by:
getProcessDefId
in interfaceIdentityLinkEntity
-
setProcessDefId
- Specified by:
setProcessDefId
in interfaceIdentityLinkEntity
-
getProcessDefinitionId
Description copied from interface:IdentityLink
The process definition id associated with this identity link.- Specified by:
getProcessDefinitionId
in interfaceIdentityLink
- Specified by:
getProcessDefinitionId
in interfaceIdentityLinkEntity
-
getScopeId
Description copied from interface:IdentityLinkInfo
The scope id associated with this identity link- Specified by:
getScopeId
in interfaceIdentityLinkInfo
-
setScopeId
- Specified by:
setScopeId
in interfaceIdentityLinkEntity
-
getSubScopeId
Description copied from interface:IdentityLinkInfo
The sub scope id associated with this identity link- Specified by:
getSubScopeId
in interfaceIdentityLinkInfo
-
setSubScopeId
- Specified by:
setSubScopeId
in interfaceIdentityLinkEntity
-
getScopeType
Description copied from interface:IdentityLinkInfo
The scope type associated with this identity link- Specified by:
getScopeType
in interfaceIdentityLinkInfo
-
setScopeType
- Specified by:
setScopeType
in interfaceIdentityLinkEntity
-
getScopeDefinitionId
Description copied from interface:IdentityLinkInfo
The scope definition id associated with this identity link- Specified by:
getScopeDefinitionId
in interfaceIdentityLinkInfo
-
setScopeDefinitionId
- Specified by:
setScopeDefinitionId
in interfaceIdentityLinkEntity
-
toString
-