fr.paris.lutece.plugins.form.business.exporttype
Class LastDateExportType

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.exporttype.AbstractExportType
      extended by fr.paris.lutece.plugins.form.business.exporttype.LastDateExportType
All Implemented Interfaces:
IExportType

public class LastDateExportType
extends AbstractExportType

This class represents the export type from the date written at the last line of the file /plugins/form/export/formExportResponses. In other words, every responses with a date greater than the date stored in the file will be included in the export.


Constructor Summary
LastDateExportType()
           
 
Method Summary
 ResponseFilter getResponseFilter(Form form, java.util.Locale locale)
          Get the response filter
 void saveExport(java.util.List<FormSubmit> listFormSubmits, java.util.Locale locale)
          Save the export
 
Methods inherited from class fr.paris.lutece.plugins.form.business.exporttype.AbstractExportType
getKey, getTitle, setKey, setTitleI18nKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LastDateExportType

public LastDateExportType()
Method Detail

getResponseFilter

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

locale - the locale
Returns:

saveExport

public 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.