public class ExcelExportServiceImpl extends DefaultComponent implements ExcelExportService
Modifier and Type | Field and Description |
---|---|
static String |
EXCEL_EXPORT_EP |
protected static Map<String,ExcelExportServiceDescriptor> |
exportExcelRegistry |
static org.apache.commons.logging.Log |
log |
lastModified
Constructor and Description |
---|
ExcelExportServiceImpl() |
Modifier and Type | Method and Description |
---|---|
File |
getExcelReport(String exportName)
Get excel export for a given name (contributed)
|
File |
getExcelReport(String exportName,
Map<String,Object> data)
Get excel export for a given name and given data
|
protected File |
getWorkingDir() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final org.apache.commons.logging.Log log
public static final String EXCEL_EXPORT_EP
protected static final Map<String,ExcelExportServiceDescriptor> exportExcelRegistry
public ExcelExportServiceImpl()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public File getExcelReport(String exportName)
getExcelReport
in interface ExcelExportService
public File getExcelReport(String exportName, Map<String,Object> data)
getExcelReport
in interface ExcelExportService
protected File getWorkingDir()
Copyright © 2015 Nuxeo SA. All rights reserved.