]>
git.wh0rd.org - tt-rss.git/blob - lib/dojo/data/api/Identity.js
2 Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
3 Available via Academic Free License >= 2.1 OR the modified BSD license.
4 see: http://dojotoolkit.org/license for details
8 if(!dojo
._hasResource
["dojo.data.api.Identity"]){
9 dojo
._hasResource
["dojo.data.api.Identity"]=true;
10 dojo
.provide("dojo.data.api.Identity");
11 dojo
.require("dojo.data.api.Read");
12 dojo
.declare("dojo.data.api.Identity",dojo
.data
.api
.Read
,{getFeatures:function(){
13 return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true};
14 },getIdentity:function(_1
){
15 throw new Error("Unimplemented API: dojo.data.api.Identity.getIdentity");
18 },getIdentityAttributes:function(_3
){
19 throw new Error("Unimplemented API: dojo.data.api.Identity.getIdentityAttributes");
21 },fetchItemByIdentity:function(_4
){
22 if(!this.isItemLoaded(_4
.item
)){
23 throw new Error("Unimplemented API: dojo.data.api.Identity.fetchItemByIdentity");