org.chorem.pollen.services.impl
Class FavoriteListImportLDAP

java.lang.Object
  extended by org.chorem.pollen.services.PollenServiceSupport
      extended by org.chorem.pollen.services.impl.FavoriteListImportLDAP
All Implemented Interfaces:
FavoriteListImport, PollenService

public class FavoriteListImportLDAP
extends PollenServiceSupport
implements FavoriteListImport

LDAP Import of PollAccount. The behavior is the same than the one from pollen 1.2.x TODO-fdesbois-2012-04-17 : tests and documentation Created: 16/04/12

Since:
1.3
Author:
fdesbois

Field Summary
 
Fields inherited from class org.chorem.pollen.services.PollenServiceSupport
serviceContext
 
Constructor Summary
FavoriteListImportLDAP()
           
 
Method Summary
 List<PollAccount> execute(String url)
          Execute the import from given url.
 
Methods inherited from class org.chorem.pollen.services.PollenServiceSupport
commitTransaction, create, delete, flushTransaction, getConfiguration, getDAO, getEntities, getEntities, getEntityById, getLocale, getTransaction, newInstance, newService, setServiceContext, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FavoriteListImportLDAP

public FavoriteListImportLDAP()
Method Detail

execute

public List<PollAccount> execute(String url)
                          throws FavoriteListImportException
Description copied from interface: FavoriteListImport
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.

Specified by:
execute in interface FavoriteListImport
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.