Class BackofficeEditorAreaLogicHandler

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.baseeditorarea.EditorAreaLogicHandler

    public class BackofficeEditorAreaLogicHandler
    extends com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
    Logic handler which checks if sync is running for an item being saved.
    • Field Detail

      • SETTING_DISABLE_SAVE_ON_SYNC

        protected static final java.lang.String SETTING_DISABLE_SAVE_ON_SYNC
        See Also:
        Constant Field Values
      • LABEL_SYNC_IN_PROGRESS_MSG_SAVE

        protected static final java.lang.String LABEL_SYNC_IN_PROGRESS_MSG_SAVE
        See Also:
        Constant Field Values
      • LABEL_SYNC_IN_PROGRESS_MSG_NO_SAVE

        protected static final java.lang.String LABEL_SYNC_IN_PROGRESS_MSG_NO_SAVE
        See Also:
        Constant Field Values
      • LABEL_SYNC_IN_PROGRESS_TITLE

        protected static final java.lang.String LABEL_SYNC_IN_PROGRESS_TITLE
        See Also:
        Constant Field Values
      • LABEL_BTN_CANCEL

        protected static final java.lang.String LABEL_BTN_CANCEL
        See Also:
        Constant Field Values
      • LABEL_BTN_IGNORE_AND_SAVE

        protected static final java.lang.String LABEL_BTN_IGNORE_AND_SAVE
        See Also:
        Constant Field Values
    • Constructor Detail

      • BackofficeEditorAreaLogicHandler

        public BackofficeEditorAreaLogicHandler()
    • Method Detail

      • executeSaveWithConfirmation

        public void executeSaveWithConfirmation​(com.hybris.cockpitng.engine.WidgetInstanceManager wim,
                                                com.hybris.cockpitng.core.Executable save,
                                                java.lang.Object currentObject)
      • isSyncInProgress

        protected boolean isSyncInProgress​(java.lang.Object currentObject)
      • showSyncInProgressConfirmation

        protected void showSyncInProgressConfirmation​(com.hybris.cockpitng.engine.WidgetInstanceManager wim,
                                                      com.hybris.cockpitng.core.Executable onIgnoreAndSave)
      • showMessageBox

        protected void showMessageBox​(java.lang.String title,
                                      java.lang.String message,
                                      org.zkoss.zul.Messagebox.Button[] buttons,
                                      java.lang.String[] btnLabels,
                                      org.zkoss.zk.ui.event.EventListener<org.zkoss.zul.Messagebox.ClickEvent> clickEventListener)
      • setSynchronizationFacade

        public void setSynchronizationFacade​(SynchronizationFacade synchronizationFacade)