Package org.adempiere.impexp
Class GridTabCSVExporter
- java.lang.Object
-
- org.adempiere.impexp.GridTabCSVExporter
-
- All Implemented Interfaces:
IGridTabExporter
public class GridTabCSVExporter extends Object implements IGridTabExporter
CSV Exporter for GridTab- Author:
- Carlos Ruiz, Juan David Arboleda
-
-
Constructor Summary
Constructors Constructor Description GridTabCSVExporter()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated 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)
String
getWhereClause(GridTab childTab, GridTab parentGrid, int currentParentIndex)
Deprecated.boolean
isExportableTab(GridTab detail)
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
-
getWhereClause
@Deprecated public String getWhereClause(GridTab childTab, GridTab parentGrid, int currentParentIndex)
Deprecated.- Parameters:
childTab
-parentGrid
-currentParentIndex
-- Returns:
-
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 detail)
Check a tab (detail tab) is support to export in this exporter just export display tab, one level deep, not read only and not account tab- Specified by:
isExportableTab
in interfaceIGridTabExporter
- Returns:
-
-