createFolderInSession Method createObject Method

6-4 Developers Guide for Oracle Business Intelligence Publisher Signature String createObjectString objectAbsolutePathURL, String objectName, String objectType, String objectDescription, byte[] objectData, String accessPermission, String userID, String password;

6.6 createObjectInSession Method

Use createObjectInSession method to create an object in BI Publisher catalog for a given user. For more information about in-session methods, see Section 1.2, About In-Session Methods. Signature String createObjectInSessionString folderAbsolutePathURL, String objectName, String objectType, String objectDescription, byte[] objectData, String bipSessionToken; Table 6–5 Parameters for createObject Method Parameter Description String objectAbsolutePathURL The absolute path to the folder in the catalog in which to place the new object. String objectName The name of the new object. String objectType The type of catalog object. Valid values are: xdm data model xdo report xsb sub-template xss style template String objectDescription Specifies the description of the new object. byte[] objectData The byte data of the object. String accessPermission The access permissions to assign to the new object. String userID Specifies a BI Publisher user name. String password Specifies the password for the user name. Table 6–6 Parameters for createObjectInSession Method Parameter Description String objectAbsolutePathURL The absolute path to the folder in the catalog in which to place the new object. String objectName The name of the new object. String objectType The type of catalog object. Valid values are: xdm data model xdo report xsb sub-template xss style template String objectDescription Specifies the description of the new object. byte[] objectData The byte data of the object. CatalogService 6-5

6.7 deleteObject Method

Use deleteObject method to delete an object from the BI Publisher catalog. Signature boolean deleteObjectString reportObjectAbsolutePath, String userID, String password;

6.8 deleteObjectInSession Method

Use deleteObjectInSession method to delete an object from the BI Publisher catalog for a given user. For more information about in-session methods, see Section 1.2, About In-Session Methods. Signature boolean deleteObjectInSessionString objectAbsolutePath, String bipSessionToken;

6.9 downloadObject Method

Use downloadObject method to download an object from the BI Publisher catalog. This method returns the requested object in binary. Signature byte[] downloadObjectString reportAbsolutePath, String userID, String password; String bipSessionToken The proprietary token string generated for the user by the BI Publisher server. With the bipSessionToken string, the user no longer needs to provide user credentials. The BI Publisher server can validate this token string and restore the BI Publisher server session to perform needed operation. Table 6–7 Parameters for deleteObject Method Parameter Description String reportObjectAbsolutePath The path to the object in the catalog to delete. String userID Specifies a BI Publisher user name. String password Specifies the password for the user name. Table 6–8 Parameters for deleteObjectInSession Method Parameter Description String objectAbsolutePath The path to the object in the catalog to delete. String bipSessionToken The proprietary token string generated for the user by the BI Publisher server. With the bipSessionToken string, the user no longer needs to provide user credentials. The BI Publisher server can validate this token string and restore the BI Publisher server session to perform needed operation. Table 6–6 Cont. Parameters for createObjectInSession Method