Class DefaultNavigationNodeTreeService
java.lang.Object
de.hybris.platform.cmscockpit.services.impl.DefaultNavigationNodeTreeService
- All Implemented Interfaces:
NavigationNodeTreeService
Default service for navigation nodes tree model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetChild(TypedObject node, int index) Find a child node of a given node at a given positionintgetChildCount(TypedObject node) Find number of child nodes for a given nodeprotected CMSNavigationServiceFind all root nodes for a given catalog versionprotected TypeServicebooleanisLeaf(TypedObject node) Determine whether a node is a leaf node or not.voidsetCmsNavigationService(CMSNavigationService navigationNodeService) voidsetTypeService(TypeService typeService)
-
Constructor Details
-
DefaultNavigationNodeTreeService
public DefaultNavigationNodeTreeService()
-
-
Method Details
-
getChild
Description copied from interface:NavigationNodeTreeServiceFind a child node of a given node at a given position- Specified by:
getChildin interfaceNavigationNodeTreeService- Parameters:
node- parent nodeindex- node position- Returns:
- child node of given node at given (index) position
-
getChildCount
Description copied from interface:NavigationNodeTreeServiceFind number of child nodes for a given node- Specified by:
getChildCountin interfaceNavigationNodeTreeService- Parameters:
node- parent node with children nodes- Returns:
- quantity of children
-
isLeaf
Description copied from interface:NavigationNodeTreeServiceDetermine whether a node is a leaf node or not.- Specified by:
isLeafin interfaceNavigationNodeTreeService- Returns:
- true if has no children, or is leaf by other means
-
getTypeService
-
setTypeService
-