fr.paris.lutece.plugins.form.business.exporttype
Interface IExportType

All Known Implementing Classes:
AbstractExportType, FullExportType, LastDateExportType

public interface IExportType

This class represents the export responses type. The method getResponseFilter(Form, Locale) enable the user to get the response filter to get the desired list of responses.


Method Summary
 String getKey()
          Get the key
 fr.paris.lutece.plugins.genericattributes.business.ResponseFilter getResponseFilter(Form form, Locale locale)
          Get the response filter
 String getTitle(Locale locale)
          Get the title
 void saveExport(List<FormSubmit> listFormSubmits, Locale locale)
          Save the export
 void setKey(String strKey)
          Set the key
 void setTitleI18nKey(String strTitleI18nKey)
          Set the title i18n key
 

Method Detail

setKey

void setKey(String strKey)
Set the key

Parameters:
strKey - the key

getKey

String getKey()
Get the key

Returns:
the key

setTitleI18nKey

void setTitleI18nKey(String strTitleI18nKey)
Set the title i18n key

Parameters:
strTitleI18nKey - the i18n key

getTitle

String getTitle(Locale locale)
Get the title

Parameters:
locale - the locale
Returns:
the title

getResponseFilter

fr.paris.lutece.plugins.genericattributes.business.ResponseFilter getResponseFilter(Form form,
                                                                                    Locale locale)
Get the response filter

Parameters:
form - The form
locale - the locale
Returns:
The response filter

saveExport

void saveExport(List<FormSubmit> listFormSubmits,
                Locale locale)
Save the export

Parameters:
listFormSubmits - the list of form submits
locale - the locale


Copyright © 2014 Mairie de Paris. All Rights Reserved.