com.silverpeas.workflow.api.instance
Interface Actor

All Known Subinterfaces:
Participant
All Known Implementing Classes:
ActorImpl, ParticipantImpl

public interface Actor

A Actor object represents a 3-tuple user/roleName/state


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
 

Method Detail

getUser

User getUser()
Returns the actor as a User object


getUserRoleName

String getUserRoleName()
get the name of the role under which the user was/may be an actor

Returns:
the role's name

getState

State getState()
get the name of the state for which the user was/may be an actor

Returns:
the state's name

getGroupId

String getGroupId()


Copyright © 2016 Silverpeas. All Rights Reserved.