public class BundleRelatedItemListController extends Object implements ListboxController<TypedObject>
| Constructor and Description |
|---|
BundleRelatedItemListController() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Listbox listbox,
TypedObject typedObject)
Deletes given node
|
protected BundleNavigationService |
getBundleNavigationService() |
protected ModelService |
getModelService() |
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,
Set<Listitem> selectedItems)
Called every time the tree node was selected
|
void |
setBundleNavigationService(BundleNavigationService bundleNavigationService) |
void |
setCurrentNavigationNode(TypedObject currentNavigationNode) |
boolean |
updateList(Listbox contentPageList) |
public void move(Listbox contentPageList, TypedObject node, TypedObject target)
ListboxControllermove in interface ListboxController<TypedObject>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.public boolean updateList(Listbox contentPageList)
public void setCurrentNavigationNode(TypedObject currentNavigationNode)
currentNavigationNode - the currentNavigationNode to setpublic void delete(Listbox listbox, TypedObject typedObject)
ListboxControllerdelete in interface ListboxController<TypedObject>listbox - after successful deletion, listbox will be notified to update itselftypedObject - to deleteprotected BundleNavigationService getBundleNavigationService()
public void setBundleNavigationService(BundleNavigationService bundleNavigationService)
protected SystemService getSystemService()
public Set<TypedObject> getSelected()
getSelected in interface SelectableComponent<Listbox,Listitem,TypedObject>public void selected(Listbox component, Set<Listitem> selectedItems)
SelectableComponentselected in interface SelectableComponent<Listbox,Listitem,TypedObject>component - in case an update is neededselectedItems - set of currently selected itemsprotected ModelService getModelService()
Copyright © 2017 SAP SE. All Rights Reserved.