Class ActorImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.instance.ActorImpl
-
- All Implemented Interfaces:
Actor
- Direct Known Subclasses:
ParticipantImpl
public class ActorImpl extends Object implements Actor
A Actor object represents a person or a list of persons (through role or group) that can act on a state
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getGroupId()
State
getState()
get the name of the state for which the user was/may be an actorUser
getUser()
Returns the actor as a User objectString
getUserRoleName()
get the name of the role under which the user was/may be an actor
-
-
-
Method Detail
-
getUser
public User getUser()
Returns the actor as a User object
-
getUserRoleName
public String getUserRoleName()
get the name of the role under which the user was/may be an actor- Specified by:
getUserRoleName
in interfaceActor
- Returns:
- the role's name
-
getState
public State getState()
get the name of the state for which the user was/may be an actor
-
getGroupId
public String getGroupId()
- Specified by:
getGroupId
in interfaceActor
-
-