Package ch.tocco.nice2.optional.cms.impl.content.persist
package ch.tocco.nice2.optional.cms.impl.content.persist
-
ClassDescriptionAddContentTask<A,
T> Converts a section into a snippet.Copies the content of the snippet into the section.Task to delete a section.Creates a copy of a page content.Creates a copy of a section All linked widget configurations and "Widget_legacy" entities (needed for section visibilities) will also be copied.Get a list of all available snippets.Insert a snippet into a page.Copies the section linked on "relSection" to "relSection_published" usingPublishSnippetTask
.This task is responsible to publish all snippets of the page.This task publishes a snippet: * get published section of snippet and delete it * duplicate unpublished section and link the copy as published sectionClears the edit content and copies the published content to it.Copies the section linked on "relSection_published" to "relSection" usingDuplicateSectionTask
, but only, if the snippet is contained in exactly 1 page with publish status "changed" or "offline".Implement this interface to do something with the snippet when page content is duplicated.Task for updating the html content of a section.