Class GetPublishedContentTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.GetPageContentTask
ch.tocco.nice2.optional.cms.impl.content.persist.GetPublishedContentTask
- All Implemented Interfaces:
PersistTask<PageNode, PageContent>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @Nullable EntitygetContentEntity(Entity pageEntity) protected @Nullable EntitygetSectionFromSnippet(Entity snippetEntity) Methods inherited from class GetPageContentTask
runMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
GetPublishedContentTask
public GetPublishedContentTask()
-
-
Method Details
-
getContentEntity
- Specified by:
getContentEntityin classGetPageContentTask- Throws:
PersistException
-
getSectionFromSnippet
@Nullable protected @Nullable Entity getSectionFromSnippet(Entity snippetEntity) throws PersistException - Specified by:
getSectionFromSnippetin classGetPageContentTask- Throws:
PersistException
-