Skip to content

Commit 123e2cb

Browse files
Robert Jacksonkategengler
authored andcommitted
[DOC release] Correct access for methods on DataAdapter.
(cherry picked from commit ba45170)
1 parent de5f35a commit 123e2cb

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

packages/@ember/-internals/extension-support/lib/data_adapter.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ export default EmberObject.extend({
249249
Test that against the model class
250250
of your persistence library.
251251
252-
@private
252+
@public
253253
@method detect
254254
@return boolean Whether the class is a model class or not.
255255
*/
@@ -260,7 +260,7 @@ export default EmberObject.extend({
260260
/**
261261
Get the columns for a given model type.
262262
263-
@private
263+
@public
264264
@method columnsForType
265265
@return {Array} An array of columns of the following format:
266266
name: {String} The name of the column.
@@ -400,7 +400,7 @@ export default EmberObject.extend({
400400
/**
401401
Fetches all loaded records for a given type.
402402
403-
@private
403+
@public
404404
@method getRecords
405405
@return {Array} An array of records.
406406
This array will be observed for changes,
@@ -434,7 +434,7 @@ export default EmberObject.extend({
434434
/**
435435
Gets the values for each column.
436436
437-
@private
437+
@public
438438
@method getRecordColumnValues
439439
@return {Object} Keys should match column names defined
440440
by the model type.
@@ -446,7 +446,7 @@ export default EmberObject.extend({
446446
/**
447447
Returns keywords to match when searching records.
448448
449-
@private
449+
@public
450450
@method getRecordKeywords
451451
@return {Array} Relevant keywords for search.
452452
*/
@@ -457,7 +457,7 @@ export default EmberObject.extend({
457457
/**
458458
Returns the values of filters defined by `getFilters`.
459459
460-
@private
460+
@public
461461
@method getRecordFilterValues
462462
@param {Object} record The record instance.
463463
@return {Object} The filter values.
@@ -469,7 +469,7 @@ export default EmberObject.extend({
469469
/**
470470
Each record can have a color that represents its state.
471471
472-
@private
472+
@public
473473
@method getRecordColor
474474
@param {Object} record The record instance
475475
@return {String} The records color.
@@ -483,7 +483,7 @@ export default EmberObject.extend({
483483
Observes all relevant properties and re-sends the wrapped record
484484
when a change occurs.
485485
486-
@private
486+
@public
487487
@method observerRecord
488488
@return {Function} The function to call to remove all observers.
489489
*/

0 commit comments

Comments
 (0)