org.chorem.pollen.votecounting.services
Class ServiceExportImpl

java.lang.Object
  extended by org.chorem.pollen.votecounting.services.ServiceExportImpl
All Implemented Interfaces:
ServiceExport

public class ServiceExportImpl
extends java.lang.Object
implements ServiceExport

Implémentation du service d'export.

Version:
$Id: ServiceExportImpl.java 2731 2009-08-18 12:22:46Z nrannou $
Author:
boukhary, rannou

Constructor Summary
ServiceExportImpl()
          Constructor
 
Method Summary
 java.lang.String executeExport(PollExportDTO pollExport)
          Export d'un sondage et de ses résultats au format XML.
 java.io.File executeFileExport(PollExportDTO pollExport)
          Export d'un sondage et de ses résultats au format XML.
 PollExportDTO executeImport(java.lang.String filePath)
          Import d'un sondage et de ses résultats à partir d'un fichier XML.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceExportImpl

public ServiceExportImpl()
Constructor

Method Detail

executeExport

public java.lang.String executeExport(PollExportDTO pollExport)
Description copied from interface: ServiceExport
Export d'un sondage et de ses résultats au format XML. Le DTO contient le sondage et ses résultats s'ils existent.

Specified by:
executeExport in interface ServiceExport
Parameters:
pollExport - : DTO à exporter.
Returns:
le chemin du fichier exporté.

executeFileExport

public java.io.File executeFileExport(PollExportDTO pollExport)
Description copied from interface: ServiceExport
Export d'un sondage et de ses résultats au format XML. Le DTO contient le sondage et ses résultats s'ils existent.

Specified by:
executeFileExport in interface ServiceExport
Parameters:
pollExport - : DTO à exporter.
Returns:
le fichier exporté.

executeImport

public PollExportDTO executeImport(java.lang.String filePath)
Description copied from interface: ServiceExport
Import d'un sondage et de ses résultats à partir d'un fichier XML.

Specified by:
executeImport in interface ServiceExport
Parameters:
filePath - chemin du fichier à importer.


Copyright © 2009 CodeLutin. All Rights Reserved.