DS.RESTAdapter#ajaxOptions()

ajaxOptions (url, type, options) Objectprivate Defined in addon/adapters/rest.js:1040 Parameters: url String type String The request type GET, POST, PUT, DELETE etc. options Object Returns: Object

DS.RESTAdapter#ajax()

ajax (url, type, options) Promiseprivate Defined in addon/adapters/rest.js:975 Takes a URL, an HTTP method and a hash of data, and makes an HTTP request. When the server responds with a payload, Ember Data will call into extractSingle or extractArray (depending on whether the original query was for one record or many records). By default, ajax method has the following behavior: It sets the response dataType to "json" If the HTTP method is not "GET", it sets the Content-Type to be applicati

DS.RESTAdapter

DS.RESTAdapter Class Extends: DS.Adapter Uses: DS.BuildURLMixin Defined in: addon/adapters/rest.js:31 Module: ember-data The REST adapter allows your store to communicate with an HTTP server by transmitting JSON via XHR. Most Ember.js apps that consume a JSON API should use the REST adapter. This adapter is designed around the idea that the JSON exchanged with the server should be conventional. Success and failure The REST adapter will consider a success any response with a status code of

DS.RecordArrayManager#updateRecordArrays()

updateRecordArrays Defined in addon/-private/system/record-array-manager.js:93 This method is invoked whenever data is loaded into the store by the adapter or updated by the adapter, or when a record has changed. It updates all record arrays that a record belongs to. To avoid thrashing, it only runs at most once per run loop.

DS.RecordArrayManager#updateFilterRecordArray()

updateFilterRecordArray (array, filter, typeClass, record) Defined in addon/-private/system/record-array-manager.js:157 Update an individual filter. Parameters: array DS.FilteredRecordArray filter Function typeClass DS.Model record InternalModel

DS.RecordArrayManager#updateFilter()

updateFilter (array, modelName, filter) Defined in addon/-private/system/record-array-manager.js:202 This method is invoked if the filterFunction property is changed on a DS.FilteredRecordArray. It essentially re-runs the filter from scratch. This same method is invoked when the filter is created in th first place. Parameters: array Array modelName String filter Function

DS.RecordArrayManager#unregisterRecordArray()

unregisterRecordArray (array) Defined in addon/-private/system/record-array-manager.js:329 Unregister a RecordArray. So manager will not update this array. Parameters: array DS.RecordArray

DS.RecordArrayManager#registerFilteredRecordArray()

registerFilteredRecordArray (array, typeClass, filter) Defined in addon/-private/system/record-array-manager.js:310 Register a RecordArray for a given type to be backed by a filter function. This will cause the array to update automatically when records of that type change attribute values or states. Parameters: array DS.RecordArray typeClass DS.Model filter Function

DS.RecordArrayManager#liveRecordArrayFor()

liveRecordArrayFor (typeClass) DS.RecordArray Defined in addon/-private/system/record-array-manager.js:229 Get the DS.RecordArray for a type, which contains all loaded records of given type. Parameters: typeClass Class Returns: DS.RecordArray

DS.RecordArrayManager#createRecordArray()

createRecordArray (typeClass) DS.RecordArray Defined in addon/-private/system/record-array-manager.js:242 Create a DS.RecordArray for a type. Parameters: typeClass Class Returns: DS.RecordArray