Interface WizardPageController
-
- All Known Implementing Classes:
AssignColumnWizardController
,AssignQueryPermissionsWizardController
,AssignSavedQueryPermissionsWizardController
,AssignWorkflowWizardController
,DefaultAdvancedSearchPageController
,DefaultDecisionPageController
,DefaultGenericItemMandatoryPageController
,DefaultGenericTypeSelectorPageController
,DefaultPageController
,ResetConfigWizardController
,UploadMediaFirstPageController
,UploadMediaSecondPageController
public interface WizardPageController
This class was moved to ext/cockpit from productcockpit
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beforeBack(Wizard wizard, WizardPage page)
This method is invoked before proceeding to the previous page.void
beforeNext(Wizard wizard, WizardPage page)
This method is invoked before proceeding to the next page.void
cancel(Wizard wizard, WizardPage page)
This method is invoked when the cancel button is pressed.void
done(Wizard wizard, WizardPage page)
This method is invoked when the done button is pressed.WizardPage
getFirstPage(Wizard wizard)
Returns the first page of the wizard.void
initPage(Wizard wizard, WizardPage page)
This method is invoked whenever a wizard page is created.WizardPage
next(Wizard wizard, WizardPage page)
Returns for the specified wizard page the next page.WizardPage
previous(Wizard wizard, WizardPage page)
Returns for the specified wizard page the previous page.boolean
validate(Wizard wizard, WizardPage page)
This method is invoked before leaving a page.
-
-
-
Method Detail
-
getFirstPage
WizardPage getFirstPage(Wizard wizard)
Returns the first page of the wizard.
-
validate
boolean validate(Wizard wizard, WizardPage page)
This method is invoked before leaving a page. Implement it to validate the input data.- Returns:
- true, if the page content is correct, false otherwise. If false is returned, the wizard will not proceed to the next page.
-
initPage
void initPage(Wizard wizard, WizardPage page)
This method is invoked whenever a wizard page is created. Implement it to do some preparations for your page.- Parameters:
wizard
- the wizard which contains the pagepage
- the currently accessed page
-
next
WizardPage next(Wizard wizard, WizardPage page)
Returns for the specified wizard page the next page. Should be implemented for complex wizard flow calculation.- Parameters:
wizard
- the wizard which contains the pagespage
- the current page- Returns:
- the next page
-
previous
WizardPage previous(Wizard wizard, WizardPage page)
Returns for the specified wizard page the previous page. Should be implemented for complex wizard flow calculation.- Parameters:
wizard
- the wizard which contains the pagespage
- the current page- Returns:
- the previous page
-
cancel
void cancel(Wizard wizard, WizardPage page)
This method is invoked when the cancel button is pressed. Can be used to cleanup stuff done by the wizard.- Parameters:
wizard
- the wizard which contains the pagepage
- the currently accessed page
-
done
void done(Wizard wizard, WizardPage page) throws WizardConfirmationException
This method is invoked when the done button is pressed.- Parameters:
wizard
- the wizard which contains the pagepage
- the currently accessed page- Throws:
WizardConfirmationException
-
beforeNext
void beforeNext(Wizard wizard, WizardPage page)
This method is invoked before proceeding to the next page.- Parameters:
wizard
- the wizard which contains the pagepage
- the currently accessed page
-
beforeBack
void beforeBack(Wizard wizard, WizardPage page)
This method is invoked before proceeding to the previous page.- Parameters:
wizard
- the wizard which contains the pagepage
- the currently accessed page
-
-