Class PageContentActionServiceImpl
java.lang.Object
ch.tocco.nice2.dms.spi.action.ContentActionServiceImpl
ch.tocco.nice2.optional.cms.impl.action.PageContentActionServiceImpl
- All Implemented Interfaces:
ContentActionService
,PageContentActionService
public class PageContentActionServiceImpl
extends ContentActionServiceImpl
implements PageContentActionService
-
Field Summary
Fields inherited from class ch.tocco.nice2.dms.spi.action.ContentActionServiceImpl
contentActionFactoryMap, entityExplorerActionSelectionService
-
Constructor Summary
ConstructorDescriptionPageContentActionServiceImpl
(PageContentService pageContentService, EntityExplorerActionSelectionService entityExplorerActionSelectionService, Context context, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptionaddSection
(String pageKey, String containerName, String content) addSnippet
(String contentToSectionKey, String snippetName) void
copySnippetIntoPage
(String contentToSectionKey) void
deleteSection
(String contentToSectionKey) getAvailableContentStatuses
(String contentToSectionKey) insertSnippet
(String pageKey, String containerName, String snippetKey) boolean
isSnippetNameUnique
(String snippetName) void
moveSection
(String contentToSectionKey, String containerName, int position) void
setSectionVisibilities
(String contentToSectionKey, SectionVisibility[] sectionVisibilities) updateSection
(String contentToSectionKey, String content, long version) Methods inherited from class ch.tocco.nice2.dms.spi.action.ContentActionServiceImpl
publish, publishAll, revert, revertAll, setServices, unpublish, unpublishAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.dms.spi.action.ContentActionService
publish, publishAll, revert, revertAll, unpublish, unpublishAll
-
Constructor Details
-
PageContentActionServiceImpl
public PageContentActionServiceImpl(PageContentService pageContentService, EntityExplorerActionSelectionService entityExplorerActionSelectionService, Context context, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
addSection
- Specified by:
addSection
in interfacePageContentActionService
-
getSnippets
- Specified by:
getSnippets
in interfacePageContentActionService
-
insertSnippet
- Specified by:
insertSnippet
in interfacePageContentActionService
-
copySnippetIntoPage
- Specified by:
copySnippetIntoPage
in interfacePageContentActionService
-
updateSection
- Specified by:
updateSection
in interfacePageContentActionService
-
moveSection
- Specified by:
moveSection
in interfacePageContentActionService
-
deleteSection
- Specified by:
deleteSection
in interfacePageContentActionService
-
addSnippet
- Specified by:
addSnippet
in interfacePageContentActionService
-
getAvailableContentStatuses
- Specified by:
getAvailableContentStatuses
in interfacePageContentActionService
-
setSectionVisibilities
public void setSectionVisibilities(String contentToSectionKey, SectionVisibility[] sectionVisibilities) - Specified by:
setSectionVisibilities
in interfacePageContentActionService
-
isSnippetNameUnique
- Specified by:
isSnippetNameUnique
in interfacePageContentActionService
-