Constructor
new QueryFields()
- Since:
- 2.14.0
- Source:
Extends
- Backbone.Collection
Members
model
The type of Backbone model that this collection comprises
Methods
comparator(model) → {number}
comparator - A sortBy function that returns the order of each Query
Filter model based on its position in the categoriesMap object.
Parameters:
Name | Type | Description |
---|---|---|
model |
QueryFilter | The individual Query Filter model |
Returns:
A numeric value by which the model should be ordered relative to others.
- Type
- number
fetch()
Retrieve the fields from the Coordinating Node
initialize()
initialize - Creates a new QueryFields collection
parse(response) → {Array}
parse - Parse the XML response from the CN
Parameters:
Name | Type | Description |
---|---|---|
response |
string | The queryEngineDescription XML as a string |
Returns:
the Array of Query Field attributes to be added to the collection.
- Type
- Array
url() → {string}
The constructed URL of the collection
Returns:
- The URL to use during fetch
- Type
- string