a:11:{s:9:"#provides";s:22:"dojo.data.api.Identity";s:9:"#resource";s:20:"data/api/Identity.js";s:9:"#requires";a:1:{i:0;a:2:{i:0;s:6:"common";i:1;s:18:"dojo.data.api.Read";}}s:22:"dojo.data.api.Identity";a:4:{s:4:"type";s:8:"Function";s:6:"chains";a:2:{s:9:"prototype";a:1:{i:0;s:18:"dojo.data.api.Read";}s:4:"call";a:1:{i:0;s:18:"dojo.data.api.Read";}}s:7:"summary";s:163:"This is an abstract API that data provider implementations conform to. This file defines methods signatures and intentionally leaves all the methods unimplemented.";s:9:"classlike";b:1;}s:34:"dojo.data.api.Identity.getFeatures";a:4:{s:9:"prototype";s:22:"dojo.data.api.Identity";s:4:"type";s:8:"Function";s:6:"source";s:82:" return { 'dojo.data.api.Read': true, 'dojo.data.api.Identity': true };";s:7:"summary";s:36:"See dojo.data.api.Read.getFeatures()";}s:34:"dojo.data.api.Identity.getIdentity";a:8:{s:9:"prototype";s:22:"dojo.data.api.Identity";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:2:{s:4:"type";s:4:"item";s:7:"summary";s:60:"The item from the store from which to obtain its identifier.";}}s:6:"source";s:147:" throw new Error('Unimplemented API: dojo.data.api.Identity.getIdentity'); var itemIdentityString = null; return itemIdentityString; // string";s:7:"summary";s:174:"Returns a unique identifier for an item. The return value will be either a string or something that has a toString() method (such as, for example, a dojox.uuid.Uuid object).";s:10:"exceptions";s:88:"Conforming implementations may throw an exception or return null if item is not an item.";s:7:"returns";s:6:"string";s:8:"examples";a:1:{i:0;s:111:" var itemId = store.getIdentity(kermit); assert(kermit === store.findByIdentity(store.getIdentity(kermit)));";}}s:44:"dojo.data.api.Identity.getIdentityAttributes";a:7:{s:9:"prototype";s:22:"dojo.data.api.Identity";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:2:{s:4:"type";s:4:"item";s:7:"summary";s:112:"The item from the store from which to obtain the array of public attributes that compose the identifier, if any.";}}s:6:"source";s:110:" throw new Error('Unimplemented API: dojo.data.api.Identity.getIdentityAttributes'); return null; // string";s:7:"summary";s:520:"Returns an array of attribute names that are used to generate the identity. For most stores, this is a single attribute, but for some complex stores such as RDB backed stores that use compound (multi-attribute) identifiers it can be more than one. If the identity is not composed of attributes on the item, it will return null. This function is intended to identify the attributes that comprise the identity so that so that during a render of all attributes, the UI can hide the the identity information if it chooses.";s:7:"returns";s:6:"string";s:8:"examples";a:1:{i:0;s:163:" var itemId = store.getIdentity(kermit); var identifiers = store.getIdentityAttributes(itemId); assert(typeof identifiers === "array" || identifiers === null);";}}s:42:"dojo.data.api.Identity.fetchItemByIdentity";a:5:{s:9:"prototype";s:22:"dojo.data.api.Identity";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"keywordArgs";a:2:{s:4:"type";s:6:"object";s:7:"summary";s:1281:"An anonymous object that defines the item to locate and callbacks to invoke when the item has been located and load has completed. The format of the object is as follows: { identity: string|object, onItem: Function, onError: Function, scope: object } The *identity* parameter. The identity parameter is the identity of the item you wish to locate and load This attribute is required. It should be a string or an object that toString() can be called on. The *onItem* parameter. Function(item) The onItem parameter is the callback to invoke when the item has been loaded. It takes only one parameter, the item located, or null if none found. The *onError* parameter. Function(error) The onError parameter is the callback to invoke when the item load encountered an error. It takes only one parameter, the error object The *scope* parameter. If a scope object is provided, all of the callback functions (onItem, onError, etc) will be invoked in the context of the scope object. In the body of the callback function, the value of the "this" keyword will be the scope object. If no scope object is provided, the callback functions will be called in the context of dojo.global. For example, onItem.call(scope, item, request) vs. onItem.call(dojo.global, item, request)";}}s:6:"source";s:134:" if (!this.isItemLoaded(keywordArgs.item)) { throw new Error('Unimplemented API: dojo.data.api.Identity.fetchItemByIdentity'); }";s:7:"summary";s:346:"Given the identity of an item, this method returns the item that has that identity through the onItem callback. Conforming implementations should return null if there is no item with the given identity. Implementations of fetchItemByIdentity() may sometimes return an item from a local cache and may sometimes fetch an item from a remote server,";}s:13:"dojo.data.api";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:9:"dojo.data";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:4:"dojo";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}