Interface DebitorExportActionService
- All Known Implementing Classes:
DebitorExportActionServiceImpl
public interface DebitorExportActionService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isExportable
(EntityExplorerActionSelection selection) checks if the selected Debitor_export is exportable, i.e.startExport
(EntityExplorerActionSelection selection, String type) starts the debitor export for a given type, by calling aDebitorExporter
-
Method Details
-
isExportable
checks if the selected Debitor_export is exportable, i.e. has vouchers- Parameters:
selection
- the Debitor_export selection- Returns:
- true if vouchers exist
- Throws:
RpcExecutionException
-
startExport
String startExport(EntityExplorerActionSelection selection, String type) throws RpcExecutionException, DebitorExportException starts the debitor export for a given type, by calling aDebitorExporter
- Parameters:
selection
- the Debitor_export selectiontype
- the type of export to start- Returns:
- the pk of the generated file as a string
- Throws:
DebitorExportException
- when a checked exception is thrown in aDebitorExporter
RpcExecutionException
-