Class DefaultNavigationNodeWizardController
- java.lang.Object
-
- de.hybris.platform.cockpit.wizards.impl.DefaultPageController
-
- de.hybris.platform.cmscockpit.wizard.controller.DefaultNavigationNodeWizardController
-
- All Implemented Interfaces:
WizardPageController
- Direct Known Subclasses:
DefaultNavigationItemsWizardController
public class DefaultNavigationNodeWizardController extends DefaultPageController
Default Navigation Node Wizard Controller. Note:
Responsible for creating a newCMSNavigationNodeModelwith related items.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringASSIGNMENT_PAGE_IDprotected static java.lang.StringBASIC_DATA_PAGE_IDprotected static java.lang.StringDECISION_PAGE_ID-
Fields inherited from class de.hybris.platform.cockpit.wizards.impl.DefaultPageController
transitions
-
-
Constructor Summary
Constructors Constructor Description DefaultNavigationNodeWizardController()
-
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.voiddoSelectType(Wizard wizard)CMSNavigationServicegetCmsNavigationNodeService()GenericRandomNameProducergetGenericRandomNameProducer()ModelHelpergetModelHelper()ModelServicegetModelService()SystemServicegetSystemService()protected TypeServicegetTypeService()voidsetCommonI18NService(CommonI18NService commonI18NService)voidsetModelHelper(ModelHelper modelHelper)voidsetModelService(ModelService modelService)voidsetTypeService(TypeService typeService)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
-
-
-
-
Field Detail
-
BASIC_DATA_PAGE_ID
protected static final java.lang.String BASIC_DATA_PAGE_ID
- See Also:
- Constant Field Values
-
DECISION_PAGE_ID
protected static final java.lang.String DECISION_PAGE_ID
- See Also:
- Constant Field Values
-
ASSIGNMENT_PAGE_ID
protected static final java.lang.String ASSIGNMENT_PAGE_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 classDefaultPageController- 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 classDefaultPageController- Returns:
- true, if the page content is correct, false otherwise. If false is returned, the wizard will not proceed to the next page.
-
getCmsNavigationNodeService
public CMSNavigationService getCmsNavigationNodeService()
-
doSelectType
public void doSelectType(Wizard wizard)
-
setTypeService
public void setTypeService(TypeService typeService)
-
getTypeService
protected TypeService getTypeService()
-
getGenericRandomNameProducer
public GenericRandomNameProducer getGenericRandomNameProducer()
-
getSystemService
public SystemService getSystemService()
-
setModelHelper
public void setModelHelper(ModelHelper modelHelper)
-
getModelHelper
public ModelHelper getModelHelper()
-
setCommonI18NService
public void setCommonI18NService(CommonI18NService commonI18NService)
-
getModelService
public ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
-