public class IdentityLinkEntityImpl extends Object implements IdentityLinkEntity, Serializable, BulkDeleteable
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 |
---|
IdentityLinkEntityImpl() |
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.
|
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()
Entity
getPersistentState
in interface Entity
public boolean isUser()
isUser
in interface IdentityLinkEntity
public boolean isGroup()
isGroup
in interface IdentityLinkEntity
public String getType()
IdentityLink
IdentityLinkType
for the native supported types by Activiti.getType
in interface IdentityLink
public void setType(String type)
setType
in interface IdentityLinkEntity
public String getUserId()
IdentityLink
UserQuery
API.getUserId
in interface IdentityLink
public void setUserId(String userId)
setUserId
in interface IdentityLinkEntity
public String getGroupId()
IdentityLink
GroupQuery
API.getGroupId
in interface IdentityLink
public void setGroupId(String groupId)
setGroupId
in interface IdentityLinkEntity
public String getTaskId()
IdentityLink
getTaskId
in interface IdentityLink
public void setTaskId(String taskId)
setTaskId
in interface IdentityLinkEntity
public String getProcessInstanceId()
IdentityLink
getProcessInstanceId
in interface IdentityLink
public void setProcessInstanceId(String processInstanceId)
setProcessInstanceId
in interface IdentityLinkEntity
public String getProcessDefId()
getProcessDefId
in interface IdentityLinkEntity
public void setProcessDefId(String processDefId)
setProcessDefId
in interface IdentityLinkEntity
public TaskEntity getTask()
getTask
in interface IdentityLinkEntity
public void setTask(TaskEntity task)
setTask
in interface IdentityLinkEntity
public ExecutionEntity getProcessInstance()
getProcessInstance
in interface IdentityLinkEntity
public void setProcessInstance(ExecutionEntity processInstance)
setProcessInstance
in interface IdentityLinkEntity
public ProcessDefinitionEntity getProcessDef()
getProcessDef
in interface IdentityLinkEntity
public void setProcessDef(ProcessDefinitionEntity processDef)
setProcessDef
in interface IdentityLinkEntity
public String getProcessDefinitionId()
IdentityLink
getProcessDefinitionId
in interface IdentityLinkEntity
getProcessDefinitionId
in interface IdentityLink
Copyright © 2015 Alfresco. All rights reserved.