Class DefaultNavigationNodeWizard

java.lang.Object
de.hybris.platform.cockpit.wizards.Wizard
de.hybris.platform.cmscockpit.wizard.DefaultNavigationNodeWizard

public class DefaultNavigationNodeWizard extends Wizard
Wizard for creating new navigation node within NavigationNodePerspective.

  • Field Details

  • Constructor Details

    • DefaultNavigationNodeWizard

      public DefaultNavigationNodeWizard()
  • Method Details

    • isCreateModeEnabled

      public boolean isCreateModeEnabled()
      Checks whether create mode was selected.

    • isCmsNavigationNodeVisible

      public boolean isCmsNavigationNodeVisible()
      Checks whether navigation node should be visible.

    • getCmsNavigationNodeName

      public String getCmsNavigationNodeName()
      Retrieves navigation node name that was specified by user.

    • getCmsNavigationNodeTitle

      public Map<String,String> getCmsNavigationNodeTitle()
      Retrieves navigation node title that was specified by user.

    • getWizardContext

      public DefaultWizardContext getWizardContext()
      Overrides:
      getWizardContext in class Wizard
    • setWizardContext

      public void setWizardContext(WizardContext context)
      Overrides:
      setWizardContext in class Wizard
    • setSelectedMode

      public void setSelectedMode(String selectedMode)
      Stores selected mode into WizardContext.

    • setDecision

      public void setDecision(String currentDecision)
      Stores selected decision into WizardContext.

    • getSelectedMode

      public String getSelectedMode()
      Retrieves selected mode from WizardContext.

    • getSelectedDecision

      public String getSelectedDecision()
      Retrieves selected decision from WizardContext.

    • isMediaModeSelected

      public boolean isMediaModeSelected()
      Checks whether media mode is chosen.

    • isModeSelected

      public boolean isModeSelected()
      Checks whether user select mode.

    • getPredefinedValuesForInnerWizard

      public Map<String,Object> getPredefinedValuesForInnerWizard()
      Returns all predefined values for wizard regarding current mode.

    • getSelectedTypeName

      public String getSelectedTypeName()
      Returns a localized name regarding selected mode.

    • getUserDecisions

      public List<String> getUserDecisions()
      Retrieves supported user decisions.

    • getSupportedObjectTemplates

      public List<ObjectTemplate> getSupportedObjectTemplates()
      Returns all supported object templates.

      Note:
      This is configured via spring bean cmscockpitNavigationNodeConfig

    • setResources

      public void setResources(List<TypedObject> resources)
      Sets related items into wizard context WizardContext.

    • initializeInnerWizard

      public void initializeInnerWizard(GenericItemWizard innerWizard, WizardPage page)
      Responsible for inner wizard initialization.

      Parameters:
      innerWizard - wizard for creating a new instance of items
      page - that will be assigned to wizard
    • doNext

      public void doNext()
      Overrides:
      doNext in class Wizard
    • updateView

      public void updateView()
      Overrides:
      updateView in class Wizard
    • doDone

      public void doDone()
      Overrides:
      doDone in class Wizard
    • init

      public void init(GenericItemMandatoryPage page, org.zkoss.zk.ui.Component parent)
      Responsible for inner wizard initialization.

      Parameters:
      page - mandatory wizard page
      parent - parent component
    • getSystemService

      protected SystemService getSystemService()
    • getUiAccessRightService

      public UIAccessRightService getUiAccessRightService()
    • setUiAccessRightService

      public void setUiAccessRightService(UIAccessRightService uiAccessRightService)
    • getMediaMimeTypes

      public List<String> getMediaMimeTypes()
    • setMediaMimeTypes

      public void setMediaMimeTypes(List<String> mediaMimeTypes)
    • setTypeService

      public void setTypeService(TypeService typeService)
    • getTypeService

      public TypeService getTypeService()
    • setSupportedTypes

      public void setSupportedTypes(List<String> supportedTypes)
    • getDefaultInnerWizardPageController

      public NavigationNodeMandatoryPageController getDefaultInnerWizardPageController()
    • setDefaultInnerWizardPageController

      public void setDefaultInnerWizardPageController(NavigationNodeMandatoryPageController defaultInnerWizardPageController)
    • setNavigationNodeInnerWizard

      public void setNavigationNodeInnerWizard(GenericItemWizard navigationNodeInnerWizard)
    • getNavigationNodeInnerWizard

      public GenericItemWizard getNavigationNodeInnerWizard()
    • setGenericRandomNameProducer

      public void setGenericRandomNameProducer(GenericRandomNameProducer genericRandomNameProducer)
    • getGenericRandomNameProducer

      public GenericRandomNameProducer getGenericRandomNameProducer()