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.spi.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 InvokeOrderGeneratorTask
InvokeOrderGeneratorTask.Recipient -
Field Summary
Fields inherited from class InvokeOrderGeneratorTask
commandExecutor, contextManager, dataModel, orderGeneratorService, queryBuilderFactory, rebindService, selectionService, textResources, validationResultPrinterFields inherited from class AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager -
Constructor Summary
ConstructorsConstructorDescriptionDirectInvoiceGeneratorJob(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 DirectInvoiceActionServiceImpl.DirectInvokeOrderGeneratorTask
getBillingPositions, getSourceEntities, newContextEnded, newContextStartedMethods inherited from class InvokeOrderGeneratorTask
createOrderGeneratorBeans, doExecuteMethods inherited from class AbstractInterruptableJob
interrupt, isCancelledMethods inherited from class AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManagerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
generateOrdersin classInvokeOrderGeneratorTask- Throws:
UnresolvableUriExceptionUriStoreExceptionURISyntaxExceptionRebindException
-
getSourceEntities
Description copied from class:InvokeOrderGeneratorTaskThe selected entities for which the action should be performed.- Overrides:
getSourceEntitiesin classInvokeOrderGeneratorTask
-