Class CollectWidgetStatesTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.visibility.AbstractCollectStatesTask
ch.tocco.nice2.optional.cms.impl.content.visibility.CollectWidgetStatesTask
- All Implemented Interfaces:
PersistTask<PrimaryKey,
Collection<Template>>
Takes the primary key of a Page_content entity and returns all available states for the widgets in this page.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Collection
<Template> run
(Optional<PrimaryKey> contentKey, 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
-
CollectWidgetStatesTask
public CollectWidgetStatesTask()
-
-
Method Details
-
run
@Nullable public @Nullable Collection<Template> run(Optional<PrimaryKey> contentKey, CommandContext commandContext) throws PersistException, InterruptedException - Throws:
PersistException
InterruptedException
-