|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.workflow.engine.model.ParticipantsImpl
public class ParticipantsImpl
Class implementing the representation of the <participants> element of a Process Model.
Constructor Summary | |
---|---|
ParticipantsImpl()
Constructor |
Method Summary | |
---|---|
void |
addParticipant(Participant participant)
Add an participant to the collection |
Participant |
createParticipant()
Create an Participant |
Participant |
getParticipant(String name)
Get the participant with given name |
Participant[] |
getParticipants()
Returns all the Participant elements as an array |
Iterator<Participant> |
iterateParticipant()
Iterate through the Participant objects |
void |
removeParticipant(String strParticipantName)
Remove an participant from the collection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParticipantsImpl()
Method Detail |
---|
public void addParticipant(Participant participant)
Participants
addParticipant
in interface Participants
participant
- to be addedpublic Participant createParticipant()
Participants
createParticipant
in interface Participants
public Participant[] getParticipants()
Participants
getParticipants
in interface Participants
public Participant getParticipant(String name)
getParticipant
in interface Participants
name
- participant name
public Iterator<Participant> iterateParticipant()
Participants
iterateParticipant
in interface Participants
public void removeParticipant(String strParticipantName) throws WorkflowException
Participants
removeParticipant
in interface Participants
strParticipantName
- the name of the participant to be removed.
WorkflowException
- when the participant could not be deleted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |