Class HistoricIdentityLinkEntityImpl
- java.lang.Object
-
- org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
-
- org.activiti.engine.impl.persistence.entity.HistoricIdentityLinkEntityImpl
-
- All Implemented Interfaces:
java.io.Serializable
,HistoricIdentityLink
,BulkDeleteable
,Entity
,HistoricIdentityLinkEntity
public class HistoricIdentityLinkEntityImpl extends AbstractEntityNoRevision implements HistoricIdentityLinkEntity, java.io.Serializable, BulkDeleteable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
groupId
protected java.lang.String
processInstanceId
protected java.lang.String
taskId
protected java.lang.String
type
protected java.lang.String
userId
-
Fields inherited from class org.activiti.engine.impl.persistence.entity.AbstractEntityNoRevision
id, isDeleted, isInserted, isUpdated
-
-
Constructor Summary
Constructors Constructor Description HistoricIdentityLinkEntityImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGroupId()
If the identity link involves a group, then this will be a non-null id of a group.java.lang.Object
getPersistentState()
Returns a representation of the object, as would be stored in the database.java.lang.String
getProcessInstanceId()
The id of the process instance associated with this identity link.java.lang.String
getTaskId()
The id of the task associated with this identity link.java.lang.String
getType()
Returns the type of link.java.lang.String
getUserId()
If the identity link involves a user, then this will be a non-null id of a user.boolean
isGroup()
boolean
isUser()
void
setGroupId(java.lang.String groupId)
void
setProcessInstanceId(java.lang.String processInstanceId)
void
setTaskId(java.lang.String taskId)
void
setType(java.lang.String type)
void
setUserId(java.lang.String userId)
-
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, toString, wait, wait, wait
-
Methods inherited from interface org.activiti.engine.impl.persistence.entity.Entity
getId, isDeleted, isInserted, isUpdated, setDeleted, setId, setInserted, setUpdated
-
-
-
-
Method Detail
-
getPersistentState
public java.lang.Object 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 interfaceHistoricIdentityLinkEntity
-
isGroup
public boolean isGroup()
- Specified by:
isGroup
in interfaceHistoricIdentityLinkEntity
-
getType
public java.lang.String getType()
Description copied from interface:HistoricIdentityLink
Returns the type of link. SeeIdentityLinkType
for the native supported types by Activiti.- Specified by:
getType
in interfaceHistoricIdentityLink
-
setType
public void setType(java.lang.String type)
- Specified by:
setType
in interfaceHistoricIdentityLinkEntity
-
getUserId
public java.lang.String getUserId()
Description copied from interface:HistoricIdentityLink
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 theUserQuery
API.- Specified by:
getUserId
in interfaceHistoricIdentityLink
-
setUserId
public void setUserId(java.lang.String userId)
- Specified by:
setUserId
in interfaceHistoricIdentityLinkEntity
-
getGroupId
public java.lang.String getGroupId()
Description copied from interface:HistoricIdentityLink
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 theGroupQuery
API.- Specified by:
getGroupId
in interfaceHistoricIdentityLink
-
setGroupId
public void setGroupId(java.lang.String groupId)
- Specified by:
setGroupId
in interfaceHistoricIdentityLinkEntity
-
getTaskId
public java.lang.String getTaskId()
Description copied from interface:HistoricIdentityLink
The id of the task associated with this identity link.- Specified by:
getTaskId
in interfaceHistoricIdentityLink
-
setTaskId
public void setTaskId(java.lang.String taskId)
- Specified by:
setTaskId
in interfaceHistoricIdentityLinkEntity
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
Description copied from interface:HistoricIdentityLink
The id of the process instance associated with this identity link.- Specified by:
getProcessInstanceId
in interfaceHistoricIdentityLink
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
- Specified by:
setProcessInstanceId
in interfaceHistoricIdentityLinkEntity
-
-