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
-
Method Summary
Modifier and TypeMethodDescriptionprotected Entity
createContentToSection
(PrimaryKey pageKey, Entity section, String containerName) protected Entity
createContentToSnippet
(PrimaryKey pageKey, Entity snippet, String containerName) 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, run, skipErrors, unwrap
-
Constructor Details
-
AddContentTask
public AddContentTask()
-
-
Method Details
-
createContentToSection
protected Entity createContentToSection(PrimaryKey pageKey, Entity section, String containerName) throws PersistException, InterruptedException - Throws:
PersistException
InterruptedException
-
createContentToSnippet
protected Entity createContentToSnippet(PrimaryKey pageKey, Entity snippet, String containerName) throws PersistException, InterruptedException - Throws:
PersistException
InterruptedException
-