Class DefaultInvoiceActionServiceImpl.DefaultInvokeOrderGeneratorTask
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
- All Implemented Interfaces:
org.quartz.InterruptableJob,org.quartz.Job
- Direct Known Subclasses:
DefaultInvoiceGeneratorJob
- Enclosing class:
DefaultInvoiceActionServiceImpl
public static class DefaultInvoiceActionServiceImpl.DefaultInvokeOrderGeneratorTask
extends InvokeOrderGeneratorTask
-
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, validationResultPrinterFields inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
businessUnitManager, l10N, logger, principalManager, securityManager -
Constructor Summary
ConstructorsConstructorDescriptionDefaultInvokeOrderGeneratorTask(ContextManager contextManager, RebindService rebindService, OrderGeneratorService orderGeneratorService, TextResources textResources, ValidationResultPrinter validationResultPrinter, CommandExecutor commandExecutor, DataModel dataModel, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory) -
Method Summary
Modifier and TypeMethodDescriptiongetBillingPositions(Entity source) Returns all billing positions for a given source entity.protected List<PrimaryKeyList> getSourceEntities(EntityList selection, int maxTxSize) The selected entities for which the action should be performed.Methods inherited from class ch.tocco.nice2.optional.order.api.action.invoice.tasks.InvokeOrderGeneratorTask
createOrderGeneratorBeans, doExecute, generateOrders, getSourceEntities, newContextEnded, newContextStartedMethods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractInterruptableJob
interrupt, isCancelledMethods inherited from class ch.tocco.nice2.tasks.api.quartz.AbstractJob
execute, getProgress, getProgressLog, setBusinessUnitManager, setConverters, setL10N, setLogger, setPrincipalManager, setProgressPersistenceManager, setRuleProviderService, setSecurityManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.quartz.Job
execute
-
Constructor Details
-
DefaultInvokeOrderGeneratorTask
public DefaultInvokeOrderGeneratorTask(ContextManager contextManager, RebindService rebindService, OrderGeneratorService orderGeneratorService, TextResources textResources, ValidationResultPrinter validationResultPrinter, CommandExecutor commandExecutor, DataModel dataModel, EntityExplorerActionSelectionService selectionService, QueryBuilderFactory queryBuilderFactory)
-
-
Method Details
-
getSourceEntities
Description copied from class:InvokeOrderGeneratorTaskThe selected entities for which the action should be performed.- Specified by:
getSourceEntitiesin classInvokeOrderGeneratorTask
-
getBillingPositions
Description copied from class:InvokeOrderGeneratorTaskReturns all billing positions for a given source entity.- Specified by:
getBillingPositionsin classInvokeOrderGeneratorTask
-