Interface CreateOrderGeneratorBeanTask
- All Superinterfaces:
OptionalTask<Tuple2<Entity,
,Collection<Entity>>, Collection<OrderGeneratorBean>> PersistTask<Tuple2<Entity,
Collection<Entity>>, Collection<OrderGeneratorBean>>
- All Known Implementing Classes:
DefaultCreateOrderGeneratorBeanTask
public interface CreateOrderGeneratorBeanTask
extends OptionalTask<Tuple2<Entity,Collection<Entity>>,Collection<OrderGeneratorBean>>
-
Method Summary
Modifier and TypeMethodDescriptiondoRun
(Tuple2<Entity, Collection<Entity>> params, CommandContext commandContext) @Nullable String
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
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
-
Method Details
-
doRun
Collection<OrderGeneratorBean> doRun(Tuple2<Entity, Collection<Entity>> params, CommandContext commandContext) throws Exception- Specified by:
doRun
in interfaceOptionalTask<Tuple2<Entity,
Collection<Entity>>, Collection<OrderGeneratorBean>> - Throws:
Exception
-
getEntity
-