public class IdentityLinkEntity extends Object implements Serializable, IdentityLink, PersistentObject
Modifier and Type | Field and Description |
---|---|
protected String |
groupId |
protected String |
id |
protected ProcessDefinitionEntity |
processDef |
protected String |
processDefId |
protected TaskEntity |
task |
protected String |
taskId |
protected String |
type |
protected String |
userId |
Constructor and Description |
---|
IdentityLinkEntity() |
Modifier and Type | Method and Description |
---|---|
static IdentityLinkEntity |
createAndInsert() |
String |
getGroupId()
If the identity link involves a group, then this will be a non-null id of a group.
|
String |
getId() |
Object |
getPersistentState()
Returns a representation of the object,
as would be stored in the database.
|
ProcessDefinitionEntity |
getProcessDef() |
String |
getProcessDefId() |
TaskEntity |
getTask() |
String |
getTaskId()
The id of the task 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.
|
boolean |
isGroup() |
boolean |
isUser() |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setProcessDef(ProcessDefinitionEntity processDef) |
void |
setProcessDefId(String processDefId) |
void |
setTask(TaskEntity task) |
void |
setType(String type) |
void |
setUserId(String userId) |
String |
toString() |
protected String id
protected String type
protected String userId
protected String groupId
protected String taskId
protected String processDefId
protected TaskEntity task
protected ProcessDefinitionEntity processDef
public Object getPersistentState()
PersistentObject
getPersistentState
in interface PersistentObject
public static IdentityLinkEntity createAndInsert()
public boolean isUser()
public boolean isGroup()
public String getId()
getId
in interface PersistentObject
public void setId(String id)
setId
in interface PersistentObject
public String getType()
IdentityLink
IdentityLinkType
for the native supported types by Activiti.getType
in interface IdentityLink
public void setType(String type)
public String getUserId()
IdentityLink
UserQuery
API.getUserId
in interface IdentityLink
public void setUserId(String userId)
public String getGroupId()
IdentityLink
GroupQuery
API.getGroupId
in interface IdentityLink
public void setGroupId(String groupId)
public String getTaskId()
IdentityLink
getTaskId
in interface IdentityLink
public String getProcessDefId()
public void setProcessDefId(String processDefId)
public TaskEntity getTask()
public void setTask(TaskEntity task)
public ProcessDefinitionEntity getProcessDef()
public void setProcessDef(ProcessDefinitionEntity processDef)
Copyright © 2015. All rights reserved.