Class actuate.DataService
The DataService class represents a data service binding with the
specified report.
This class can be used to handle data related service with report.
Member of: actuate.
Constructor Attributes | Constructor Name and Description |
---|---|
actuate.DataService(iportalUrl)
The DataService class represents a data service binding with the
specified report.
|
Field Attributes | Field Name and Description |
---|---|
Request options
type{actuate.RequestOptions}
|
Method Attributes | Method Name and Description |
---|---|
downloadResultSet(data, request, callback, errorCallback)
Downloads the result set from the given request
and passes it to the specified callback function.
|
|
getId()
Returns the id of this object.
|
|
Returns the iportal URL.
|
|
Returns the request options.
|
|
setService(iportalUrl, requestOptions)
Sets the iportal URL and an optional request options.
|
Class Detail
actuate.DataService(iportalUrl)
The DataService class represents a data service binding with the
specified report.
This class can be used to handle data related service with report.
This class can be used to handle data related service with report.
- Parameters:
- {String} iportalUrl
- iportal URL. Defaults to the value specified in actuate.initialize().
- {actuate.RequestOptions} requestOptions.
- Defaults the to options specified in actuate.initialize().
Field Detail
requestOptions
Request options
type{actuate.RequestOptions}
Method Detail
downloadResultSet(data, request, callback, errorCallback)
Downloads the result set from the given request
and passes it to the specified callback function.
- Parameters:
- {String} data
- source (for example report design file name) (required)
- {actuate.data.Request} request
- Request object (required)
- {Function} callback
- required callback which takes the following
arguments:
- actuate.data.ResultSet: result set
- {Function} errorCallback
- optional error callback which receives an actuate.Exception as argument.
{String} getId()
Returns the id of this object.
- Returns:
- {String}
{String} getIportalUrl()
Returns the iportal URL.
- Returns:
- {String} iportalUrl
{actuate.RequestOptions} getRequestOptions()
Returns the request options.
- Returns:
- {actuate.RequestOptions} request options
setService(iportalUrl, requestOptions)
Sets the iportal URL and an optional request options.
- Parameters:
- {String} iportalUrl
- iportal URL
- {actuate.RequestOptions} requestOptions
- optional request options