Classes


Class actuate.DataService

Connects to an Actuate web application service to retrieve data from Actuate BIRT reports as an actuate.data.ResultSet.
Member of: actuate.

Class Summary
Constructor Attributes Constructor Name and Description
 
actuate.DataService(iportalUrl, requestOptions)
Constructs a DataService object.
Method Summary
Method Attributes Method Name and Description
 
downloadResultSet(datasource, request, callback, errorCallback)
Returns data from an Actuate BIRT report document managed by an Actuate web application.
Class Detail
actuate.DataService(iportalUrl, requestOptions)
Constructs a DataService object. The DataService class represents a data service binding with an iportal service, and can download data from a report available from that service
Parameters:
{String} iportalUrl
Optional. The URL of an Actuate web application service. The DataService uses the web application service set in actuate#.initialize if one is not specified.
{actuate.RequestOptions} requestOptions
Optional. Specifies the request options for the iportal web service connection. The DataService uses the options set in actuate#.initialize if one is not specified.
Method Detail
{void} downloadResultSet(datasource, request, callback, errorCallback)
Returns data from an Actuate BIRT report document managed by an Actuate web application. The actuate.data.ResultSet object that downloadResultSet returns is used by the callback function. This example retrieves a result set as specified by the myRequest request object, and calls the makeAscendingSales function, which must take an actuate.data.ResultSet object as an input parameter:
	var myRequest = new actuate.data.Request("Top_5_Customers", 1, 0);
	var myDataService = new actuate.DataService( "http://localhost:8900/iportal" );
	myDataService.downloadResultSet("/Public/BIRT and BIRT Studio Examples/Customer Dashboard.rptdocument", myRequest, makeAscendingSales, errorCallback);
Parameters:
{String} datasource
The repository path and name of the file from which to retrieve data.
{actuate.data.Request} request
Specifies the request for the report.
{Function} callback
The callback function to use after the actuate.data.ResultSet finishes downloading. This function must take the returned actuate.data.ResultSet object as an input parameter.
{Function} errorCallback
Optional. The function to call when an error occurs. The possible errors are actuate.Exception objects. The errorCallback function must take an exception as an argument.
Returns:
{void}
See:
actuate.data.ResultSet

Documentation generated by JsDoc Toolkit 2.0.1 on Mon Dec 16 2013 06:58:33 GMT-0800 (PST)