DataAdapter#watchModelTypes()

watchModelTypes (typesAdded, typesUpdated) Functionpublic Defined in packages/ember-extension-support/lib/data_adapter.js:129 Fetch the model types and observe them for changes. Parameters: typesAdded Function Callback to call to add types. Takes an array of objects containing wrapped types (returned from `wrapModelType`). typesUpdated Function Callback to call when a type has changed. Takes an array of objects containing wrapped types. Returns: Function Method to call to rem

DataAdapter#releaseMethods

releaseMethodsprivate Defined in packages/ember-extension-support/lib/data_adapter.js:105 Available since 1.3.0 Stores all methods that clear observers. These methods will be called on destruction.

DataAdapter#observerRecord()

observerRecord (record, recordUpdated) Functionprivate Defined in packages/ember-extension-support/lib/data_adapter.js:483 Observes all relevant properties and re-sends the wrapped record when a change occurs. Parameters: record Object The record instance. recordUpdated Function The callback to call when a record is updated. Returns: Function The function to call to remove all observers.

DataAdapter#observeModelType()

observeModelType (modelName, typesUpdated) Functionprivate Defined in packages/ember-extension-support/lib/data_adapter.js:278 Adds observers to a model type class. Parameters: modelName String The model type name. typesUpdated Function Called when a type is modified. Returns: Function The function to call to remove observers.

DataAdapter#getRecords()

getRecordsArrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:401 Fetches all loaded records for a given type. Returns: Array An array of records. This array will be observed for changes, so it should update when new records are added/removed.

DataAdapter#getRecordKeywords()

getRecordKeywordsArrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:447 Returns keywords to match when searching records. Returns: Array Relevant keywords for search.

DataAdapter#getRecordFilterValues()

getRecordFilterValues (record) Objectprivate Defined in packages/ember-extension-support/lib/data_adapter.js:458 Returns the values of filters defined by getFilters. Parameters: record Object The record instance. Returns: Object The filter values.

DataAdapter#getRecordColumnValues()

getRecordColumnValuesObjectprivate Defined in packages/ember-extension-support/lib/data_adapter.js:435 Gets the values for each column. Returns: Object Keys should match column names defined by the model type.

DataAdapter#getRecordColor()

getRecordColor (record) Stringprivate Defined in packages/ember-extension-support/lib/data_adapter.js:470 Each record can have a color that represents its state. Parameters: record Object The record instance Returns: String The records color. Possible options: black, red, blue, green.

DataAdapter#getModelTypes()

getModelTypesArrayprivate Defined in packages/ember-extension-support/lib/data_adapter.js:343 Fetches all models defined in the application. Returns: Array Array of model types.