Class DefaultInvoiceGeneratorJob
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.DefaultInvoiceActionServiceImpl.DefaultInvokeOrderGeneratorTask
ch.tocco.nice2.optional.order.spi.action.invoice.resource.DefaultInvoiceGeneratorJob
- All Implemented Interfaces:
org.quartz.InterruptableJob
,org.quartz.Job
public class DefaultInvoiceGeneratorJob
extends DefaultInvoiceActionServiceImpl.DefaultInvokeOrderGeneratorTask
-
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
ConstructorDescriptionDefaultInvoiceGeneratorJob
(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.DefaultInvoiceActionServiceImpl.DefaultInvokeOrderGeneratorTask
getBillingPositions, getSourceEntities
Methods inherited from class ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
createOrderGeneratorBeans, doExecute, newContextEnded, newContextStarted
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
-
DefaultInvoiceGeneratorJob
public DefaultInvoiceGeneratorJob(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
-