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 WizardPage
next(Wizard wizard, WizardPage page)
Returns for the specified wizard page the next page.boolean
validate(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:WizardPageController
Returns for the specified wizard page the next page. Should be implemented for complex wizard flow calculation.- Specified by:
next
in interfaceWizardPageController
- Overrides:
next
in 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:WizardPageController
This method is invoked before leaving a page. Implement it to validate the input data.- Specified by:
validate
in interfaceWizardPageController
- Overrides:
validate
in classDefaultPageController
- Returns:
- true, if the page content is correct, false otherwise. If false is returned, the wizard will not proceed to the next page.
-
-