|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.AbstractReferrableObject
com.silverpeas.workflow.engine.instance.WorkingUser
public class WorkingUser
| Constructor Summary | |
|---|---|
WorkingUser()
Default Constructor |
|
| Method Summary | |
|---|---|
String |
getGroupId()
|
String |
getId()
For persistence in database Get this object id |
String |
getKey()
This method has to be implemented by the referrable object it has to compute the unique key |
ProcessInstanceImpl |
getProcessInstance()
Get the instance for which user is affected |
String |
getRole()
Get state role for which user is affected |
List<String> |
getRoles()
Get state role for which user is affected |
String |
getState()
Get state name for which user is affected |
String |
getUserId()
Get the user id |
String |
getUsersRole()
Get the user role |
void |
setGroupId(String groupId)
|
void |
setId(String id)
For persistence in database Set this object id |
void |
setProcessInstance(ProcessInstanceImpl processInstance)
Set the instance for which user is affected |
void |
setRole(String role)
Set state role for which user is affected |
void |
setState(String state)
Set state name for which user is affected |
void |
setUserId(String userId)
Set the user id |
void |
setUsersRole(String usersRole)
Set the user role |
Actor |
toActor()
Converts WorkingUser to Actor |
Collection<Actor> |
toActors()
Converts WorkingUser to Actors |
User |
toUser()
Converts WorkingUser to User |
static User[] |
toUser(WorkingUser[] workingUsers)
Get User information from an array of workingUsers |
| Methods inherited from class com.silverpeas.workflow.engine.AbstractReferrableObject |
|---|
equals, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkingUser()
| Method Detail |
|---|
public String getId()
public void setId(String id)
this - object idpublic String getState()
public void setState(String state)
state - state namepublic String getRole()
public List<String> getRoles()
public void setRole(String role)
state - state rolepublic String getUserId()
public void setUserId(String userId)
userId - user idpublic String getUsersRole()
public void setUsersRole(String usersRole)
usersRole - rolepublic String getGroupId()
public void setGroupId(String groupId)
public ProcessInstanceImpl getProcessInstance()
public void setProcessInstance(ProcessInstanceImpl processInstance)
processInstance - instance
public User toUser()
throws WorkflowException
WorkflowException
public Actor toActor()
throws WorkflowException
WorkflowException
public Collection<Actor> toActors()
throws WorkflowException
WorkflowException
public static User[] toUser(WorkingUser[] workingUsers)
throws WorkflowException
workingUsers - an array of WorkingUser objects
WorkflowExceptionpublic String getKey()
getKey in interface ReferrableObjectIntfgetKey in class AbstractReferrableObjectequals,
hashCode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||