From 2f01fe57a8d37767827d6db42850aef86a767c53 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 15 Nov 2010 10:39:52 +0300 Subject: add dijit/dojo stuff; initial ui mockup --- lib/dojo/data/api/Identity.js | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 lib/dojo/data/api/Identity.js (limited to 'lib/dojo/data/api/Identity.js') diff --git a/lib/dojo/data/api/Identity.js b/lib/dojo/data/api/Identity.js new file mode 100644 index 000000000..a76dd481c --- /dev/null +++ b/lib/dojo/data/api/Identity.js @@ -0,0 +1,26 @@ +/* + Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. + Available via Academic Free License >= 2.1 OR the modified BSD license. + see: http://dojotoolkit.org/license for details +*/ + + +if(!dojo._hasResource["dojo.data.api.Identity"]){ +dojo._hasResource["dojo.data.api.Identity"]=true; +dojo.provide("dojo.data.api.Identity"); +dojo.require("dojo.data.api.Read"); +dojo.declare("dojo.data.api.Identity",dojo.data.api.Read,{getFeatures:function(){ +return {"dojo.data.api.Read":true,"dojo.data.api.Identity":true}; +},getIdentity:function(_1){ +throw new Error("Unimplemented API: dojo.data.api.Identity.getIdentity"); +var _2=null; +return _2; +},getIdentityAttributes:function(_3){ +throw new Error("Unimplemented API: dojo.data.api.Identity.getIdentityAttributes"); +return null; +},fetchItemByIdentity:function(_4){ +if(!this.isItemLoaded(_4.item)){ +throw new Error("Unimplemented API: dojo.data.api.Identity.fetchItemByIdentity"); +} +}}); +} -- cgit v1.2.3