Class AbstractIntegrationSelectorController

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.common.controllers.AbstractIntegrationSelectorController
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>
Direct Known Subclasses:
IntegrationObjectSelectorController

public abstract class AbstractIntegrationSelectorController extends com.hybris.cockpitng.util.DefaultWidgetController
Controller with common functionality across integrationbackoffice toolbar selector controllers. Contains a combobox for object selection and a reference to custom actions.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.hybris.cockpitng.components.Actions
     
    static final String
     
    protected org.zkoss.zul.Combobox
     
    static final String
     
    protected static final String
     

    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
    protected abstract Collection<org.zkoss.zul.Comboitem>
     
    protected void
     
    protected org.zkoss.zul.Comboitem
    findComboitem(Object comboitemValue)
     
    void
    initialize(org.zkoss.zk.ui.Component component)
     
    abstract void
     
    void
     
    void
     
    void
    sendOnChangeEvent(org.zkoss.zul.Comboitem comboitem)
     

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

    • REFRESH_COMBOBOX_IN_SOCKET

      public static final String REFRESH_COMBOBOX_IN_SOCKET
      See Also:
    • COMBOBOX_ID

      public static final String COMBOBOX_ID
      See Also:
    • SETTING_ACTIONS_SLOT

      protected static final String SETTING_ACTIONS_SLOT
      See Also:
    • actions

      protected com.hybris.cockpitng.components.Actions actions
    • integrationComboBox

      protected org.zkoss.zul.Combobox integrationComboBox
  • Constructor Details

    • AbstractIntegrationSelectorController

      public AbstractIntegrationSelectorController()
  • Method Details

    • initialize

      public void initialize(org.zkoss.zk.ui.Component component)
      Overrides:
      initialize in class com.hybris.cockpitng.util.DefaultWidgetController
    • refreshCombobox

      public void refreshCombobox()
    • integrationComboBoxOnChange

      public abstract void integrationComboBoxOnChange()
    • loadCombobox

      public void loadCombobox()
    • sendOnChangeEvent

      public void sendOnChangeEvent(org.zkoss.zul.Comboitem comboitem)
    • buildComboitems

      protected abstract Collection<org.zkoss.zul.Comboitem> buildComboitems()
    • clearCombobox

      protected void clearCombobox()
    • findComboitem

      protected org.zkoss.zul.Comboitem findComboitem(Object comboitemValue)