Class DMCQueryControl

Object
   |
   +--DMCQueryControl

class DMCQueryControl


DMCQueryControl is a class that is used to query for information
Defined in APIJS.js


Constructor Summary
DMCQueryControl(<string> queryServiceUrl, dataSourceName)
            Creates a new DMCQueryControl instance that will be used to query for information
 
Method Summary
 void execute(<object> observer, <string> onSuccessMethod, <string> onErrorMethod, <string> queryId )
           Executes the query and notifies the observer success or error method when the results are returned.
 void geocode( <object> observer, <string> onSuccessMethod, <string> onErrorMethod, location, <string> address, <string> city, <string> state, <string> zip, minScore, includeGeo)
           Executes the query and notifies the observer success or error method when the results are returned.
 string getDataSource()
           Returns the name of the DataSource being queried on.
 String getKeyField()
           Returns the primary key field for the records
 Object getQuery()
           Returns the query that will be sent.
 string getQueryServiceUrl()
           Returns the url that will be queried on.
 string getResourceName()
           Returns the name of the DataSource being queried on.
 string getSelectAttributes()
           Returns the selected attributes.
 void setAPNFilter(apn, fips)
           Sets the APN and FIPS filter.
 string setDataSource(d)
           Sets the DataSource
 void setGeometryBufferDistance(geometryBufferDistance)
           Sets the buffer distance around the geometry.
 void setGeometryFilter(geometryFilter)
           Sets the geometry filter.
 void setID(id)
           Sets the ID filter.
 String setKeyField(k)
           Sets the the primary key field for the records.
 void setMaxOutputRecords(maxOutputRecords)
           Sets the maximum number of records the query will return.
 void setOutputType(outputType)
           Sets the type of the returned data.
 void setReturnGeometryType(returnGeometryType)
           Sets the type of the geometries returned.
 void setSelectAttributes(selectAttributes)
           Sets the selected attributes.

Constructor Detail

DMCQueryControl

DMCQueryControl(<string> queryServiceUrl, dataSourceName)

Method Detail

execute

void execute(<object> observer, <string> onSuccessMethod, <string> onErrorMethod, <string> queryId )

geocode

void geocode( <object> observer, <string> onSuccessMethod, <string> onErrorMethod, location, <string> address, <string> city, <string> state, <string> zip, minScore, includeGeo)

getDataSource

string getDataSource()

getKeyField

String getKeyField()

getQuery

Object getQuery()

getQueryServiceUrl

string getQueryServiceUrl()

getResourceName

string getResourceName()

getSelectAttributes

string getSelectAttributes()

setAPNFilter

void setAPNFilter(apn, fips)

setDataSource

string setDataSource(d)

setGeometryBufferDistance

void setGeometryBufferDistance(geometryBufferDistance)

setGeometryFilter

void setGeometryFilter(geometryFilter)

setID

void setID(id)

setKeyField

String setKeyField(k)

setMaxOutputRecords

void setMaxOutputRecords(maxOutputRecords)

setOutputType

void setOutputType(outputType)

setReturnGeometryType

void setReturnGeometryType(returnGeometryType)

setSelectAttributes

void setSelectAttributes(selectAttributes)


Documentation generated by JSDoc on Mon Nov 24 17:54:35 2008