public class IdentityLinkEntity extends Object implements Serializable, IdentityLink, BulkDeleteable, PersistentObject
| Modifier and Type | Field and Description |
|---|---|
protected String |
groupId |
protected String |
id |
protected ProcessDefinitionEntity |
processDef |
protected String |
processDefId |
protected ExecutionEntity |
processInstance |
protected String |
processInstanceId |
protected TaskEntity |
task |
protected String |
taskId |
protected String |
type |
protected String |
userId |
| Constructor and Description |
|---|
IdentityLinkEntity() |
| Modifier and Type | Method and Description |
|---|---|
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() |
String |
getProcessDefinitionId()
The process definition id associated with this identity link.
|
ExecutionEntity |
getProcessInstance() |
String |
getProcessInstanceId()
The process instance id associated with this identity link.
|
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.
|
void |
insert() |
boolean |
isGroup() |
boolean |
isUser() |
void |
setGroupId(String groupId) |
void |
setId(String id) |
void |
setProcessDef(ProcessDefinitionEntity processDef) |
void |
setProcessDefId(String processDefId) |
void |
setProcessInstance(ExecutionEntity processInstance) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setTask(TaskEntity task) |
void |
setTaskId(String taskId) |
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 processInstanceId
protected String processDefId
protected TaskEntity task
protected ExecutionEntity processInstance
protected ProcessDefinitionEntity processDef
public Object getPersistentState()
PersistentObjectgetPersistentState in interface PersistentObjectpublic void insert()
public boolean isUser()
public boolean isGroup()
public String getId()
getId in interface PersistentObjectpublic void setId(String id)
setId in interface PersistentObjectpublic String getType()
IdentityLinkIdentityLinkType for the native supported types by Activiti.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 void setTaskId(String taskId)
public String getProcessInstanceId()
IdentityLinkgetProcessInstanceId in interface IdentityLinkpublic void setProcessInstanceId(String processInstanceId)
public String getProcessDefId()
public void setProcessDefId(String processDefId)
public TaskEntity getTask()
public void setTask(TaskEntity task)
public ExecutionEntity getProcessInstance()
public void setProcessInstance(ExecutionEntity processInstance)
public ProcessDefinitionEntity getProcessDef()
public void setProcessDef(ProcessDefinitionEntity processDef)
public String getProcessDefinitionId()
IdentityLinkgetProcessDefinitionId in interface IdentityLinkCopyright © 2016 Alfresco. All rights reserved.