com.silverpeas.workflow.engine.instance
Class ParticipantImpl

java.lang.Object
  extended by com.silverpeas.workflow.engine.instance.ActorImpl
      extended by com.silverpeas.workflow.engine.instance.ParticipantImpl
All Implemented Interfaces:
Actor, Participant

public class ParticipantImpl
extends ActorImpl
implements Participant


Constructor Summary
ParticipantImpl(User user, String userRoleName, State state, String action)
          Constructor Definitivly set the user, userRoleName, state and the action
 
Method Summary
 String getAction()
          Get the action in which has acted the participant
 
Methods inherited from class com.silverpeas.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 com.silverpeas.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 actor
userRoleName - name of the role under which the user was/may be an actor
state - state for which the user was/may be an actor
action - 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 interface Participant
Returns:
Action name


Copyright © 2016 Silverpeas. All Rights Reserved.