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
Parameter Description
CatalogService 6-13
6.27 uploadXLIFF Method
Use uploadXLIFF method to upload a translation file XLIFF to the catalog.
Signature boolean uploadXLIFFString objectAbsolutePath, byte[] xliffData, String locale, String
userID, String password;
6.28 uploadXLIFFInSession Method
Use uploadXLIFF method to upload a translation file XLIFF to the catalog for a given user.
For more information about in-session methods, see Section 1.2, About In-Session
Methods.
Signature boolean uploadXLIFFString objectAbsolutePath, byte[] xliffData, String locale, String
bipSessionToken; 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 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–27 Parameters for uploadXLIFF Method
Parameter Description
String objectAbsolutePath The path to the XLIFF object to upload.
byte[] xliffData The XLIFF fie to upload.
String locale The locale to assign to the XLIFF for example, en_US.
String userID Specifies the BI Publisher user name.
String password Specifies the password for the user name.
Table 6–28 Parameters for uploadXLIFFInSession Method
Parameter Description
String objectAbsolutePath The path to the XLIFF object to upload.
byte[] xliffData The XLIFF fie to upload.
String locale The locale to assign to the XLIFF for example, en_US.
Table 6–26 Cont. Parameters for uploadObjectInSession Method
Parameter Description
6-14 Developers Guide for Oracle Business Intelligence Publisher
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–28 Cont. Parameters for uploadXLIFFInSession Method