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 voiddelete(Listbox listbox, TypedObject typedObject)Deletes given nodeprotected BundleNavigationServicegetBundleNavigationService()protected ModelServicegetModelService()java.util.Set<TypedObject>getSelected()protected SystemServicegetSystemService()voidmove(Listbox contentPageList, TypedObject node, TypedObject target)Moves given node in place of 'target' node.voidselected(Listbox component, java.util.Set<org.zkoss.zul.Listitem> selectedItems)Called every time the tree node was selectedvoidsetBundleNavigationService(BundleNavigationService bundleNavigationService)voidsetCurrentNavigationNode(TypedObject currentNavigationNode)booleanupdateList(Listbox contentPageList)
-
-
-
Method Detail
-
move
public void move(Listbox contentPageList, TypedObject node, TypedObject target)
Description copied from interface:ListboxControllerMoves given node in place of 'target' node.- Specified by:
movein 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:ListboxControllerDeletes given node- Specified by:
deletein 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:
getSelectedin 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:SelectableComponentCalled every time the tree node was selected- Specified by:
selectedin interfaceSelectableComponent<Listbox,org.zkoss.zul.Listitem,TypedObject>- Parameters:
component- in case an update is neededselectedItems- set of currently selected items
-
getModelService
protected ModelService getModelService()
-
-