Class SelectTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.visibility.SelectTask
- All Implemented Interfaces:
PersistTask<SelectTask.Params,
List<Template>>
Takes a list of
Templates
and sets the
"selected" flag for the given primary key of Page_content_to_section entity.-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionrun
(Optional<SelectTask.Params> params, 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
-
SelectTask
public SelectTask()
-
-
Method Details
-
run
@Nullable public @Nullable List<Template> run(Optional<SelectTask.Params> params, CommandContext commandContext) throws Exception - Specified by:
run
in interfacePersistTask<SelectTask.Params,
List<Template>> - Throws:
Exception
-