Oracle® Business Intelligence Web Services Guide > Description of Services in Oracle BI Web Services > ReplicationService Service >

_import() Method


Use this method to import changes from the log file.

NOTE:  In a Java environment, you must specify the import method as _import(), which avoids conflict with the reserved word 'import'.

Signature

ImportError[] import (String importFilePath, ExportImportFlags flag, Calendar lastPurgedLog, boolean updateReplicationLog, boolean returnErrors, CatalogItemsFilter filter, String sessionID);

Argument
Description

String importFilePath

Specifies the path of the log file to import.

ExportImportFlags flag

Specifies the changes (for example, local or remote) to export (for more information, read ExportImportFlags Structure).

Calendar lastPurgedLog

Specifies the date and time that the log was last cleaned up. If the change in the export file was made after that time, then import uses local logs to determine if it should be replayed, otherwise it uses the last access time.

boolean updateReplicationLog

If set to TRUE, then the replication log is updated. If set to FALSE, then the replication log is not updated.

boolean returnErrors

If set to TRUE, then the function returns an array of ImportError objects which describes cases when changes recorded in the import file that satisfy filter conditions were not replayed.

CatalogItemsFilter filter

Specifies that you should filter changes made within a particular time period, and to catalog items in specified folders. Can be null.

String sessionID

Specifies the session ID, which is usually returned by the logon method. If the SOAP client engine can handle HTTP cookies, you can omit the session ID or set it to null.

Returns

Returns an ImportError structure containing the list of errors encountered. For more information, read ImportError Structure.

Oracle® Business Intelligence Web Services Guide Copyright © 2007, Oracle. All rights reserved.