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 590 2010-07-06 14:09:45Z 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-2010 Ifremer. All Rights Reserved.