public interface NavigationEditorService
| Modifier and Type | Method and Description |
|---|---|
MediaModel |
createMedia(NavigationNodeViewModel navigationNode,
byte[] bytes)
Create a media for a given node
|
AbstractCMSComponentModel |
getComponentForPreviewCatalogVersions(java.lang.String componentUid,
LiveEditViewModel model)
Find a given component from a given preview catalog version
|
ContentSlotModel |
getContentSlotForPreviewCatalogVersions(java.lang.String slotUid,
LiveEditViewModel model)
Get a given content slot from a given preview catalog version
|
CatalogVersionModel |
getCurrentContentCatalogVersion()
Get the current content catalog version
|
EnumerationService |
getEnumerationService()
Getter
|
ContentSlotModel |
getNavigationBarContentSlot(java.lang.String uid,
LiveEditViewModel model)
Find the content slot containing the navigation bar
|
java.util.List<NavigationLinkViewModel> |
getNavigationLinksForContetPagesFromCurrentCatalog(LiveEditViewModel model)
Find all navigation links for a given content page
|
java.util.Collection<NavigationNodeTabViewModel> |
getNodesForCurrentVersion(NavigationEditorViewModel model,
NavigationParentElement parentElement)
Find all navigation nodes for a navigation model
|
java.util.Collection<CategoryModel> |
getRootCategories()
Find all root categories
|
java.util.Collection<NavigationNodeTabViewModel> |
insertBefore(NavigationNodeTabViewModel draggedModel,
NavigationNodeTabViewModel targetModel,
NavigationParentElement parentElement,
java.util.Collection<NavigationNodeTabViewModel> navigations)
Insert a given node before a given target node
|
boolean |
isSynchronizePossible(java.util.Collection<TypedObject> itemsToSynchronize)
Determine if a collction of items can be synchronized
|
void |
performSynchronization(java.util.Collection<TypedObject> itemsToSynchronize)
Synchronize a collection of items
|
void |
removeNavigation(NavigationNodeTabViewModel model)
Remove a given navigation node
|
java.util.Collection<TypedObject> |
saveModels(java.util.Collection<NavigationNodeTabViewModel> navigations,
NavigationParentElement parentElement)
Save a collection of navigation nodes
|
java.util.Collection<NavigationNodeTabViewModel> getNodesForCurrentVersion(NavigationEditorViewModel model, NavigationParentElement parentElement)
model - parentElement - CatalogVersionModel getCurrentContentCatalogVersion()
java.util.Collection<TypedObject> saveModels(java.util.Collection<NavigationNodeTabViewModel> navigations, NavigationParentElement parentElement)
navigations - parentElement - void removeNavigation(NavigationNodeTabViewModel model)
model - navigation node to be removedjava.util.Collection<NavigationNodeTabViewModel> insertBefore(NavigationNodeTabViewModel draggedModel, NavigationNodeTabViewModel targetModel, NavigationParentElement parentElement, java.util.Collection<NavigationNodeTabViewModel> navigations)
draggedModel - targetModel - parentElement - navigations - boolean isSynchronizePossible(java.util.Collection<TypedObject> itemsToSynchronize)
itemsToSynchronize - void performSynchronization(java.util.Collection<TypedObject> itemsToSynchronize)
itemsToSynchronize - MediaModel createMedia(NavigationNodeViewModel navigationNode, byte[] bytes)
navigationNode - bytes - java.util.Collection<CategoryModel> getRootCategories()
EnumerationService getEnumerationService()
java.util.List<NavigationLinkViewModel> getNavigationLinksForContetPagesFromCurrentCatalog(LiveEditViewModel model)
model - ContentSlotModel getContentSlotForPreviewCatalogVersions(java.lang.String slotUid, LiveEditViewModel model)
slotUid - model - ContentSlotModel getNavigationBarContentSlot(java.lang.String uid, LiveEditViewModel model)
uid - model - AbstractCMSComponentModel getComponentForPreviewCatalogVersions(java.lang.String componentUid, LiveEditViewModel model)
componentUid - model - Copyright © 2018 SAP SE. All Rights Reserved.