Class SelectiveSyncController
java.lang.Object
org.zkoss.zk.ui.event.GenericEventListener
org.zkoss.zk.ui.util.GenericComposer<T>
org.zkoss.zk.ui.util.GenericAutowireComposer<T>
org.zkoss.zk.ui.util.GenericForwardComposer<org.zkoss.zk.ui.Component>
com.hybris.cockpitng.util.ViewAnnotationAwareComposer
com.hybris.cockpitng.util.DefaultWidgetController
com.hybris.backoffice.widgets.selectivesync.SelectiveSyncController
- All Implemented Interfaces:
com.hybris.cockpitng.core.WidgetController,com.hybris.cockpitng.dnd.WidgetDragAndDropAware,com.hybris.cockpitng.engine.WidgetInstanceManagerAware,Serializable,org.zkoss.zk.ui.event.EventListener,org.zkoss.zk.ui.event.SerializableEventListener,org.zkoss.zk.ui.util.ComponentActivationListener,org.zkoss.zk.ui.util.ComponentCloneListener,org.zkoss.zk.ui.util.Composer<org.zkoss.zk.ui.Component>,org.zkoss.zk.ui.util.ComposerExt<org.zkoss.zk.ui.Component>
public class SelectiveSyncController
extends com.hybris.cockpitng.util.DefaultWidgetController
Controller for Selective Synchronization management
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringstatic final Stringstatic final Stringprotected static final Stringprotected static final Stringprotected static final StringFields inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
_separator, application, applicationScope, arg, componentScope, desktop, desktopScope, execution, page, pageScope, param, requestScope, self, session, sessionScope, spaceOwner, spaceScopeFields inherited from class org.zkoss.zk.ui.util.GenericComposer
_applied -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidorg.zkoss.zul.Buttonorg.zkoss.zul.Divprotected CatalogVersionSyncJobModelorg.zkoss.zul.Divprotected com.hybris.backoffice.widgets.notificationarea.NotificationServiceprotected StringDeprecated, for removal: This API element is subject to removal in a future version.com.hybris.cockpitng.dataaccess.facades.object.ObjectFacadeorg.zkoss.zul.ButtonvoidvoidhandleInputObject(CatalogVersionSyncJobModel inputObject) protected voidhandleNotFoundException(CatalogVersionSyncJobModel model, com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectNotFoundException e) protected voidhandleObjectSavingSuccess(Object savedObject) voidvoidinitialize(org.zkoss.zk.ui.Component comp) protected booleanprotected voidprotected voidvoidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService) voidsetObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade) voidsetSelectiveSyncRenderer(SelectiveSyncRenderer selectiveSyncRenderer) Methods inherited from class com.hybris.cockpitng.util.DefaultWidgetController
doAfterCompose, doBeforeCompose, doBeforeComposeChildren, executeOperation, getDragAndDropStrategy, getLabel, getLabel, getModel, getValue, getWidgetDragAndDropStrategyRepository, getWidgetInstanceManager, getWidgetRoot, getWidgetSettings, getWidgetslot, getWidgetTitle, getWidgetUtils, initDragAndDropAwareness, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitleMethods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer
scanEventListenersMethods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer
alert, didActivate, getPage, willClone, willPassivateMethods inherited from class org.zkoss.zk.ui.util.GenericComposer
doCatch, doFinallyMethods inherited from class org.zkoss.zk.ui.event.GenericEventListener
bindComponent, getController, onEvent, unbindComponent
-
Field Details
-
MODEL_CURRENT_OBJECT
- See Also:
-
MODEL_VALUE_CHANGED
- See Also:
-
COMP_ID_CANCEL_BTN
- See Also:
-
COMP_ID_SAVE_BTN
- See Also:
-
SOCKET_INPUT_OBJECT
- See Also:
-
SOCKET_OUTPUT_OBJECT_SAVED
- See Also:
-
SOCKET_OUTPUT_CANCEL
- See Also:
-
-
Constructor Details
-
SelectiveSyncController
public SelectiveSyncController()
-
-
Method Details
-
initialize
public void initialize(org.zkoss.zk.ui.Component comp) - Overrides:
initializein classcom.hybris.cockpitng.util.DefaultWidgetController
-
createTreeLegend
protected void createTreeLegend() -
renderCurrentObject
protected void renderCurrentObject() -
handleInputObject
-
handleNotFoundException
protected void handleNotFoundException(CatalogVersionSyncJobModel model, com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectNotFoundException e) -
handleCancelButtonClick
public void handleCancelButtonClick() -
handleSaveButtonClick
public void handleSaveButtonClick() -
handleObjectSavingSuccess
-
getCurrentObject
-
setCurrentObject
-
isCurrentObjectAvailable
protected boolean isCurrentObjectAvailable() -
getNotificationSource
Deprecated, for removal: This API element is subject to removal in a future version.since 6.7, useNotificationService.getWidgetNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager)instead. -
getContentDiv
public org.zkoss.zul.Div getContentDiv() -
getLegendDiv
public org.zkoss.zul.Div getLegendDiv() -
getSaveButton
public org.zkoss.zul.Button getSaveButton() -
getCancelButton
public org.zkoss.zul.Button getCancelButton() -
getObjectFacade
public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade() -
setObjectFacade
public void setObjectFacade(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade) -
getSelectiveSyncRenderer
-
setSelectiveSyncRenderer
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService() -
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
-
NotificationService.getWidgetNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager)instead.