Class SearchConfigurationAdapterController
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.adaptivesearchbackoffice.widgets.searchconfigurationadapter.SearchConfigurationAdapterController
- 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 SearchConfigurationAdapterController
extends com.hybris.cockpitng.util.DefaultWidgetController
Adapter between search result and the editor area widget.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AsSearchConfigurationFacadeprotected static final Stringprotected ModelServiceprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected com.hybris.cockpitng.components.Widgetslotprotected 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 TypeMethodDescriptionvoidonSearchConfigurationChanged(Object searchConfiguration) Event handler for search configuration changes.voidonSearchRequest(AbstractSearchRequestData request) voidonSearchResultChanged(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, 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
-
AUTO_SAVE_ENABLED_PARAM
- See Also:
-
REFRESH_SEARCH_CONFIGURATION_IN_SOCKET
- See Also:
-
SEARCH_CONFIGURATION_OUT_SOCKET
- See Also:
-
REFRESH_SEARCH_OUT_SOCKET
- See Also:
-
SEARCH_RESULT_KEY
- See Also:
-
VALUE_CHANGED_OBSERVER_ID
- See Also:
-
searchConfigurationEditor
protected com.hybris.cockpitng.components.Widgetslot searchConfigurationEditor -
modelService
-
asSearchConfigurationFacade
-
-
Constructor Details
-
SearchConfigurationAdapterController
public SearchConfigurationAdapterController()
-
-
Method Details
-
onSearchResultChanged
Event handler for search result changes.- Parameters:
searchResult- - the search result
-
onSearchConfigurationChanged
Event handler for search configuration changes.- Parameters:
searchConfiguration- - the updated search configuration
-
onSearchRequest
-