com.businessobjects.sdk.biar
Interface IExportCallback


public interface IExportCallback

This interface must be implemented by an object to receive notification of events that occur during the export process. Each event is handled by a callback method. To create an instance, use IExportOptions.setCallback(IExportCallback).


Method Summary
 void onFailure(int id, BIARException cause)
          This method is called when an object fails to export.
 void onSuccess(int id)
          This method is called when an object is exported to the BIAR archive.
 

Method Detail

onSuccess

void onSuccess(int id)
This method is called when an object is exported to the BIAR archive.

Note that the export process is blocked until this method returns.

Parameters:
id - the ID of the exported object

onFailure

void onFailure(int id,
               BIARException cause)
This method is called when an object fails to export. It is only called for recoverable exceptions.

Note that the export process is blocked until this method returns.

Parameters:
id - the ID of the object that failed
cause - the exception that caused the object to fail