Class PublishSnippetHandler
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.PublishSnippetHandler
- All Implemented Interfaces:
SnippetHandler
Copies the section linked on "relSection" to "relSection_published" using
PublishSnippetTask
.-
Constructor Summary
ConstructorDescriptionPublishSnippetHandler
(CascadingDeleteService cascadingDeleteService, CopyWidgetConfigService copyWidgetConfigService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
handle
(Entity snippet, CommandContext commandContext) Do something with the snippet (i.e.
-
Constructor Details
-
PublishSnippetHandler
public PublishSnippetHandler(CascadingDeleteService cascadingDeleteService, CopyWidgetConfigService copyWidgetConfigService, SecurityManager securityManager)
-
-
Method Details
-
handle
Description copied from interface:SnippetHandler
Do something with the snippet (i.e. copy related sections).- Specified by:
handle
in interfaceSnippetHandler
- Parameters:
snippet
- The snippet to handle.commandContext
- The command context.- Throws:
Exception
-