Class Ember.DataAdapter
Extends:
Ember.Object
Module:
ember
The DataAdapter
helps a data persistence library
interface with tools that debug Ember such
as the Chrome Ember Extension.
This class will be extended by a persistence library which will override some of the methods with library-specific code.
The methods likely to be overriden are
getFilters
, detect
, columnsForType
,
getRecords
, getRecordColumnValues
,
getRecordKeywords
, getRecordFilterValues
,
getRecordColor
, observeRecord
The adapter will need to be registered
in the application's container as dataAdapter:main
Example:
1 2 3 4 5 6 7 |
Application.initializer({ name: "dataAdapter", initialize: function(container, application) { application.register('dataAdapter:main', DS.DataAdapter); } }); |
Methods
- addObserver
- beginPropertyChanges
- cacheFor
- create
- createWithMixins
- decrementProperty
- destroy
- eachComputedProperty
- endPropertyChanges
- get
- getFilters
- getProperties
- getWithDefault
- hasObserverFor
- incrementProperty
- init
- metaForProperty
- notifyPropertyChange
- propertyDidChange
- propertyWillChange
- removeObserver
- reopen
- reopenClass
- set
- setProperties
- toString
- toggleProperty
- watchModelTypes
- watchRecords
- willDestroy
Properties
Events
No documented items