Package com.hybris.backoffice.editorarea
Class BackofficeEditorAreaLogicHandler
java.lang.Object
com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
com.hybris.backoffice.editorarea.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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteSaveWithConfirmation(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.core.Executable save, Object currentObject) protected booleanisSyncInProgress(Object currentObject) voidsetSynchronizationFacade(SynchronizationFacade synchronizationFacade) protected voidshowMessageBox(String title, String message, org.zkoss.zul.Messagebox.Button[] buttons, String[] btnLabels, org.zkoss.zk.ui.event.EventListener<org.zkoss.zul.Messagebox.ClickEvent> clickEventListener) protected voidshowSyncInProgressConfirmation(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.core.Executable onIgnoreAndSave) Methods inherited from class com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaLogicHandler
beforeEditorAreaRender, getObjectFacade, getValidationHandler, performRefresh, performSave, performValidation, performValidation, setObjectFacade, setValidationHandler
-
Field Details
-
SETTING_DISABLE_SAVE_ON_SYNC
- See Also:
-
LABEL_SYNC_IN_PROGRESS_MSG_SAVE
- See Also:
-
LABEL_SYNC_IN_PROGRESS_MSG_NO_SAVE
- See Also:
-
LABEL_SYNC_IN_PROGRESS_TITLE
- See Also:
-
LABEL_BTN_CANCEL
- See Also:
-
LABEL_BTN_IGNORE_AND_SAVE
- See Also:
-
-
Constructor Details
-
BackofficeEditorAreaLogicHandler
public BackofficeEditorAreaLogicHandler()
-
-
Method Details
-
executeSaveWithConfirmation
public void executeSaveWithConfirmation(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.core.Executable save, Object currentObject) -
isSyncInProgress
-
showSyncInProgressConfirmation
protected void showSyncInProgressConfirmation(com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.core.Executable onIgnoreAndSave) -
showMessageBox
-
setSynchronizationFacade
-