Package de.hybris.platform.configurablebundlecockpits.productcockpit.navigationnode.browserarea.list
Class BundleRelatedItemListController
- java.lang.Object
-
- de.hybris.platform.configurablebundlecockpits.productcockpit.navigationnode.browserarea.list.BundleRelatedItemListController
-
- All Implemented Interfaces:
ListboxController<TypedObject>
,SelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>
public class BundleRelatedItemListController extends java.lang.Object implements ListboxController<TypedObject>
Controller of content pages list.
-
-
Constructor Summary
Constructors Constructor Description BundleRelatedItemListController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(Listbox listbox, TypedObject typedObject)
Deletes given nodeprotected BundleNavigationService
getBundleNavigationService()
protected ModelService
getModelService()
java.util.Set<TypedObject>
getSelected()
protected SystemService
getSystemService()
void
move(Listbox contentPageList, TypedObject node, TypedObject target)
Moves given node in place of 'target' node.void
selected(Listbox component, java.util.Set<org.zkoss.zul.Listitem> selectedItems)
Called every time the tree node was selectedvoid
setBundleNavigationService(BundleNavigationService bundleNavigationService)
void
setCurrentNavigationNode(TypedObject currentNavigationNode)
boolean
updateList(Listbox contentPageList)
-
-
-
Method Detail
-
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 interfaceListboxController<TypedObject>
- Parameters:
contentPageList
- after successful movement, contentPageList will be notified to update itselfnode
- to be movedtarget
- 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 interfaceListboxController<TypedObject>
- Parameters:
listbox
- after successful deletion, listbox will be notified to update itselftypedObject
- to delete
-
getBundleNavigationService
protected BundleNavigationService getBundleNavigationService()
-
setBundleNavigationService
public void setBundleNavigationService(BundleNavigationService bundleNavigationService)
-
getSystemService
protected SystemService getSystemService()
-
getSelected
public java.util.Set<TypedObject> getSelected()
- Specified by:
getSelected
in interfaceSelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>
- Returns:
- currently selected set of items
-
selected
public void selected(Listbox component, java.util.Set<org.zkoss.zul.Listitem> selectedItems)
Description copied from interface:SelectableComponent
Called every time the tree node was selected- Specified by:
selected
in interfaceSelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>
- Parameters:
component
- in case an update is neededselectedItems
- set of currently selected items
-
getModelService
protected ModelService getModelService()
-
-