|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
The participant manager is the manager object which actually handles all participant related stuff. Participants can created, removed and managed here. This class actually encapsulate the underlying communication to an actual implementation such as an EJB server containing the participant definitions.
| Method Summary | |
IParticipant |
createParticipant(java.lang.String name,
java.lang.String description,
short type,
IWorkflowModel model,
ITicket user)
This creates a new participant within the given workflow model. |
IParticipant |
createParticipant(java.lang.String name,
java.lang.String description,
short type,
IWorkflowSystem system,
ITicket user)
This creates a new global participant within the given workflow system. |
IParticipant |
getParticipant(int id,
ITicket user)
Get a participant. |
java.util.Iterator |
getParticipants(IWorkflowModel model,
ITicket user)
Return all the participants valid for a model. |
void |
removeParticipant(IParticipant participant,
ITicket user)
Removes a participant from the db. |
java.util.Iterator |
searchParticipants(java.lang.String name,
IWorkflowSystem system,
IWorkflowModel model,
IWorkflow flow,
ITicket admin)
Search for participants. |
void |
updateParticipant(int id,
java.lang.String name,
java.lang.String description,
short type,
ITicket user)
Update a participant. |
| Methods inherited from interface org.jwarp.flow.IWorkflowSystemAware |
getWorkflowSystem, setWorkflowSystem |
| Methods inherited from interface org.jwarp.service.configuration.IConfigurable |
configure |
| Method Detail |
public java.util.Iterator getParticipants(IWorkflowModel model,
ITicket user)
throws java.lang.SecurityException
model - The modeluser - The user ticketjava.lang.SecurityException - If access was denied.
public IParticipant createParticipant(java.lang.String name,
java.lang.String description,
short type,
IWorkflowSystem system,
ITicket user)
throws InitializationException,
java.lang.SecurityException
name - The name of the new participantdescription - The participant's descriptiontype - The participant's typesystem - The systemuser - The user ticketInitializationException - If the participant could not be created.java.lang.SecurityException - If access was denied.
public IParticipant createParticipant(java.lang.String name,
java.lang.String description,
short type,
IWorkflowModel model,
ITicket user)
throws InitializationException,
java.lang.SecurityException
name - The name of the new roledescription - The roles descriptiontype - The participant's typesystem - The systemuser - The user ticketInitializationException - If the participant could not be created.java.lang.SecurityException - If access was denied.
public void updateParticipant(int id,
java.lang.String name,
java.lang.String description,
short type,
ITicket user)
throws NotFoundException,
java.lang.SecurityException
id - The participant's idname - The new participant's namedescription - The new participant's descriptionrype - The new participant's typeuser - The user ticketjava.lang.SecurityException - If access was denied.NotFoundException - If the participant could not be located.
public void removeParticipant(IParticipant participant,
ITicket user)
throws NotFoundException,
java.lang.SecurityException
participant - The participantuser - The userNotFoundException - If the participant could not be located.java.lang.SecurityException - If access was denied.
public IParticipant getParticipant(int id,
ITicket user)
throws java.lang.SecurityException
id - The participant's id numberuser - The user ticketjava.lang.SecurityException - If access was denied.
public java.util.Iterator searchParticipants(java.lang.String name,
IWorkflowSystem system,
IWorkflowModel model,
IWorkflow flow,
ITicket admin)
throws java.lang.SecurityException
name - The participant's namesystem - The workflow systemmodel - The workflow modelflow - The workflowadmin - The user ticketjava.lang.SecurityException - If access was denied.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||