Class InvoiceTaskHelper
java.lang.Object
ch.tocco.nice2.optional.order.api.action.invoice.resource.InvoiceTaskHelper
-
Constructor Summary
ConstructorDescriptionInvoiceTaskHelper
(EntityBeanRebinder entityBeanRebinder, Context context, SelectionService selectionService, OrderGeneratorService orderGeneratorService, L10N l10N) -
Method Summary
Modifier and TypeMethodDescriptiongenerateOrders
(JobDataMapReader jobDataMapReader, com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId> recipients, Context newContext, BiFunction<com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId>, Context, List<OrderGeneratorBean>> orderGeneratorBeanCreator) getSourceEntities
(JobDataMapReader jobDataMapReader, int maxTxSize, BiFunction<EntityList, Integer, List<PrimaryKeyList>> sourceEntityFunction)
-
Constructor Details
-
InvoiceTaskHelper
public InvoiceTaskHelper(EntityBeanRebinder entityBeanRebinder, Context context, SelectionService selectionService, OrderGeneratorService orderGeneratorService, L10N l10N)
-
-
Method Details
-
generateOrders
public List<OrderGeneratorBean> generateOrders(JobDataMapReader jobDataMapReader, com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId> recipients, Context newContext, BiFunction<com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId>, Context, List<OrderGeneratorBean>> orderGeneratorBeanCreator) -
getSourceEntities
public List<PrimaryKeyList> getSourceEntities(JobDataMapReader jobDataMapReader, int maxTxSize, BiFunction<EntityList, Integer, List<PrimaryKeyList>> sourceEntityFunction)
-