Warning: Use of undefined constant Symbol - assumed 'Symbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215 Warning: Use of undefined constant JavaScriptSymbol - assumed 'JavaScriptSymbol' (this will throw an Error in a future version of PHP) in /mnt/new-ebs/workbench-106550/lib/dojo/util/docscripts/lib/parser2/dojo2.inc on line 215

dojo/store/DataStore.js

  • Provides:

    • dojo.store.DataStore
  • Requires:

    • dojo.store.util.QueryResults in common
  • dojo.store.DataStore

    • type
      Function
    • parameters:
      • options: (typeof Object)
        This provides any configuration information that will be mixed into the store,
        including a reference to the Dojo data store under the property "store".
    • summary
      This is an adapter for using Dojo Data stores with an object store consumer.
      You can provide a Dojo data store and use this adapter to interact with it through
      the Dojo object store API
  • dojo.store.DataStore.target

    • type
      String
  • dojo.store.DataStore.constructor

    • constructor - constructor
    • type
      Function
    • parameters:
      • options: (typeof Object)
        This provides any configuration information that will be mixed into the store,
        including a reference to the Dojo data store under the property "store".
    • summary
      This is an adapter for using Dojo Data stores with an object store consumer.
      You can provide a Dojo data store and use this adapter to interact with it through
      the Dojo object store API
  • dojo.store.DataStore._objectConverter

    • parameters:
      • callback
    • type
      Function
  • dojo.store.DataStore.store

  • dojo.store.DataStore.get

    • parameters:
      • id: (typeof Object)
        The identity to use to lookup the object
      • options
    • summary
      Retrieves an object by it's identity. This will trigger a fetchItemByIdentity
    • type
      Function
  • dojo.store.DataStore.put

    • parameters:
      • object: (typeof Object)
        The object to store.
      • options: (typeof Object)
        Additional metadata for storing the data.  Includes a reference to an id
        that the object may be stored with (i.e. { id: "foo" }).
    • summary
      Stores an object by its identity.
    • type
      Function
  • dojo.store.DataStore.remove

    • parameters:
      • id: (typeof Object)
        The identity to use to delete the object
    • summary
      Deletes an object by its identity.
    • type
      Function
  • dojo.store.DataStore.query

    • parameters:
      • query: (typeof Object)
        The query to use for retrieving objects from the store
      • options: (typeof Object)
        Optional options object as used by the underlying dojo.data Store.
    • summary
      Queries the store for objects.
    • return_summary
      dojo.store.util.QueryResults
      A query results object that can be used to iterate over results.
    • type
      Function
  • dojo.store.DataStore.getIdentity

    • parameters:
      • object: (typeof Object)
        The data object to get the identity from.
    • summary
      Fetch the identity for the given object.
    • return_summary
      Number
      The id of the given object.
    • type
      Function
  • dojo.store

    • type
      Object
  • dojo

    • type
      Object