Class DefaultCreateOrderGeneratorBeanTask
java.lang.Object
ch.tocco.nice2.optional.order.impl.action.invoice.tasks.DefaultCreateOrderGeneratorBeanTask
- All Implemented Interfaces:
CreateOrderGeneratorBeanTask
,OptionalTask<Tuple2<Entity,
,Collection<Entity>>, Collection<OrderGeneratorBean>> PersistTask<Tuple2<Entity,
Collection<Entity>>, Collection<OrderGeneratorBean>>
public class DefaultCreateOrderGeneratorBeanTask
extends Object
implements CreateOrderGeneratorBeanTask
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoRun
(Tuple2<Entity, Collection<Entity>> params, CommandContext commandContext) @Nullable String
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.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
-
Constructor Details
-
DefaultCreateOrderGeneratorBeanTask
public DefaultCreateOrderGeneratorBeanTask()
-
-
Method Details
-
doRun
public Collection<OrderGeneratorBean> doRun(Tuple2<Entity, Collection<Entity>> params, CommandContext commandContext) - Specified by:
doRun
in interfaceCreateOrderGeneratorBeanTask
- Specified by:
doRun
in interfaceOptionalTask<Tuple2<Entity,
Collection<Entity>>, Collection<OrderGeneratorBean>>
-
getEntity
- Specified by:
getEntity
in interfaceCreateOrderGeneratorBeanTask
-