Class CopyWidgetConfigTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.widget.CopyWidgetConfigTask
- All Implemented Interfaces:
PersistTask<WidgetConfigContentReference,
Entity>
public class CopyWidgetConfigTask
extends Object
implements PersistTask<WidgetConfigContentReference,Entity>
This persist tasks copies widget config entities.
- Copies all fields
- Copies all relations except of "relContent_reference" and "relContent_reference_source"
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Entity
run
(Optional<WidgetConfigContentReference> widgetReference, 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
-
CopyWidgetConfigTask
public CopyWidgetConfigTask()
-
-
Method Details
-
run
@Nullable public @Nullable Entity run(Optional<WidgetConfigContentReference> widgetReference, CommandContext commandContext) throws InterruptedException - Specified by:
run
in interfacePersistTask<WidgetConfigContentReference,
Entity> - Throws:
InterruptedException
-