Class CreateMediaWizardHandler

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

    public class CreateMediaWizardHandler
    extends java.lang.Object
    implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    Custom handler to handle saving a vendor.
    • Constructor Detail

      • CreateMediaWizardHandler

        public CreateMediaWizardHandler()
    • Method Detail

      • perform

        public void perform​(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType,
                            com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter,
                            java.util.Map<java.lang.String,​java.lang.String> args)
        Specified by:
        perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
      • bindCatalogVersion

        protected void bindCatalogVersion​(MediaModel media)
      • bindMediaFolder

        protected void bindMediaFolder​(MediaModel media)
      • publishEvent

        protected void publishEvent​(java.lang.String eventName,
                                    java.lang.Object object,
                                    com.hybris.cockpitng.dataaccess.context.Context ctx)
      • populateEventContext

        protected void populateEventContext​(com.hybris.cockpitng.dataaccess.context.Context source,
                                            com.hybris.cockpitng.core.events.impl.DefaultCockpitEvent destination)
      • isCockpitEventNotificationDisabledInCtx

        protected boolean isCockpitEventNotificationDisabledInCtx​(com.hybris.cockpitng.dataaccess.context.Context ctx)
      • getCockpitEventQueue

        protected com.hybris.cockpitng.core.events.CockpitEventQueue getCockpitEventQueue()
      • setCockpitEventQueue

        public void setCockpitEventQueue​(com.hybris.cockpitng.core.events.CockpitEventQueue cockpitEventQueue)
      • getUserService

        protected UserService getUserService()
      • setUserService

        public void setUserService​(UserService userService)
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • getMediaService

        protected MediaService getMediaService()
      • setMediaService

        public void setMediaService​(MediaService mediaService)