Class MediaContentUpdateHandler

java.lang.Object
com.hybris.backoffice.wizard.MediaContentUpdateHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

public class MediaContentUpdateHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
  • Field Details

  • Constructor Details

    • MediaContentUpdateHandler

      public MediaContentUpdateHandler()
  • Method Details

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> map)
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    • tryToSave

      protected void tryToSave(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> map, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult mediaContent, MediaModel mediaToUpdate)
    • save

      protected void save(MediaModel mediaToUpdate, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult mediaContent) throws com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException
      Throws:
      com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException
    • rollback

      protected void rollback(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> params, MediaModel mediaToUpdate)
    • notifyAboutSuccess

      protected void notifyAboutSuccess(MediaModel model)
    • getMediaToUpdate

      protected MediaModel getMediaToUpdate(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> params)
    • setMediaToUpdate

      protected void setMediaToUpdate(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> params, MediaModel mediaModel)
    • getMediaContent

      protected com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult getMediaContent(com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> params)
    • getMediaService

      public MediaService getMediaService()
    • setMediaService

      public void setMediaService(MediaService mediaService)
    • getObjectFacade

      public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
    • setObjectFacade

      public void setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
    • getNotificationService

      public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
    • getModelService

      public ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)