Class SearchConfigurationAdapterController

  • All Implemented Interfaces:
    com.hybris.cockpitng.core.WidgetController, com.hybris.cockpitng.dnd.WidgetDragAndDropAware, com.hybris.cockpitng.engine.WidgetInstanceManagerAware, java.io.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 SearchConfigurationAdapterController
    extends com.hybris.cockpitng.util.DefaultWidgetController
    Adapter between search result and the editor area widget.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onSearchConfigurationChanged​(java.lang.Object searchConfiguration)
      Event handler for search configuration changes.
      void onSearchRequest​(AbstractSearchRequestData request)  
      void onSearchResultChanged​(SearchResultData searchResult)
      Event handler for search result changes.
      • 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 Detail

      • AUTO_SAVE_ENABLED_PARAM

        protected static final java.lang.String AUTO_SAVE_ENABLED_PARAM
        See Also:
        Constant Field Values
      • REFRESH_SEARCH_CONFIGURATION_IN_SOCKET

        protected static final java.lang.String REFRESH_SEARCH_CONFIGURATION_IN_SOCKET
        See Also:
        Constant Field Values
      • SEARCH_CONFIGURATION_OUT_SOCKET

        protected static final java.lang.String SEARCH_CONFIGURATION_OUT_SOCKET
        See Also:
        Constant Field Values
      • REFRESH_SEARCH_OUT_SOCKET

        protected static final java.lang.String REFRESH_SEARCH_OUT_SOCKET
        See Also:
        Constant Field Values
      • SEARCH_RESULT_KEY

        protected static final java.lang.String SEARCH_RESULT_KEY
        See Also:
        Constant Field Values
      • VALUE_CHANGED_OBSERVER_ID

        protected static final java.lang.String VALUE_CHANGED_OBSERVER_ID
        See Also:
        Constant Field Values
      • searchConfigurationEditor

        protected com.hybris.cockpitng.components.Widgetslot searchConfigurationEditor
      • modelService

        protected transient ModelService modelService
    • Constructor Detail

      • SearchConfigurationAdapterController

        public SearchConfigurationAdapterController()
    • Method Detail

      • onSearchResultChanged

        public void onSearchResultChanged​(SearchResultData searchResult)
        Event handler for search result changes.
        Parameters:
        searchResult - - the search result
      • onSearchConfigurationChanged

        public void onSearchConfigurationChanged​(java.lang.Object searchConfiguration)
        Event handler for search configuration changes.
        Parameters:
        searchConfiguration - - the updated search configuration