Properties Methods Events Config Options Direct Link
DataReader
  JsonReader
    SlingReader

Class CQ.data.SlingReader

Package:CQ.data
Class:SlingReader
Extends:CQ.Ext.data.JsonReader
Clientlib:cq.widgets
Data reader class to create an Array of SlingRecord objects from a Sling JSON response.
SlingReaders are usually build solely from a SlingStore.

NOTE: Although they are listed this class does not support some of the config options inherited of CQ.Ext.data.JsonReader.root, successProperty and totalProperty are set internally.

Config Options

Config Options Defined By
  messageProperty : String
[undefined] Optional name of a property within a server-response that represents a user-feedback message.
DataReader

Public Properties

Property Defined By
  buildExtractors : Object
Abstract method, overridden in DataReader extensions such as CQ.Ext.data.JsonReader and CQ.Ext.data.XmlReader
DataReader
  extractValues : Object
Abstract method overridden in DataReader extensions such as CQ.Ext.data.JsonReader and CQ.Ext.data.XmlReader
DataReader
  getId : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getMessage : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getRoot : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getSuccess : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  getTotal : Object
Abstract method created in extension's buildExtractors impl.
DataReader
  meta : Mixed
This DataReader's configured metadata as passed to the constructor.
DataReader

Public Methods

Method Defined By

Public Events

This class has no public events.