Class ItemTypeMatchModalController

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
de.hybris.platform.integrationbackoffice.widgets.modals.controllers.ItemTypeMatchModalController
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 ItemTypeMatchModalController extends com.hybris.cockpitng.util.DefaultWidgetController
Used to update the Item Type Match setting of the Integration Object Items of an Integration Object in the Integration UI tool of the backoffice
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.zkoss.zul.Listbox
     
    static final String
     
    static final String
     
    protected org.zkoss.zul.Button
     

    Fields 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, spaceScope

    Fields inherited from class org.zkoss.zk.ui.util.GenericComposer

    _applied
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    loadModal(IntegrationObjectModel integrationObjectModel)
    Loads the modal and populates it with the correct types and options based on the IntegrationObjectModel selected.
    void
    On click event for the save button.

    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, initialize, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, initWidgetSetting, invokeListenerMethod, onSocketInput, preInitialize, sendOutput, sendOutputAfterOperation, sendOutputAfterOperation, sendOutputAfterOperation, setValue, setWidgetInstanceManager, setWidgetTitle

    Methods inherited from class com.hybris.cockpitng.util.ViewAnnotationAwareComposer

    scanEventListeners

    Methods inherited from class org.zkoss.zk.ui.util.GenericAutowireComposer

    alert, didActivate, getPage, willClone, willPassivate

    Methods inherited from class org.zkoss.zk.ui.util.GenericComposer

    doCatch, doFinally

    Methods inherited from class org.zkoss.zk.ui.event.GenericEventListener

    bindComponent, getController, onEvent, unbindComponent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • OPEN_MODAL_INPUT_SOCKET

      public static final String OPEN_MODAL_INPUT_SOCKET
      See Also:
    • SAVE_BUTTON_VIEW_EVENT

      public static final String SAVE_BUTTON_VIEW_EVENT
      See Also:
    • itemTypeMatcherListBox

      protected org.zkoss.zul.Listbox itemTypeMatcherListBox
    • saveButton

      protected org.zkoss.zul.Button saveButton
  • Constructor Details

    • ItemTypeMatchModalController

      public ItemTypeMatchModalController()
  • Method Details

    • loadModal

      public void loadModal(IntegrationObjectModel integrationObjectModel)
      Loads the modal and populates it with the correct types and options based on the IntegrationObjectModel selected. Due to possible multiple type definitions, items are grouped under their current type regardless of type aliasing. This results in the possibility of a given type having more that one IntegrationObjectItemModel tied to it.
      Parameters:
      integrationObjectModel - Object currently selected
    • saveItemTypeMatchSetting

      public void saveItemTypeMatchSetting()
      On click event for the save button.