|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.silverpeas.workflow.engine.model.FormsImpl
public class FormsImpl
Class implementing the representation of the <forms> element of a Process Model.
| Constructor Summary | |
|---|---|
FormsImpl()
Constructor |
|
| Method Summary | |
|---|---|
void |
addForm(Form form)
Add an form to the collection |
Form |
createForm()
Create an Form |
Form |
getForm(String name)
Get the form definition with given name. |
Form |
getForm(String name,
String role)
Get the form definition with given name for the given role, will return the form dedicated to that role or, if the former has not been found, a generic form with this name |
Iterator<Form> |
iterateForm()
Iterate through the Form objects |
void |
removeForm(String strName,
String strRole)
Remove the form identified by name and role |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormsImpl()
| Method Detail |
|---|
public void addForm(Form form)
Forms
addForm in interface Formsform - to be addedpublic Form createForm()
Forms
createForm in interface Formspublic Form getForm(String name)
Forms
getForm in interface Formsname - action form
public Form getForm(String name,
String role)
Forms
getForm in interface Formsname - action formrole - role name
public Iterator<Form> iterateForm()
Forms
iterateForm in interface Forms
public void removeForm(String strName,
String strRole)
throws WorkflowException
Forms
removeForm in interface FormsstrName - the form namestrRole - the name of the role, may be null
WorkflowException - if the role cannot be found
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||