Class ParticipantImpl
- java.lang.Object
-
- org.silverpeas.core.workflow.engine.instance.ActorImpl
-
- org.silverpeas.core.workflow.engine.instance.ParticipantImpl
-
- All Implemented Interfaces:
Actor
,Participant
public class ParticipantImpl extends ActorImpl implements Participant
-
-
Constructor Summary
Constructors Constructor Description ParticipantImpl(User user, String userRoleName, State state, String action)
Constructor Definitivly set the user, userRoleName, state and the action
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAction()
Get the action in which has acted the participant-
Methods inherited from class org.silverpeas.core.workflow.engine.instance.ActorImpl
getGroupId, getState, getUser, getUserRoleName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.silverpeas.core.workflow.api.instance.Actor
getGroupId, getState, getUser, getUserRoleName
-
-
-
-
Constructor Detail
-
ParticipantImpl
public ParticipantImpl(User user, String userRoleName, State state, String action)
Constructor Definitivly set the user, userRoleName, state and the action- Parameters:
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 actoraction
- name of the action in which has acted the participant
-
-
Method Detail
-
getAction
public String getAction()
Get the action in which has acted the participant- Specified by:
getAction
in interfaceParticipant
- Returns:
- Action name
-
-