Class PublishSnippetsOfPublishedPageTask
java.lang.Object
ch.tocco.nice2.dms.spi.content.persist.UnsupportedPublishStatusTask
ch.tocco.nice2.optional.cms.impl.content.persist.PublishSnippetsOfPublishedPageTask
- All Implemented Interfaces:
PersistTask<Entity,
Void>
This task is responsible to publish all snippets of the page. But only,
if the publish status of the page is 'published'.
If the publish status of the page is 'changed' or 'offline', the whole page
is published "normally" including the snippets.
-
Constructor Summary
ConstructorDescriptionPublishSnippetsOfPublishedPageTask
(CascadingDeleteService cascadingDeleteService, CopyWidgetConfigService copyWidgetConfigService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescription@Nullable Void
run
(Optional<Entity> page, CommandContext commandContext) 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.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
PublishSnippetsOfPublishedPageTask
public PublishSnippetsOfPublishedPageTask(CascadingDeleteService cascadingDeleteService, CopyWidgetConfigService copyWidgetConfigService, SecurityManager securityManager)
-
-
Method Details