public abstract class AbstractExportService extends Object implements IExportService
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONSTANT_CSV |
protected static String |
SQL_FILTER_ENTRY_POS |
protected static String |
XSL_UNIQUE_PREFIX_ID |
| Constructor and Description |
|---|
AbstractExportService() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doExport(Form form,
List<FormSubmit> listFormSubmit,
String strFolderPath,
ExportFormat exportFormat,
String strEncoding,
StringBuilder sbLog,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Do export the form responses
|
void |
doExport(Form form,
StringBuilder sbLog,
ExportFormat exportFormat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Do export the responses of the given form
|
String |
getKey()
Get the key
|
String |
getTitle(Locale locale)
Get the title
|
void |
setKey(String strKey)
Set the key
|
void |
setTitleI18nKey(String strTitleI18nKey)
Set the title i18n key
|
protected static final String SQL_FILTER_ENTRY_POS
protected static final String XSL_UNIQUE_PREFIX_ID
protected static final String CONSTANT_CSV
public abstract void doExport(Form form, List<FormSubmit> listFormSubmit, String strFolderPath, ExportFormat exportFormat, String strEncoding, StringBuilder sbLog, fr.paris.lutece.portal.service.plugin.Plugin plugin)
form - the formlistFormSubmit - the list of form submitsstrFolderPath - the folder pathexportFormat - the export formatstrEncoding - the encodingsbLog - the logplugin - the pluginpublic String getKey()
getKey in interface IExportServicepublic void setKey(String strKey)
setKey in interface IExportServicestrKey - the keypublic String getTitle(Locale locale)
getTitle in interface IExportServicelocale - the localepublic void setTitleI18nKey(String strTitleI18nKey)
setTitleI18nKey in interface IExportServicestrTitleI18nKey - the i18n keypublic void doExport(Form form, StringBuilder sbLog, ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
doExport in interface IExportServiceform - the formsbLog - the logexportFormat - the export formatplugin - the pluginCopyright © 2018 City of Paris. All rights reserved.