|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.instance.ActorImpl
public class ActorImpl
A Actor object represents a person or a list of persons (through role or group) that can act on a state
Constructor Summary | |
---|---|
ActorImpl(User user,
String userRoleName,
State state)
Constructor Definitivly set the user, userRoleName and the state |
|
ActorImpl(User user,
String userRoleName,
State state,
String groupId)
|
Method Summary | |
---|---|
String |
getGroupId()
|
State |
getState()
get the name of the state for which the user was/may be an actor |
User |
getUser()
Returns the actor as a User object |
String |
getUserRoleName()
get the name of the role under which the user was/may be an actor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActorImpl(User user, String userRoleName, State state)
user
- user aka the actoruserRoleName
- name of the role under which the user was/may be an actorstate
- state for which the user was/may be an actorpublic ActorImpl(User user, String userRoleName, State state, String groupId)
Method Detail |
---|
public User getUser()
getUser
in interface Actor
public String getUserRoleName()
getUserRoleName
in interface Actor
public State getState()
getState
in interface Actor
public String getGroupId()
getGroupId
in interface Actor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |