objectExistInSession Method renameObject Method renameObjectInSession Method

CatalogService 6-11 Signature boolean renameObjectInSessionString objectAbsolutePath, String newName, String bipSessionToken;

6.23 updateObject Method

Use updateObject method to update an object in the BI Publisher catalog. Signature boolean updateObjectString reportObjectAbsolutePath, byte[] objectData, String userID, String password;

6.24 updateObjectInSession Method

Use updateObject method to update an object in 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 updateObjectInSessionString objectAbsolutePath, byte[] objectData, String bipSessionToken; Table 6–22 Parameters for renameObjectInSession Method Parameter Description String reportObjectAbsolutePath The path to the object in the catalog to rename. String newName The new name for the object. 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–23 Parameters for updateObject Method Parameter Description String reportOjectAbsolutePath The path to the object to update in the catalog. For example: HR ManagerEmployee ReportsEmployee Data Model.xdm byte[] objectData The data with which to update the object. String userID Specifies a BI Publisher user name. String password Specifies the password for the user name. Table 6–24 Parameters for updateObjectInSession Method Parameter Description String reportOjectAbsolutePath The path to the object to update in the catalog. For example: HR ManagerEmployee ReportsEmployee Data Model.xdm byte[] objectData The data with which to update the object. 6-12 Developers Guide for Oracle Business Intelligence Publisher

6.25 uploadObject Method

Use uploadObject method to upload a new object to the BI Publisher catalog. Signature String uploadObjectString reportObjectAbsolutePathURL, String objectType, byte[] objectZippedData, String userID, String password;

6.26 uploadObjectInSession Method

Use uploadObject method to upload a new object to the BI Publisher catalog for a given user. For more information about in-session methods, see Section 1.2, About In-Session Methods. Signature String uploadObjectString reportObjectAbsolutePathURL, String objectType, byte[] objectZippedData, String userID, String bipSessionToken; 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–25 Parameters for uploadObject Method Parameter Description String reportObjectAbsolutePathURL The path to the object in the catalog. String objectType The type of object to upload. Valid values are: xdm data model xdo report xsb sub-template xss style template byte[] objectZippedData The object to upload in zipped format. String userID Specifies a BI Publisher user name. String password Specifies the password for the user name. Table 6–26 Parameters for uploadObjectInSession Method Parameter Description String reportObjectAbsolutePathURL The path to the object in the catalog. Table 6–24 Cont. Parameters for updateObjectInSession Method