Class Index | File Index

Classes


Class DataSource

This is the basic class that represents a datasource. This class exposes main functions used to initialize and retrieve information from a DataSource.
Defined in: dfDataWidget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Construct a new DataSource object.
Method Summary
Method Attributes Method Name and Description
 
Internal Function.
 
execute(callback)
Execute the DataSource.
 
Return the data resulting from the DataSource execution as Text.
 
Return the data resulting from the DataSource execution as XML.
 
Return the name of the DataSource.
 
setRequest(request)
Class Detail
DataSource()
Construct a new DataSource object.
Parameters:
{String} dataSourceName.
The DataSource name.
Returns:
A new DataSource instance
Method Detail
construct()
Internal Function. Initialize the DataSource.
Parameters:
{String} dataSourceName.
The DataSource name.

execute(callback)
Execute the DataSource.
Parameters:
callback

{String} getDataAsText()
Return the data resulting from the DataSource execution as Text.

{Document} getDataAsXML()
Return the data resulting from the DataSource execution as XML.

{String} getName()
Return the name of the DataSource.

setRequest(request)
Parameters:
request

Documentation generated by JsDoc Toolkit 2.3.0 on Mon Jun 29 2009 14:55:07 GMT+0200 (CEST)