Package org.adempiere.pipo2
Class GridTab2PackExporter
java.lang.Object
org.adempiere.pipo2.GridTab2PackExporter
- All Implemented Interfaces:
IGridTabExporter
- Author:
- hengsin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexport(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file, int indxDetailSelected) export gridTab data to filegetSuggestedFileName(GridTab gridTab) booleanisExportableTab(GridTab gridTab) Check if exported support the export of a child tabMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.adempiere.base.IGridTabExporter
isAdvanced, isExportChildTabsForCurrentRowOnly, maxDeepOfChildTab
-
Constructor Details
-
GridTab2PackExporter
public GridTab2PackExporter()
-
-
Method Details
-
export
public void export(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file, int indxDetailSelected) Description copied from interface:IGridTabExporterexport gridTab data to file- Specified by:
exportin interfaceIGridTabExporterindxDetailSelected- index of selected child tab
-
getFileExtension
- Specified by:
getFileExtensionin interfaceIGridTabExporter- Returns:
- file extension (csv, zip, ect)
-
getFileExtensionLabel
- Specified by:
getFileExtensionLabelin interfaceIGridTabExporter- Returns:
- label for file extension
-
getContentType
- Specified by:
getContentTypein interfaceIGridTabExporter- Returns:
- mime content type
-
getSuggestedFileName
- Specified by:
getSuggestedFileNamein interfaceIGridTabExporter- Returns:
- suggested file name
-
isExportableTab
Check if exported support the export of a child tab With 2Pack, just trl tabs are not intended to be exported (they are exported as translation- Specified by:
isExportableTabin interfaceIGridTabExporter- Returns:
- true if export is supported, false otherwise
-