Package org.adempiere.pipo2
Class GridTab2PackExporter
- java.lang.Object
-
- org.adempiere.pipo2.GridTab2PackExporter
-
- All Implemented Interfaces:
IGridTabExporter
public class GridTab2PackExporter extends Object implements IGridTabExporter
- Author:
- hengsin
-
-
Constructor Summary
Constructors Constructor Description GridTab2PackExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
export(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file, int indxDetailSelected)
export gridTab data to fileString
getContentType()
String
getFileExtension()
String
getFileExtensionLabel()
String
getSuggestedFileName(GridTab gridTab)
boolean
isExportableTab(GridTab gridTab)
Check a tab (detail tab) is support to export in this exporter
-
-
-
Method Detail
-
export
public void export(GridTab gridTab, List<GridTab> childs, boolean currentRowOnly, File file, int indxDetailSelected)
Description copied from interface:IGridTabExporter
export gridTab data to file- Specified by:
export
in interfaceIGridTabExporter
-
getFileExtension
public String getFileExtension()
- Specified by:
getFileExtension
in interfaceIGridTabExporter
- Returns:
- file extension
-
getFileExtensionLabel
public String getFileExtensionLabel()
- Specified by:
getFileExtensionLabel
in interfaceIGridTabExporter
- Returns:
- description for file extension
-
getContentType
public String getContentType()
- Specified by:
getContentType
in interfaceIGridTabExporter
- Returns:
- mime type
-
getSuggestedFileName
public String getSuggestedFileName(GridTab gridTab)
- Specified by:
getSuggestedFileName
in interfaceIGridTabExporter
- Returns:
- suggested file name
-
isExportableTab
public boolean isExportableTab(GridTab gridTab)
Check a tab (detail tab) is support to export in this exporter With 2Pack, just trl tabs are not intended to be exported (they are exported as translation- Specified by:
isExportableTab
in interfaceIGridTabExporter
- Returns:
-
-