Class InsertSnippetTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.AddContentTask<InsertSnippetTask.Param,Entity>
ch.tocco.nice2.optional.cms.impl.content.persist.InsertSnippetTask
- All Implemented Interfaces:
PersistTask<InsertSnippetTask.Param,
Entity>
Insert a snippet into a page.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun
(Optional<InsertSnippetTask.Param> paramObj, CommandContext commandContext) Methods inherited from class ch.tocco.nice2.optional.cms.impl.content.persist.AddContentTask
createContentToSection, createContentToSnippet
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
-
InsertSnippetTask
public InsertSnippetTask()
-
-
Method Details
-
run
public Entity run(Optional<InsertSnippetTask.Param> paramObj, CommandContext commandContext) throws PersistException, InterruptedException - Throws:
PersistException
InterruptedException
-