4-10 Developers Guide for Oracle Business Intelligence Publisher
4.17 removeTemplateForReport Method
Use removeTemplateForReport method to remove a template from a report definition in the BI Publisher catalog.
Signature boolean removeTemplateForReportString reportAbsolutePath, String
templateFileName, String userID, String password;
4.18 removeTemplateForReportInSession Method
Use removeTemplateForReportInSession method to remove a template from a report definition in the BI Publisher catalog based on the bipSessionToken of a given user.
For more information about in-session methods, see Section 1.2, About In-Session
Methods.
Signature boolean removeTemplateForReportInSessionString reportAbsolutePath, String
templateFileName, String bipSessionToken;
4.19 runReport Method
Use the runReport method to send a request to the BI Publisher server to run a specific report.
See Section 2.3.46, ReportRequest
and Section 2.3.47, ReportResponse.
Signature ReportResponse runReportReportRequest reportRequest, String userID, String
password;
Table 4–17 Parameters for removeTemplateForReport Method
Parameter Description
String reportAbsolutePath The path to the report from which to remove the template.
For example: HR ManagerEmployee ReportsEmployee Listing.xdo
String templateFileName The file name of the template to remove.
String userID Specifies the BI Publisher user name.
String password Specifies the password for the user name.
Table 4–18 Parameters for removeTemplateForReportInSession Method
Parameter Description
String reportAbsolutePath The path to the report from which to remove the template.
For example: HR ManagerEmployee ReportsEmployee Listing.xdo
String templateFileName The file name of the template to remove.
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.
ReportService 4-11
4.20 runReportInSession Method
Use the runReportInSession method to send a request to the BI Publisher server to run a specific report based on the bipSessionToken of a given user.
See Section 2.3.46, ReportRequest
and Section 2.3.47, ReportResponse.
For more information about in-session methods, see Section 1.2, About In-Session
Methods.
Signature ReportResponse runReportInSessionReportRequest reportRequest, String
bipSessionToken;
4.21 updateReportDefinition Method
Use the updateReportDefinition to update attributes of the report definition file .xdo and write the file back to the BI Publisher catalog.
Signature boolean updateReportDefinitionString reportAbsPath, ReportDefinition
newReportDefn, String userID, String password;
Table 4–19 Parameters for runReport Method
Parameter Description
ReportRequest reportRequest See
Section 2.3.46, ReportRequest. String userID
Specifies the BI Publisher user name. String password
Specifies the password for the user name.
Table 4–20 Parameters for runReportInSession Method
Parameter Description
ReportRequest reportRequest See
Section 2.3.46, ReportRequest. 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 4–21 Parameters for updateReportDefinition Method
Parameter Description
String reportAbsPath The path to the report for which to update the report
definition. For example: HR ManagerEmployee ReportsEmployee Listing.xdo
ReportDefinition newReportDefn See Section 2.3.45, ReportDefinition.
String userID Specifies the BI Publisher user name.
String password Specifies the password for the user name.