Class DebitorExportActionServiceImpl
java.lang.Object
ch.tocco.nice2.optional.finance.impl.service.debitorexport.DebitorExportActionServiceImpl
- All Implemented Interfaces:
 DebitorExportActionService
- 
Constructor Summary
ConstructorsConstructorDescriptionDebitorExportActionServiceImpl(EntityExplorerActionSelectionService selectionService, OutputCenterService outputCenterService, TextResources textResources)  - 
Method Summary
Modifier and TypeMethodDescriptionbooleanisExportable(EntityExplorerActionSelection selection) checks if the selected Debitor_export is exportable, i.e.voidsetExporters(List<DebitorExporter> exporters) startExport(EntityExplorerActionSelection selection, String type) starts the debitor export for a given type, by calling aDebitorExporter 
- 
Constructor Details
- 
DebitorExportActionServiceImpl
public DebitorExportActionServiceImpl(EntityExplorerActionSelectionService selectionService, OutputCenterService outputCenterService, TextResources textResources)  
 - 
 - 
Method Details
- 
isExportable
Description copied from interface:DebitorExportActionServicechecks if the selected Debitor_export is exportable, i.e. has vouchers- Specified by:
 isExportablein interfaceDebitorExportActionService- Parameters:
 selection- the Debitor_export selection- Returns:
 - true if vouchers exist
 - Throws:
 RpcExecutionException
 - 
startExport
public String startExport(EntityExplorerActionSelection selection, String type) throws RpcExecutionException, DebitorExportException Description copied from interface:DebitorExportActionServicestarts the debitor export for a given type, by calling aDebitorExporter- Specified by:
 startExportin interfaceDebitorExportActionService- 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 aDebitorExporterRpcExecutionException
 - 
setExporters
 
 -