Class CmsPageController
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPageController
-
- de.hybris.platform.cmscockpit.wizard.controller.CmsPageController
-
- All Implemented Interfaces:
WizardPageController
- Direct Known Subclasses:
CmsReferencePageController,CmsTypePageController,CreateCmsPageController
public class CmsPageController extends DefaultPageController
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
transitions
-
-
Constructor Summary
Constructors Constructor Description CmsPageController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidactivateItemInEditor(UICockpitPerspective currentPerspective, TypedObject newItem)voiddone(Wizard wizard, WizardPage page)This method is invoked when the done button is pressed.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, evaluateAttribute, evaluateTransition, getFirstPage, initPage, next, previous, setTransitions
-
-
-
-
Method Detail
-
done
public void done(Wizard wizard, WizardPage page)
Description copied from interface:WizardPageControllerThis method is invoked when the done button is pressed.- Specified by:
donein interfaceWizardPageController- Overrides:
donein classDefaultPageController- Parameters:
wizard- the wizard which contains the pagepage- the currently accessed 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.
-
activateItemInEditor
protected void activateItemInEditor(UICockpitPerspective currentPerspective, TypedObject newItem)
-
-