org.chorem.pollen.services
Interface FavoriteListImport

All Known Implementing Classes:
FavoriteListImportCSV, FavoriteListImportLDAP

public interface FavoriteListImport

Used to import a favorite List or a List of PollAccount from a given source url (file, external service, ...)

Created: 16/04/12

Since:
1.3
Author:
fdesbois
See Also:
FavoriteListImportLDAP, FavoriteListImportCSV

Method Summary
 List<PollAccount> execute(String url)
          Execute the import from given url.
 

Method Detail

execute

List<PollAccount> execute(String url)
                          throws FavoriteListImportException
Execute the import from given url. This will returned the successful list of PollAccount instanciated during import. No database save is done here, only the extraction from an input url to a list of entities to manage.

Parameters:
url - Url of the file or service that contains data to import
Returns:
the List of PollAccount imported
Throws:
FavoriteListImportException - for any import error


Copyright © 2009-2012 CodeLutin. All Rights Reserved.