Class AddContentTask<A,T>
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.AddContentTask<A,T>
- All Implemented Interfaces:
PersistTask<A,T>
- Direct Known Subclasses:
AddSectionTask,InsertSnippetTask
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EntitycreateContentToSection(PrimaryKey pageKey, Entity section, String containerName) protected EntitycreateContentToSnippet(PrimaryKey pageKey, Entity snippet, String containerName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, run, skipErrors, unwrap
-
Constructor Details
-
AddContentTask
public AddContentTask()
-
-
Method Details
-
createContentToSection
protected Entity createContentToSection(PrimaryKey pageKey, Entity section, String containerName) throws PersistException, InterruptedException - Throws:
PersistExceptionInterruptedException
-
createContentToSnippet
protected Entity createContentToSnippet(PrimaryKey pageKey, Entity snippet, String containerName) throws PersistException, InterruptedException - Throws:
PersistExceptionInterruptedException
-