Class SavedQueriesWidgetController

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.platformbackoffice.widgets.savedqueries.SavedQueriesWidgetController
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 SavedQueriesWidgetController extends com.hybris.cockpitng.util.DefaultWidgetController
See Also:
  • Field Details

  • Constructor Details

    • SavedQueriesWidgetController

      public SavedQueriesWidgetController()
  • Method Details

    • 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 String getSavedQueryNameWithFallback(BackofficeSavedQueryModel queryModel)
    • highlightRecentlyAdded

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

      protected void initializeListModel()
    • initializeListModel

      protected void initializeListModel(String filterText)
    • initializeQueriesFilter

      protected void initializeQueriesFilter()
    • filterQueries

      protected List<BackofficeSavedQueryModel> filterQueries(String filter)
    • sendInitContext

      protected void sendInitContext(BackofficeSavedQueryModel selectedQuery)
    • getNotificationSource

      protected String getNotificationSource()
    • showRemoveConfirmationMessage

      protected void showRemoveConfirmationMessage(BackofficeSavedQueryModel queryModel)
    • showMissingAttributesMessage

      protected void showMissingAttributesMessage(BackofficeSavedQueryModel queryModel, Collection<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)
    • handleSavedQueryUpdatedEvent

      protected void handleSavedQueryUpdatedEvent(BackofficeSavedQueryModel query)
    • handleObjectsDeletedEvent

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

      protected void handleObjectsDeletedEventData(BackofficeSavedQueryModel removedQuery)
    • getAllQueries

      public List<BackofficeSavedQueryModel> getAllQueries()
    • getListbox

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

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

      public org.zkoss.zul.ListModelList<BackofficeSavedQueryModel> getListModel()
    • setListModel

      public void setListModel(org.zkoss.zul.ListModelList<BackofficeSavedQueryModel> listModel)
    • getSharedCheckBox

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

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

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

      public BackofficeSavedQueriesService getBackofficeSavedQueriesService()
    • 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)
    • getUserService

      public UserService getUserService()
    • 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)
    • getModelService

      public ModelService getModelService()
    • setModelService

      public void setModelService(ModelService modelService)