Class RelatedItemListController

java.lang.Object
de.hybris.platform.cmscockpit.navigationnode.browserarea.list.RelatedItemListController
All Implemented Interfaces:
ListboxController<TypedObject>, SelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>

public class RelatedItemListController extends Object implements ListboxController<TypedObject>
Controller of content pages list.
  • Constructor Details

    • RelatedItemListController

      public RelatedItemListController()
  • Method Details

    • move

      public void move(Listbox contentPageList, TypedObject node, TypedObject target)
      Description copied from interface: ListboxController
      Moves given node in place of 'target' node.
      Specified by:
      move in interface ListboxController<TypedObject>
      Parameters:
      contentPageList - after successful movement, contentPageList will be notified to update itself
      node - to be moved
      target - node to be shifted. In place of this 'target' node the 'node' will be moved.
    • updateList

      public boolean updateList(Listbox contentPageList)
    • setCurrentNavigationNode

      public void setCurrentNavigationNode(TypedObject currentNavigationNode)
      Parameters:
      currentNavigationNode - the currentNavigationNode to set
    • delete

      public void delete(Listbox listbox, TypedObject typedObject)
      Description copied from interface: ListboxController
      Deletes given node
      Specified by:
      delete in interface ListboxController<TypedObject>
      Parameters:
      listbox - after successful deletion, listbox will be notified to update itself
      typedObject - to delete
    • getCmsNavigationService

      protected CMSNavigationService getCmsNavigationService()
    • setCmsNavigationService

      public void setCmsNavigationService(CMSNavigationService cmsNavigationService)
    • getSystemService

      protected SystemService getSystemService()
    • getSelected

      public Set<TypedObject> getSelected()
      Specified by:
      getSelected in interface SelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>
      Returns:
      currently selected set of items
    • selected

      public void selected(Listbox component, Set<org.zkoss.zul.Listitem> selectedItems)
      Description copied from interface: SelectableComponent
      Called every time the tree node was selected
      Specified by:
      selected in interface SelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>
      Parameters:
      component - in case an update is needed
      selectedItems - set of currently selected items