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>
Controller of content pages list.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(Listbox listbox, TypedObject typedObject) Deletes given nodeprotected CMSNavigationServiceprotected SystemServicevoidmove(Listbox contentPageList, TypedObject node, TypedObject target) Moves given node in place of 'target' node.voidCalled every time the tree node was selectedvoidsetCmsNavigationService(CMSNavigationService cmsNavigationService) voidsetCurrentNavigationNode(TypedObject currentNavigationNode) booleanupdateList(Listbox contentPageList)
-
Constructor Details
-
RelatedItemListController
public RelatedItemListController()
-
-
Method Details
-
move
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
-
delete
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
-
getSystemService
-
getSelected
- Specified by:
getSelectedin interfaceSelectableComponent<Listbox,org.zkoss.zul.Listitem, TypedObject> - Returns:
- currently selected set of items
-
selected
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
-