Class DefaultDecisionPageController
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPageController
-
- de.hybris.platform.cockpit.wizards.generic.DefaultDecisionPageController
-
- All Implemented Interfaces:
WizardPageController
public class DefaultDecisionPageController extends DefaultPageController
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
transitions
-
-
Constructor Summary
Constructors Constructor Description DefaultDecisionPageController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WizardPagenext(Wizard wizard, WizardPage page)Returns for the specified wizard page the next page.booleanvalidate(Wizard wizard, WizardPage page)This method is invoked before leaving a page.-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
beforeBack, beforeNext, cancel, done, evaluateAttribute, evaluateTransition, getFirstPage, initPage, previous, setTransitions
-
-
-
-
Method Detail
-
next
public WizardPage next(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerReturns for the specified wizard page the next page. Should be implemented for complex wizard flow calculation.- Specified by:
nextin interfaceWizardPageController- Overrides:
nextin classDefaultPageController- Parameters:
wizard- the wizard which contains the pagespage- the current page- Returns:
- the next page
-
validate
public boolean validate(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerThis method is invoked before leaving a page. Implement it to validate the input data.- Specified by:
validatein interfaceWizardPageController- Overrides:
validatein classDefaultPageController- Returns:
- true, if the page content is correct, false otherwise. If false is returned, the wizard will not proceed to the next page.
-
-