Class DeleteSectionTask
java.lang.Object
ch.tocco.nice2.optional.cms.impl.content.persist.DeleteSectionTask
- All Implemented Interfaces:
PersistTask<PrimaryKey,
Boolean>
Task to delete a section.
Caution: Requires the key of the Page_content_to_section entity, not the key of the Section entity!
-
Constructor Summary
-
Method Summary
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
-
DeleteSectionTask
-
-
Method Details
-
run
public Boolean run(Optional<PrimaryKey> a, CommandContext commandContext) throws PersistException, InterruptedException - Specified by:
run
in interfacePersistTask<PrimaryKey,
Boolean> - Throws:
PersistException
InterruptedException
-