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

writeObjects() Method


Use this method to write an array of objects to the Oracle BI Web Services Presentation Catalog.

Signature

ErrorInfo[] writeObjects(CatalogObject[] catalogObjects, boolean allowOverwrite, ErrorDetailsLevel errorMode, String sessionID);

Argument
Description

CatalogObject[] object

Specifies the objects to write to the Presentation Catalog, supplied in the CatalogObject structure. For information about the CatalogObject structure, see CatalogObject Structure.

All fields of object.itemInfo are ignored, except for the array of item properties, which are applied to the object. The signature of the resulting document is always COXmlDocument1.

boolean allowOverwrite

If set to TRUE, then if the object already exists in the Presentation Catalog, it is overwritten. If set to FALSE, then if the object already exists in the Presentation Catalog, it is not overwritten.

ErrorDetailsLevel errorMode

Specifies the amount of error information in the errorInfo field in the CatalogObjects structure.

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

An array of ErrorInfo objects.

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