Class GetContentStatesForContentToSectionTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.visibility.GetContentStatesForContentToSectionTask
- All Implemented Interfaces:
PersistTask<PrimaryKey,
List<Template>>
public class GetContentStatesForContentToSectionTask
extends Object
implements PersistTask<PrimaryKey,List<Template>>
Takes a primary key of a Page_content_to_section entity and returns a list of all available content states. The
"selected" flags are set for the given Page_content_to_section.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun
(Optional<PrimaryKey> contentToSectionKey, CommandContext commandContext) 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
-
GetContentStatesForContentToSectionTask
-
-
Method Details
-
run
@Nullable public @Nullable List<Template> run(Optional<PrimaryKey> contentToSectionKey, CommandContext commandContext) throws Exception - Specified by:
run
in interfacePersistTask<PrimaryKey,
List<Template>> - Throws:
Exception
-