Class DataViewDefaultExporter
java.lang.Object
org.imixs.workflow.office.dataview.DataViewDefaultExporter
- All Implemented Interfaces:
Serializable
@Named
@ConversationScoped
public class DataViewDefaultExporter
extends Object
implements Serializable
The DataViewDefaultExporter exports a dataset into a excel template. The
exporter sends a DataViewExportEvent. An observer CID bean can implement
alternative exporters.
With the event property 'completed' a client can signal that the export
process is completed. Otherwise the default behavior will be adapted.
- Author:
- rsoika
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.enterprise.event.Event<DataViewExportEvent>static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinsertDataRows(List<org.imixs.workflow.ItemCollection> dataset, org.imixs.workflow.ItemCollection dataViewDefinition, List<org.imixs.workflow.ItemCollection> viewItemDefinitions, org.imixs.workflow.FileData fileData) This helper method inserts a row for each invoice
-
Field Details
-
ERROR_CONFIG
- See Also:
-
dataViewExportEvents
-
-
Constructor Details
-
DataViewDefaultExporter
public DataViewDefaultExporter()
-
-
Method Details
-
insertDataRows
public void insertDataRows(List<org.imixs.workflow.ItemCollection> dataset, org.imixs.workflow.ItemCollection dataViewDefinition, List<org.imixs.workflow.ItemCollection> viewItemDefinitions, org.imixs.workflow.FileData fileData) throws org.imixs.workflow.exceptions.PluginException This helper method inserts a row for each invoice- Throws:
org.imixs.workflow.exceptions.PluginException
-