fr.ifremer.wao.ui.data
Interface ImportEngine
public interface ImportEngine
This interface is used for ImportFieldSet component to execute an import.
The page need to implement the execute(InputStream) method to use
the component.
Created: 18 juin 2010
- Version:
- $Id: ImportEngine.java 650 2010-10-03 15:14:48Z fdesbois $
- Author:
- fdesbois
execute
ImportResults execute(InputStream input)
throws WaoException,
WaoBusinessException
- Excute an import from an
input stream. This method was called
in ImportFieldSet when file are successfully uploaded. This method
to to return an ImportResults that contains stats and errors
from import.
- Parameters:
input - InputStream of the file to import
- Returns:
- an ImportResults that contains statistics and errors from import
- Throws:
WaoException - for unknown errors
WaoBusinessException - for known errors
Copyright © 2009-2011 Ifremer. All Rights Reserved.