public class DefaultNavigationEntryService extends java.lang.Object implements NavigationEntryService
NavigationEntryService.| Constructor and Description |
|---|
DefaultNavigationEntryService() |
| Modifier and Type | Method and Description |
|---|---|
CMSNavigationEntryModel |
createNavigationEntry(NavigationEntryData navigationEntryData,
CatalogVersionModel catalogVersion)
Creates a navigation node entry
|
void |
deleteNavigationEntries(java.lang.String navigationNodeUid)
Deletes all navigation entries associated with the given navigation node uid.
|
protected NavigationEntryConverterRegistry |
getNavigationEntryConverterRegistry() |
protected CMSNavigationService |
getNavigationService() |
void |
setNavigationEntryConverterRegistry(NavigationEntryConverterRegistry navigationEntryConverterRegistry) |
void |
setNavigationService(CMSNavigationService navigationService) |
public CMSNavigationEntryModel createNavigationEntry(NavigationEntryData navigationEntryData, CatalogVersionModel catalogVersion)
NavigationEntryServicecreateNavigationEntry in interface NavigationEntryServicenavigationEntryData - the navigation node entry data with the Item ID and Item Type to be assigned to the navigation node.catalogVersion - the catalog version model in which the node entry will be created.public void deleteNavigationEntries(java.lang.String navigationNodeUid)
throws CMSItemNotFoundException
NavigationEntryServicedeleteNavigationEntries in interface NavigationEntryServicenavigationNodeUid - the node where the entries will be removed from.CMSItemNotFoundException - when the navigation node does not exist.protected CMSNavigationService getNavigationService()
public void setNavigationService(CMSNavigationService navigationService)
protected NavigationEntryConverterRegistry getNavigationEntryConverterRegistry()
public void setNavigationEntryConverterRegistry(NavigationEntryConverterRegistry navigationEntryConverterRegistry)
Copyright © 2018 SAP SE. All Rights Reserved.