public class IdentityLinkEntity extends Object implements Serializable, IdentityLink, DbEntity, HasDbReferences
| Modifier and Type | Field and Description |
|---|---|
protected String |
groupId |
protected String |
id |
protected static EnginePersistenceLogger |
LOG |
protected ProcessDefinitionEntity |
processDef |
protected String |
processDefId |
protected TaskEntity |
task |
protected String |
taskId |
protected String |
tenantId |
protected String |
type |
protected String |
userId |
| Constructor and Description |
|---|
IdentityLinkEntity() |
| Modifier and Type | Method and Description |
|---|---|
static IdentityLinkEntity |
createAndInsert() |
void |
delete() |
void |
delete(boolean withHistory) |
void |
fireHistoricIdentityLinkEvent(HistoryEventType eventType) |
String |
getGroupId()
If the identity link involves a group, then this will be a non-null id of a group.
|
String |
getId()
Get the Id of identityLink
|
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
ProcessDefinitionEntity |
getProcessDef() |
String |
getProcessDefId()
Get the process definition id
|
Map<String,Class> |
getReferencedEntitiesIdAndClass()
Scope: IN-MEMORY references
|
Set<String> |
getReferencedEntityIds()
Scope: IN-MEMORY references
|
TaskEntity |
getTask() |
String |
getTaskId()
The id of the task associated with this identity link.
|
String |
getTenantId()
The id of the tenant associated with this identity link.
|
String |
getType()
Returns the type of link.
|
String |
getUserId()
If the identity link involves a user, then this will be a non-null id of a user.
|
void |
insert() |
boolean |
isGroup() |
boolean |
isUser() |
static IdentityLinkEntity |
newIdentityLink() |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setProcessDef(ProcessDefinitionEntity processDef) |
void |
setProcessDefId(String processDefId) |
void |
setTask(TaskEntity task) |
void |
setTenantId(String tenantId) |
void |
setType(String type) |
void |
setUserId(String userId) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDependentEntitiesprotected static final EnginePersistenceLogger LOG
protected String id
protected String type
protected String userId
protected String groupId
protected String taskId
protected String processDefId
protected String tenantId
protected TaskEntity task
protected ProcessDefinitionEntity processDef
public Object getPersistentState()
DbEntitygetPersistentState in interface DbEntitypublic static IdentityLinkEntity createAndInsert()
public static IdentityLinkEntity newIdentityLink()
public void insert()
public void delete()
public void delete(boolean withHistory)
public boolean isUser()
public boolean isGroup()
public String getId()
IdentityLinkgetId in interface DbEntitygetId in interface IdentityLinkpublic String getType()
IdentityLinkIdentityLinkType for the native supported types by the process engine.getType in interface IdentityLinkpublic void setType(String type)
public String getUserId()
IdentityLinkUserQuery API.getUserId in interface IdentityLinkpublic void setUserId(String userId)
public String getGroupId()
IdentityLinkGroupQuery API.getGroupId in interface IdentityLinkpublic void setGroupId(String groupId)
public String getTaskId()
IdentityLinkgetTaskId in interface IdentityLinkpublic String getProcessDefId()
IdentityLinkgetProcessDefId in interface IdentityLinkpublic void setProcessDefId(String processDefId)
public String getTenantId()
IdentityLinkgetTenantId in interface IdentityLinkpublic void setTenantId(String tenantId)
public TaskEntity getTask()
public void setTask(TaskEntity task)
public ProcessDefinitionEntity getProcessDef()
public void setProcessDef(ProcessDefinitionEntity processDef)
public void fireHistoricIdentityLinkEvent(HistoryEventType eventType)
public Set<String> getReferencedEntityIds()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntityIds in interface HasDbReferencespublic Map<String,Class> getReferencedEntitiesIdAndClass()
HasDbReferencesScope: IN-MEMORY references
getReferencedEntitiesIdAndClass in interface HasDbReferencesCopyright © 2022. All rights reserved.