Class SavedQueriesWidgetController

  • 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 SavedQueriesWidgetController
    extends com.hybris.cockpitng.util.DefaultWidgetController
    See Also:
    Serialized Form
    • Field Detail

      • SOCKET_OUT_ADV_SEARCH_INIT_CTX

        public static final java.lang.String SOCKET_OUT_ADV_SEARCH_INIT_CTX
        See Also:
        Constant Field Values
      • SETTING_SHARED_QUERIES_INITIALLY_VISIBLE

        public static final java.lang.String SETTING_SHARED_QUERIES_INITIALLY_VISIBLE
        See Also:
        Constant Field Values
    • Constructor Detail

      • SavedQueriesWidgetController

        public SavedQueriesWidgetController()
    • Method Detail

      • initialize

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

        protected void initializeListBox()
      • getSavedQueryNameWithFallback

        protected java.lang.String getSavedQueryNameWithFallback​(BackofficeSavedQueryModel queryModel)
      • highlightRecentlyAdded

        protected void highlightRecentlyAdded​(org.zkoss.zul.Listitem listitem,
                                              BackofficeSavedQueryModel queryModel)
      • initializeListModel

        protected void initializeListModel()
      • initializeListModel

        protected void initializeListModel​(java.lang.String filterText)
      • initializeQueriesFilter

        protected void initializeQueriesFilter()
      • getNotificationSource

        protected java.lang.String getNotificationSource()
      • showMissingAttributesMessage

        protected void showMissingAttributesMessage​(BackofficeSavedQueryModel queryModel,
                                                    java.util.Collection<java.lang.String> missingAttributes)
      • fetchSavedQueriesAsync

        protected void fetchSavedQueriesAsync()
      • handleObjectCreateEvent

        public void handleObjectCreateEvent​(com.hybris.cockpitng.core.events.CockpitEvent event)
      • handleObjectUpdatedEvent

        public void handleObjectUpdatedEvent​(com.hybris.cockpitng.core.events.CockpitEvent event)
      • handleObjectsDeletedEvent

        public void handleObjectsDeletedEvent​(com.hybris.cockpitng.core.events.CockpitEvent event)
      • getListbox

        public org.zkoss.zul.Listbox getListbox()
      • setListbox

        public void setListbox​(org.zkoss.zul.Listbox listbox)
      • getSharedCheckBox

        public org.zkoss.zul.Checkbox getSharedCheckBox()
      • getShowQueriesFilterBtn

        public org.zkoss.zul.Toolbarbutton getShowQueriesFilterBtn()
      • getFilterTextbox

        public org.zkoss.zul.Textbox getFilterTextbox()
      • setBackofficeSavedQueriesService

        public void setBackofficeSavedQueriesService​(BackofficeSavedQueriesService backofficeSavedQueriesService)
      • getObjectFacade

        public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
      • setObjectFacade

        public void setObjectFacade​(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
      • getLabelService

        public com.hybris.cockpitng.labels.LabelService getLabelService()
      • setLabelService

        public void setLabelService​(com.hybris.cockpitng.labels.LabelService labelService)
      • setUserService

        public void setUserService​(UserService userService)
      • getNotificationService

        protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
      • setNotificationService

        public void setNotificationService​(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
      • getCockpitEventQueue

        public com.hybris.cockpitng.core.events.CockpitEventQueue getCockpitEventQueue()
      • setCockpitEventQueue

        public void setCockpitEventQueue​(com.hybris.cockpitng.core.events.CockpitEventQueue cockpitEventQueue)
      • setModelService

        public void setModelService​(ModelService modelService)