Class AbstractDebitorExporter
java.lang.Object
ch.tocco.nice2.optional.finance.api.service.export.AbstractDebitorExporter
- All Implemented Interfaces:
DebitorExporter
abstract
DebitorExporter
that handles some things that are always the same for each exporter-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable OutputCenterInputSupplier
exports the vouchers related to a debitor exportabstract @Nullable OutputCenterInputSupplier
doExportWithVouchers
(EntityList vouchers) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.finance.api.service.export.DebitorExporter
getName
-
Constructor Details
-
AbstractDebitorExporter
public AbstractDebitorExporter()
-
-
Method Details
-
doExport
@Nullable public @Nullable OutputCenterInputSupplier doExport(Entity debitorExport) throws DebitorExportException Description copied from interface:DebitorExporter
exports the vouchers related to a debitor export- Specified by:
doExport
in interfaceDebitorExporter
- Parameters:
debitorExport
- the debitor export, whose vouchers should be exported- Returns:
- the content to fill the file with
- Throws:
DebitorExportException
- when a checked exception is thrown during the export
-
doExportWithVouchers
@Nullable public abstract @Nullable OutputCenterInputSupplier doExportWithVouchers(EntityList vouchers) throws DebitorExportException - Throws:
DebitorExportException
-