public class DefaultNavigationEditorService extends java.lang.Object implements NavigationEditorService
NavigationEditorService interface.| Constructor and Description |
|---|
DefaultNavigationEditorService() |
public CatalogVersionModel getCurrentContentCatalogVersion()
NavigationEditorServicegetCurrentContentCatalogVersion in interface NavigationEditorServicepublic java.util.Collection<TypedObject> saveModels(java.util.Collection<NavigationNodeTabViewModel> navigationModels, NavigationParentElement parentElement)
NavigationEditorServicesaveModels in interface NavigationEditorServiceprotected void editExistingNode(java.util.Collection<TypedObject> typedObjects, NavigationNodeViewModel node)
protected java.lang.String getCurrentLanguageFromModel(NavigationNodeViewModel node)
protected void populateCMSNavBarFromModel(NavigationNodeViewModel node, NavigationBarComponentModel navBar, java.util.Collection<TypedObject> typedObjects)
protected void createNewNode(java.util.Collection<TypedObject> typedObjects, NavigationNodeViewModel node, NavigationParentElement parentElement)
protected void saveAllAndAddToSynchronizedCollection(NavigationNodeViewModel node, java.util.Collection<TypedObject> typedObjects, NavigationBarComponentModel newNavBar, CMSNavigationNodeModel newNavNode, CMSLinkComponentModel newNavLink, CMSNavigationNodeModel navigationNodeForId, NavigationParentElement parentElement)
protected CMSNavigationNodeModel appendNavNodeToParent(CMSNavigationNodeModel newNavNode, LiveEditViewModel liveEditView)
protected CMSLinkComponentModel createNavigationLinkForNavigationBar(NavigationNodeViewModel node, java.util.Collection<TypedObject> typedObjects)
protected void populateCMSLinkFromModelLink(CMSLinkComponentModel cmsLinkModel, NavigationNodeViewModel node, java.util.Collection<TypedObject> typedObjects)
protected CMSNavigationNodeModel newNavNodeForNavigationBar(NavigationNodeViewModel node, java.util.Collection<TypedObject> typedObjects)
protected void createChildColumns(NavigationNodeViewModel node, CMSNavigationNodeModel newNavNode, java.util.Collection<TypedObject> typedObjects)
protected CMSNavigationNodeModel createNewCMSNavigationNodeFromColumnViewModel(NavigationColumnViewModel column, java.util.Collection<TypedObject> typedObjects)
protected void populateCMSNavigationNode(NavigationColumnViewModel column, CMSNavigationNodeModel cmsColumnNavNode, java.util.Collection<TypedObject> typedObjects)
protected CMSLinkComponentModel createNewCMSLinkFromLinkViewModel(NavigationLinkViewModel link, CMSNavigationNodeModel cmsColumnNavNode)
protected void populateCMSNavigationLinkFromModel(NavigationLinkViewModel link, CMSLinkComponentModel modelNavLink, CMSNavigationNodeModel cmsColumnNavNode)
protected NavigationBarComponentModel createNavigationBar(NavigationNodeViewModel node, java.util.Collection<TypedObject> typedObjects, NavigationParentElement parentElement)
protected void getAllNavigationNodesFromClickedPlace(NavigationEditorViewModel viewModel, java.util.Collection<NavigationNodeTabViewModel> models, NavigationParentElement parentElement)
public ContentSlotModel getContentSlotForPreviewCatalogVersions(java.lang.String slotUid, LiveEditViewModel model)
NavigationEditorServicegetContentSlotForPreviewCatalogVersions in interface NavigationEditorServiceprotected CMSNavigationNodeModel getNavigationNodeForPreviewCatalogVersions(java.lang.String nodeId, LiveEditViewModel model)
public AbstractCMSComponentModel getComponentForPreviewCatalogVersions(java.lang.String componentUid, LiveEditViewModel model)
NavigationEditorServicegetComponentForPreviewCatalogVersions in interface NavigationEditorServicepublic ContentSlotModel getNavigationBarContentSlot(java.lang.String uid, LiveEditViewModel model)
NavigationEditorServicegetNavigationBarContentSlot in interface NavigationEditorServiceprotected void createModelColumn(NavigationNodeViewModel mainNavNode, CMSNavigationNodeModel node)
protected void populateModelNavBar(NavigationNodeViewModel mainNavNode, AbstractCMSComponentModel simpleCMSComponent, NavigationBarComponentModel navBar)
protected void populateNavigationLinkViewModel(NavigationLinkViewModel link, CMSLinkComponentModel linkModel, NavigationColumnViewModel column)
public java.util.Collection<NavigationNodeTabViewModel> getNodesForCurrentVersion(NavigationEditorViewModel viewModel, NavigationParentElement parentElement)
NavigationEditorServicegetNodesForCurrentVersion in interface NavigationEditorServicepublic void removeNavigation(NavigationNodeTabViewModel model)
NavigationEditorServiceremoveNavigation in interface NavigationEditorServicemodel - navigation node to be removedpublic java.util.Collection<NavigationNodeTabViewModel> insertBefore(NavigationNodeTabViewModel draggedModel, NavigationNodeTabViewModel targetModel, NavigationParentElement parentElement, java.util.Collection<NavigationNodeTabViewModel> navigations)
NavigationEditorServiceinsertBefore in interface NavigationEditorServicepublic boolean isSynchronizePossible(java.util.Collection<TypedObject> itemsToSynchronize)
NavigationEditorServiceisSynchronizePossible in interface NavigationEditorServicepublic void performSynchronization(java.util.Collection<TypedObject> itemsToSynchronize)
NavigationEditorServiceperformSynchronization in interface NavigationEditorServicepublic MediaModel createMedia(NavigationNodeViewModel navigationNode, byte[] bytes)
NavigationEditorServicecreateMedia in interface NavigationEditorServicepublic java.util.List<NavigationLinkViewModel> getNavigationLinksForContetPagesFromCurrentCatalog(LiveEditViewModel model)
NavigationEditorServicegetNavigationLinksForContetPagesFromCurrentCatalog in interface NavigationEditorServicepublic java.util.Collection<CategoryModel> getRootCategories()
NavigationEditorServicegetRootCategories in interface NavigationEditorServicepublic CMSAdminSiteService getCmsAdminSiteService()
public void setCmsAdminSiteService(CMSAdminSiteService cmsAdminSiteService)
public BaseSiteService getBaseSiteService()
public void setBaseSiteService(BaseSiteService baseSiteService)
public CMSComponentService getCmsComponentService()
public void setCmsComponentService(CMSComponentService cmsComponentService)
protected CMSContentSlotService getCmsContentSlotService()
public void setCmsContentSlotService(CMSContentSlotService cmsContentSlotService)
protected CatalogVersionService getCatalogVersionService()
public void setCatalogService(CatalogVersionService catalogService)
public CMSNavigationService getCmsNavigationService()
public void setCmsNavigationService(CMSNavigationService cmsNavigationService)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public UserService getUserService()
public void setUserService(UserService userService)
public SessionService getSessionService()
public void setSessionService(SessionService sessionService)
public SynchronizationServiceImpl getSynchronizationService()
public void setSynchronizationService(SynchronizationServiceImpl synchronizationService)
public MediaService getMediaService()
public void setMediaService(MediaService mediaService)
public EnumerationService getEnumerationService()
NavigationEditorServicegetEnumerationService in interface NavigationEditorServicepublic void setEnumerationService(EnumerationService enumerationService)
public CategoryService getCategoryService()
public void setCategoryService(CategoryService categoryService)
public DefaultCMSPageService getPageService()
public void setPageService(DefaultCMSPageService pageService)
public CounterpartProductCatalogVersionsStrategy getCounterpartProductCatalogVersionsStrategy()
public void setCounterpartProductCatalogVersionsStrategy(CounterpartProductCatalogVersionsStrategy counterpartProductCatalogVersionsStrategy)
public void setCommonI18NService(CommonI18NService commonI18NService)
public CommonI18NService getCommonI18NService()
Copyright © 2018 SAP SE. All Rights Reserved.