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
 java.lang.String getKey()
          Get the key
 ResponseFilter getResponseFilter(Form form, java.util.Locale locale)
          Get the response filter
 java.lang.String getTitle(java.util.Locale locale)
          Get the title
 void saveExport(java.util.List<FormSubmit> listFormSubmits, java.util.Locale locale)
          Save the export
 void setKey(java.lang.String strKey)
          Set the key
 void setTitleI18nKey(java.lang.String strTitleI18nKey)
          Set the title i18n key
 

Method Detail

setKey

void setKey(java.lang.String strKey)
Set the key

Parameters:
strKey - the key

getKey

java.lang.String getKey()
Get the key

Returns:
the key

setTitleI18nKey

void setTitleI18nKey(java.lang.String strTitleI18nKey)
Set the title i18n key

Parameters:
strTitleI18nKey - the i18n key

getTitle

java.lang.String getTitle(java.util.Locale locale)
Get the title

Parameters:
locale - the locale
Returns:
the title

getResponseFilter

ResponseFilter getResponseFilter(Form form,
                                 java.util.Locale locale)
Get the response filter

Parameters:
form -
locale - the locale
Returns:

saveExport

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

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


Copyright © 2012 Mairie de Paris. All Rights Reserved.