Class DefaultNavigationItemsWizardController
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPageController
-
- de.hybris.platform.cmscockpit.wizard.controller.DefaultNavigationNodeWizardController
-
- de.hybris.platform.cmscockpit.wizard.controller.DefaultNavigationItemsWizardController
-
- All Implemented Interfaces:
WizardPageController
public class DefaultNavigationItemsWizardController extends DefaultNavigationNodeWizardController
Default Navigation Node Wizard Controller. Note:
Responsible for updating instances ofCMSNavigationNodeModel.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cmscockpit.wizard.controller.DefaultNavigationNodeWizardController
ASSIGNMENT_PAGE_ID, BASIC_DATA_PAGE_ID, DECISION_PAGE_ID
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
transitions
-
-
Constructor Summary
Constructors Constructor Description DefaultNavigationItemsWizardController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddone(Wizard wizard, WizardPage page)This method is invoked when the done button is pressed.voidinitPage(Wizard wizard, WizardPage page)This method is invoked whenever a wizard page is created.booleanvalidate(Wizard wizard, WizardPage page)This method is invoked before leaving a page.-
Methods inherited from class de.hybris.platform.cmscockpit.wizard.controller.DefaultNavigationNodeWizardController
doSelectType, getCmsNavigationNodeService, getGenericRandomNameProducer, getModelHelper, getModelService, getSystemService, getTypeService, setCommonI18NService, setModelHelper, setModelService, setTypeService
-
Methods inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
beforeBack, beforeNext, cancel, evaluateAttribute, evaluateTransition, getFirstPage, next, previous, setTransitions
-
-
-
-
Method Detail
-
initPage
public void initPage(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerThis method is invoked whenever a wizard page is created. Implement it to do some preparations for your page.- Specified by:
initPagein interfaceWizardPageController- Overrides:
initPagein classDefaultPageController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed page
-
done
public void done(Wizard wizard, WizardPage page) throws WizardConfirmationException
Description copied from interface:WizardPageControllerThis method is invoked when the done button is pressed.- Specified by:
donein interfaceWizardPageController- Overrides:
donein classDefaultNavigationNodeWizardController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed page- Throws:
WizardConfirmationException
-
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 classDefaultNavigationNodeWizardController- Returns:
- true, if the page content is correct, false otherwise. If false is returned, the wizard will not proceed to the next page.
-
-