|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IImport
This interface represents a BIAR import Initially the import is inactive, but can be started by calling
the IImport.run() method. An import must always be disposed, by calling IImport.dispose() when it will no
longer be used, regardless of whether the import completed or not.
A running import may be cancelled, in which case the run method will abort by throwing a
com.businessobjects.sdk.biar.exception.BIARException.
To run the import asynchronously, use AsyncImport.
IObjectManager.importArchiveInteractively(String, IImportOptions)| Method Summary | |
|---|---|
void |
dispose()
Disposes of the import, releasing any resources it consumes. |
boolean |
isCompleted()
Returns true if IImport.run() has been called and subsequently returned normally (i.e. the import was
successful and was not cancelled). |
IObjectManager |
run()
Runs the import. |
| Methods inherited from interface com.businessobjects.sdk.biar.ICancelable |
|---|
cancel |
| Method Detail |
|---|
boolean isCompleted()
IImport.run() has been called and subsequently returned normally (i.e. the import was
successful and was not cancelled). This method does not synchronize with the running import, so data
races may occur.
void dispose()
throws BIARException
BIARException
IObjectManager run()
throws BIARException
ICancelable.cancel(), in which case this method will throw a BIARException.
IObjectManager where the import's results can be
found.
BIARException - if an error occurs during import, or if the import is cancelled.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||