Wizard Manager interface. Used by web framework to manipulate wizard rule engine.
| Method Summary | |
void |
disposeWizard()
Disposes wizard and performs housekeeping tasks like removing messages, event listeneres and other objects created by wizard. |
java.util.Map |
getWizardErrors()
Returns errors accumulated by wizard during processing of input data. |
java.lang.String |
getWizardView()
Returns string mapping of the wizard page, corresponding to current wizard state. |
boolean |
isCompleted()
Returns true if wizard was completed or was never instantiated; after wizard completes, it should not be accessed anymore. |
java.lang.String |
wizardBack()
Tries to go one step back. |
java.lang.String |
wizardCancel()
Cancels wizard. |
java.lang.String |
wizardNext()
Tries to go one step forward. |
| Method Detail |
public java.util.Map getWizardErrors()
public java.lang.String wizardCancel()
public java.lang.String wizardBack()
WizardConstants.MAPPING_ON_BACK_SUCCESS,
WizardConstants.MAPPING_ON_BACK_FAILUREpublic java.lang.String wizardNext()
WizardConstants.MAPPING_ON_NEXT_SUCCESS,
WizardConstants.MAPPING_ON_NEXT_FAILURE,
WizardConstants.MAPPING_ON_DONEpublic void disposeWizard()
public boolean isCompleted()
public java.lang.String getWizardView()