Package org.activiti.engine.history
Interface HistoricIdentityLink
-
- All Known Subinterfaces:
HistoricIdentityLinkEntity
- All Known Implementing Classes:
HistoricIdentityLinkEntityImpl
@Internal public interface HistoricIdentityLink
Historic counterpart ofIdentityLinkthat represents the current state if any runtime link. Will be preserved when the runtime process instance or task is finished.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetGroupId()If the identity link involves a group, then this will be a non-null id of a group.java.lang.StringgetProcessInstanceId()The id of the process instance associated with this identity link.java.lang.StringgetTaskId()The id of the task associated with this identity link.java.lang.StringgetType()Returns the type of link.java.lang.StringgetUserId()If the identity link involves a user, then this will be a non-null id of a user.
-
-
-
Method Detail
-
getType
java.lang.String getType()
Returns the type of link. SeeIdentityLinkTypefor the native supported types by Activiti.
-
getUserId
java.lang.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 theUserQueryAPI.
-
getGroupId
java.lang.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 theGroupQueryAPI.
-
getTaskId
java.lang.String getTaskId()
The id of the task associated with this identity link.
-
getProcessInstanceId
java.lang.String getProcessInstanceId()
The id of the process instance associated with this identity link.
-
-