Package org.activiti.engine.task
Interface IdentityLink
- All Known Subinterfaces:
IdentityLinkEntity
- All Known Implementing Classes:
IdentityLinkEntityImpl
An identity link is used to associate a task with a certain identity.
For example: - a user can be an assignee (= identity link type) for a task - a group can be a candidate-group (= identity link type) for a task
-
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.The process definition id associated with this identity link.The process instance id 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.
-
Method Details
-
getType
String getType()Returns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti. -
getUserId
String getUserId()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 theAPI.invalid reference
UserQuery -
getGroupId
String getGroupId()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 theAPI.invalid reference
GroupQuery -
getTaskId
String getTaskId()The id of the task associated with this identity link. -
getProcessDefinitionId
String getProcessDefinitionId()The process definition id associated with this identity link. -
getProcessInstanceId
String getProcessInstanceId()The process instance id associated with this identity link. -
getDetails
byte[] getDetails()The details associated with the identity link, JWT sub uuid
-