Class CreateDebitorExportServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.action.debitorexport.CreateDebitorExportServiceImpl
- All Implemented Interfaces:
CreateDebitorExportService
@Component
public class CreateDebitorExportServiceImpl
extends Object
implements CreateDebitorExportService
-
Constructor Summary
ConstructorsConstructorDescriptionCreateDebitorExportServiceImpl(Context context, CommandExecutor executor, PersistenceService persistenceService, PrincipalService principalService) -
Method Summary
Modifier and TypeMethodDescriptionlongcountExportableVouchers(Consumer<QueryBuilderBase<?, ?>> selection) longcountVouchers(Consumer<QueryBuilderBase<?, ?>> selection) createDebitorExport(Consumer<QueryBuilderBase<?, ?>> selection) Creates a Debitor_export of the current user and assigns it with today's export_date to the exportable vouchers of the selection.
-
Constructor Details
-
CreateDebitorExportServiceImpl
public CreateDebitorExportServiceImpl(Context context, CommandExecutor executor, PersistenceService persistenceService, PrincipalService principalService)
-
-
Method Details
-
countVouchers
- Specified by:
countVouchersin interfaceCreateDebitorExportService
-
countExportableVouchers
- Specified by:
countExportableVouchersin interfaceCreateDebitorExportService
-
createDebitorExport
Description copied from interface:CreateDebitorExportServiceCreates a Debitor_export of the current user and assigns it with today's export_date to the exportable vouchers of the selection. The vouchers are updated privileged. The Debitor_export is also created if no voucher is exportable.- Specified by:
createDebitorExportin interfaceCreateDebitorExportService
-