Class DirectInvoiceGeneratorJob
java.lang.Object
ch.tocco.nice2.tasks.api.quartz.AbstractJob
ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
ch.tocco.nice2.optional.order.impl.action.invoice.DirectInvoiceActionServiceImpl.DirectInvokeOrderGeneratorTask
ch.tocco.nice2.optional.order.impl.action.invoice.resource.DirectInvoiceGeneratorJob
- All Implemented Interfaces:
org.quartz.InterruptableJob
,org.quartz.Job
public class DirectInvoiceGeneratorJob
extends DirectInvoiceActionServiceImpl.DirectInvokeOrderGeneratorTask
-
Nested Class Summary
Nested classes/interfaces inherited from class ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
InvokeOrderGeneratorTask.Recipient
-
Field Summary
Fields inherited from class ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
commandExecutor, contextManager, dataModel, orderGeneratorService, queryBuilderFactory, rebindService, selectionService, textResources, validationResultPrinter
Fields inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager
-
Constructor Summary
ConstructorDescriptionDirectInvoiceGeneratorJob
(ContextManager contextManager, RebindService rebindService, OrderGeneratorService orderGeneratorService, TextResources textResources, ValidationResultPrinter validationResultPrinter, CommandExecutor commandExecutor, DataModel dataModel, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory, InvoiceTaskHelper invoiceTaskHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected List
<OrderGeneratorBean> generateOrders
(JobDataMapReader jobDataMapReader, com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId> recipients, Context newContext) protected List
<PrimaryKeyList> getSourceEntities
(JobDataMapReader jobDataMapReader, int maxTxSize) The selected entities for which the action should be performed.Methods inherited from class ch.tocco.nice2.optional.order.impl.action.invoice.DirectInvoiceActionServiceImpl.DirectInvokeOrderGeneratorTask
getBillingPositions, getSourceEntities, newContextEnded, newContextStarted
Methods inherited from class ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
createOrderGeneratorBeans, doExecute
Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
interrupt, isCancelled
Methods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManager
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.quartz.Job
execute
-
Constructor Details
-
DirectInvoiceGeneratorJob
public DirectInvoiceGeneratorJob(ContextManager contextManager, RebindService rebindService, OrderGeneratorService orderGeneratorService, TextResources textResources, ValidationResultPrinter validationResultPrinter, CommandExecutor commandExecutor, DataModel dataModel, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory, InvoiceTaskHelper invoiceTaskHelper)
-
-
Method Details
-
generateOrders
protected List<OrderGeneratorBean> generateOrders(JobDataMapReader jobDataMapReader, com.google.common.collect.Multimap<InvokeOrderGeneratorTask.Recipient, EntityId> recipients, Context newContext) throws UnresolvableUriException, UriStoreException, URISyntaxException, RebindException- Overrides:
generateOrders
in classInvokeOrderGeneratorTask
- Throws:
UnresolvableUriException
UriStoreException
URISyntaxException
RebindException
-
getSourceEntities
Description copied from class:InvokeOrderGeneratorTask
The selected entities for which the action should be performed.- Overrides:
getSourceEntities
in classInvokeOrderGeneratorTask
-