a:47:{s:9:"#provides";s:19:"dojox.data.AppStore";s:9:"#resource";s:16:"data/AppStore.js";s:9:"#requires";a:3:{i:0;a:2:{i:0;s:6:"common";i:1;s:24:"dojox.atom.io.Connection";}i:1;a:3:{i:0;s:6:"common";i:1;s:26:"dojo.data.util.simpleFetch";i:2;s:4:"dojo";}i:2;a:3:{i:0;s:6:"common";i:1;s:21:"dojo.data.util.filter";i:2;s:4:"dojo";}}s:19:"dojox.data.AppStore";a:7:{s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"args";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:79:"An anonymous object to initialize properties. It expects the following values:";}}s:6:"source";s:236:" if(args && args.url){ this.url = args.url; } if(args && args.urlPreventCache){ this.urlPreventCache = args.urlPreventCache; } if(!this.url){ throw new Error("A URL is required to instantiate an APP Store object"); }";s:7:"summary";s:19:"The APP data store.";s:11:"description";s:115:"The APP Store is instantiated either in markup or programmatically by supplying a url of the Collection to be used.";s:6:"mixins";a:1:{s:9:"prototype";a:1:{i:0;s:26:"dojo.data.util.simpleFetch";}}s:9:"classlike";b:1;}s:23:"dojox.data.AppStore.url";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:4:"type";s:3:"The";s:7:"summary";s:30:"url of the Collection to load.";}s:35:"dojox.data.AppStore.urlPreventCache";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:4:"type";s:7:"Whether";s:7:"summary";s:69:"or not to append on cache prevention params (as defined by dojo.xhr*)";}s:27:"dojox.data.AppStore.xmethod";a:2:{s:9:"prototype";s:19:"dojox.data.AppStore";s:7:"summary";s:0:"";}s:27:"dojox.data.AppStore._atomIO";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dojox.data.AppStore._feed";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:29:"dojox.data.AppStore._requests";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:31:"dojox.data.AppStore._processing";a:3:{s:9:"prototype";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.data.AppStore._updates";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:25:"dojox.data.AppStore._adds";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.data.AppStore._deletes";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:8:"instance";s:19:"dojox.data.AppStore";s:7:"private";b:1;s:7:"summary";s:0:"";}s:28:"dojox.data.AppStore._setFeed";a:7:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"feed";a:2:{s:4:"type";s:24:"dojox.atom.io.model.Feed";s:7:"summary";s:43:"object The Feed to use for this data store.";}s:4:"data";a:2:{s:4:"type";s:6:"unused";s:7:"summary";s:83:"Signature for this function is defined by AtomIO.getFeed, since this is a callback.";}}s:6:"source";s:585:" this._feed = feed; var i; for(i=0; i 0)?values[0]:defaultValue; //Object || int || Boolean";s:7:"summary";s:33:"See dojo.data.api.Read.getValue()";s:7:"returns";s:24:"Object || int || Boolean";}s:29:"dojox.data.AppStore.getValues";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:21:"attribute-name-string";}}s:6:"source";s:522:" this._assertIsItem(item); var flag = this._assertIsAttribute(attribute); if(flag) { if((attribute === "author" || attribute === "contributor" || attribute === "link") && item[attribute+"s"]){ return item[attribute+"s"]; } if(attribute === "category" && item.categories){ return item.categories; } if(item[attribute]){ item = item[attribute]; if(item.declaredClass == "dojox.atom.io.model.Content"){ return [item.value]; } return [item] ; } } return []; //Array";s:7:"summary";s:34:"See dojo.data.api.Read.getValues()";s:7:"returns";s:5:"Array";}s:33:"dojox.data.AppStore.getAttributes";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:199:" this._assertIsItem(item); var attributes = []; for(var key in dojox.atom.io.model._actions){ if(this.hasAttribute(item, key)){ attributes.push(key); } } return attributes; //Array";s:7:"summary";s:38:"See dojo.data.api.Read.getAttributes()";s:7:"returns";s:5:"Array";}s:32:"dojox.data.AppStore.hasAttribute";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:21:"attribute-name-string";}}s:6:"source";s:52:" return this.getValues(item, attribute).length > 0;";s:7:"summary";s:37:"See dojo.data.api.Read.hasAttribute()";}s:33:"dojox.data.AppStore.containsValue";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:21:"attribute-name-string";}s:5:"value";a:1:{s:4:"type";s:8:"anything";}}s:6:"source";s:202:" var regexp = undefined; if(typeof value === "string"){ regexp = dojo.data.util.filter.patternToRegExp(value, false); } return this._containsValue(item, attribute, value, regexp); //boolean.";s:7:"summary";s:38:"See dojo.data.api.Read.containsValue()";s:7:"returns";s:8:"boolean.";}s:34:"dojox.data.AppStore._containsValue";a:8:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:5:{s:4:"item";a:2:{s:4:"type";s:4:"item";s:7:"summary";s:46:"The data item to examine for attribute values.";}s:9:"attribute";a:2:{s:4:"type";s:21:"attribute-name-string";s:7:"summary";s:25:"The attribute to inspect.";}s:5:"value";a:2:{s:4:"type";s:8:"anything";s:7:"summary";s:19:"The value to match.";}s:6:"regexp";a:3:{s:8:"optional";b:1;s:4:"type";s:6:"RegExp";s:7:"summary";s:196:"Optional regular expression generated off value if value was of string type to handle wildcarding. If present and attribute values are string, then it can be used for comparison instead of 'value'";}s:4:"trim";a:2:{s:8:"optional";b:1;s:4:"type";s:7:"Boolean";}}s:6:"source";s:600:" var values = this.getValues(item, attribute); for(var i = 0; i < values.length; ++i){ var possibleValue = values[i]; if(typeof possibleValue === "string" && regexp){ if(trim) { possibleValue = possibleValue.replace(new RegExp(/^\s+/),""); // START possibleValue = possibleValue.replace(new RegExp(/\s+$/),""); // END } possibleValue = possibleValue.replace(/\r|\n|\r\n/g, ""); return (possibleValue.match(regexp) !== null); }else{ //Non-string matching. if(value === possibleValue){ return true; // Boolean } } } return false; // Boolean";s:7:"summary";s:66:"Internal function for looking at the values contained by the item.";s:11:"description";s:230:"Internal function for looking at the values contained by the item. This function allows for denoting if the comparison should be case sensitive for strings or not (for handling filtering cases where string case should not matter)";s:7:"returns";s:7:"Boolean";s:7:"private";b:1;}s:26:"dojox.data.AppStore.isItem";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:9:"something";a:1:{s:4:"type";s:8:"anything";}}s:6:"source";s:76:" return something && something.store && something.store === this; //boolean";s:7:"summary";s:31:"See dojo.data.api.Read.isItem()";s:7:"returns";s:7:"boolean";}s:32:"dojox.data.AppStore.isItemLoaded";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:9:"something";a:1:{s:4:"type";s:8:"anything";}}s:6:"source";s:32:" return this.isItem(something);";s:7:"summary";s:37:"See dojo.data.api.Read.isItemLoaded()";}s:28:"dojox.data.AppStore.loadItem";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"keywordArgs";a:1:{s:4:"type";s:6:"Object";}}s:6:"source";s:39:" this._assertIsItem(keywordArgs.item);";s:7:"summary";s:33:"See dojo.data.api.Read.loadItem()";}s:31:"dojox.data.AppStore._fetchItems";a:7:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:7:"request";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:14:"request object";}s:12:"fetchHandler";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:34:"function to call for fetched items";}s:12:"errorHandler";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:25:"function to call on error";}}s:6:"source";s:424:" if(this._feed){ this._finishFetchItems(request, fetchHandler, errorHandler); }else{ var flag = false; if(!this._requests){ this._requests = []; flag = true; } this._requests.push({request: request, fh: fetchHandler, eh: errorHandler}); if(flag){ this._atomIO = new dojox.atom.io.Connection(false, this.urlPreventCache); this._atomIO.getFeed(this.url,this._setFeed, null, this); } }";s:7:"summary";s:48:"Fetch items (Atom entries) that match to a query";s:11:"description";s:48:"Fetch items (Atom entries) that match to a query";s:7:"private";b:1;}s:37:"dojox.data.AppStore._finishFetchItems";a:7:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:7:"request";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:14:"request object";}s:12:"fetchHandler";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:34:"function to call for fetched items";}s:12:"errorHandler";a:2:{s:4:"type";s:1:"A";s:7:"summary";s:25:"function to call on error";}}s:6:"source";s:1382:" var items = null; var arrayOfAllItems = this._getAllItems(); if(request.query){ var ignoreCase = request.queryOptions ? request.queryOptions.ignoreCase : false; items = []; //See if there are any string values that can be regexp parsed first to avoid multiple regexp gens on the //same value for each item examined. Much more efficient. var regexpList = {}; var key; var value; for(key in request.query){ value = request.query[key]+''; if(typeof value === "string"){ regexpList[key] = dojo.data.util.filter.patternToRegExp(value, ignoreCase); } } for(var i = 0; i < arrayOfAllItems.length; ++i){ var match = true; var candidateItem = arrayOfAllItems[i]; for(key in request.query){ value = request.query[key]+''; if (!this._containsValue(candidateItem, key, value, regexpList[key], request.trim)){ match = false; } } if(match){ items.push(candidateItem); } } }else{ // We want a copy to pass back in case the parent wishes to sort the array. We shouldn't allow resort // of the internal list so that multiple callers can get listsand sort without affecting each other. if(arrayOfAllItems.length> 0){ items = arrayOfAllItems.slice(0,arrayOfAllItems.length); } } try { fetchHandler(items, request); } catch(e){ errorHandler(e, request); }";s:7:"summary";s:48:"Internal function for finishing a fetch request.";s:11:"description";s:137:"Internal function for finishing a fetch request. Needed since the feed might not have been loaded, so we finish the fetch in a callback.";s:7:"private";b:1;}s:31:"dojox.data.AppStore.getFeatures";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:6:"source";s:112:" return { 'dojo.data.api.Read': true, 'dojo.data.api.Write': true, 'dojo.data.api.Identity': true };";s:7:"summary";s:36:"See dojo.data.api.Read.getFeatures()";}s:25:"dojox.data.AppStore.close";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:7:"request";a:1:{s:4:"type";s:44:"dojo.data.api.Request || keywordArgs || null";}}s:6:"source";s:20:" this._feed = null;";s:7:"summary";s:50:"See dojo.data.api.Read.close() nothing to do here!";}s:28:"dojox.data.AppStore.getLabel";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:100:" if(this.isItem(item)){ return this.getValue(item, "title", "No Title"); } return undefined;";s:7:"summary";s:33:"See dojo.data.api.Read.getLabel()";}s:38:"dojox.data.AppStore.getLabelAttributes";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:19:" return ["title"];";s:7:"summary";s:43:"See dojo.data.api.Read.getLabelAttributes()";}s:31:"dojox.data.AppStore.getIdentity";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:63:" this._assertIsItem(item); return this.getValue(item, "id");";s:7:"summary";s:40:"See dojo.data.api.Identity.getIdentity()";}s:41:"dojox.data.AppStore.getIdentityAttributes";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:17:" return ["id"];";s:7:"summary";s:50:"See dojo.data.api.Identity.getIdentityAttributes()";}s:39:"dojox.data.AppStore.fetchItemByIdentity";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"keywordArgs";a:1:{s:4:"type";s:0:"";}}s:6:"source";s:368:" this._fetchItems({query:{id:keywordArgs.identity}, onItem: keywordArgs.onItem, scope: keywordArgs.scope}, function(items, request) { var scope = request.scope; if(!scope){ scope = dojo.global; } if(items.length < 1){ request.onItem.call(scope, null); }else{ request.onItem.call(scope, items[0]); } }, keywordArgs.onError);";s:7:"summary";s:48:"See dojo.data.api.Identity.fetchItemByIdentity()";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:14:"request.onItem";}}}s:27:"dojox.data.AppStore.newItem";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:11:"keywordArgs";a:2:{s:8:"optional";b:1;s:4:"type";s:6:"Object";}}s:6:"source";s:1843:" var entry = new dojox.atom.io.model.Entry(); var value = null; var temp = null; var i; for(var key in keywordArgs){ if(this._assertIsAttribute(key)) { value = keywordArgs[key]; switch(key){ case "link": for(i in value) { temp = value[i]; entry.addLink(temp.href,temp.rel,temp.hrefLang,temp.title,temp.type); } break; case "author": for(i in value) { temp = value[i]; entry.addAuthor(temp.name, temp.email, temp.uri); } break; case "contributor": for(i in value) { temp = value[i]; entry.addContributor(temp.name, temp.email, temp.uri); } break; case "category": for(i in value){ temp = value[i]; entry.addCategory(temp.scheme, temp.term, temp.label); } break; case "icon": case "id": case "logo": case "xmlBase": case "rights": entry[key] = value; break; case "updated": case "published": case "issued": case "modified": entry[key] = dojox.atom.io.model.util.createDate(value); break; case "content": case "summary": case "title": case "subtitle": entry[key] = new dojox.atom.io.model.Content(key); entry[key].value = value; break; default: entry[key] = value; break; } } } entry.store = this; entry.isDirty = true; if(!this._adds){ this._adds = [entry]; }else{ this._adds.push(entry); } if(this._feed){ this._feed.addEntry(entry); }else{ if(this._requests){ this._requests.push({add:entry}); }else{ this._requests = [{add:entry}]; this._atomIO = new dojox.atom.io.Connection(false, this.urlPreventCache); this._atomIO.getFeed(this.url,dojo.hitch(this,this._setFeed)); } } return true;";s:7:"summary";s:33:"See dojo.data.api.Write.newItem()";}s:30:"dojox.data.AppStore.deleteItem";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:1:{s:4:"type";s:4:"item";}}s:6:"source";s:477:" this._assertIsItem(item); if(!this._deletes){ this._deletes = [item]; }else{ this._deletes.push(item); } if(this._feed){ this._feed.removeEntry(item); }else{ if(this._requests){ this._requests.push({remove:item}); }else{ this._requests = [{remove:item}]; this._atomIO = new dojox.atom.io.Connection(false, this.urlPreventCache); this._atomIO.getFeed(this.url,dojo.hitch(this,this._setFeed)); } } item = null; return true;";s:7:"summary";s:36:"See dojo.data.api.Write.deleteItem()";}s:28:"dojox.data.AppStore.setValue";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:6:"string";}s:5:"value";a:1:{s:4:"type";s:15:"almost anything";}}s:6:"source";s:2009:" this._assertIsItem(item); var update = {item: item}; if(this._assertIsAttribute(attribute)) { switch(attribute){ case "link": update.links = item.links; this._addUpdate(update); item.links = null; item.addLink(value.href,value.rel,value.hrefLang,value.title,value.type); item.isDirty = true; return true; case "author": update.authors = item.authors; this._addUpdate(update); item.authors = null; item.addAuthor(value.name, value.email, value.uri); item.isDirty = true; return true; case "contributor": update.contributors = item.contributors; this._addUpdate(update); item.contributors = null; item.addContributor(value.name, value.email, value.uri); item.isDirty = true; return true; case "category": update.categories = item.categories; this._addUpdate(update); item.categories = null; item.addCategory(value.scheme, value.term, value.label); item.isDirty = true; return true; case "icon": case "id": case "logo": case "xmlBase": case "rights": update[attribute] = item[attribute]; this._addUpdate(update); item[attribute] = value; item.isDirty = true; return true; case "updated": case "published": case "issued": case "modified": update[attribute] = item[attribute]; this._addUpdate(update); item[attribute] = dojox.atom.io.model.util.createDate(value); item.isDirty = true; return true; case "content": case "summary": case "title": case "subtitle": update[attribute] = item[attribute]; this._addUpdate(update); item[attribute] = new dojox.atom.io.model.Content(attribute); item[attribute].value = value; item.isDirty = true; return true; default: update[attribute] = item[attribute]; this._addUpdate(update); item[attribute] = value; item.isDirty = true; return true; } } return false;";s:7:"summary";s:34:"See dojo.data.api.Write.setValue()";}s:29:"dojox.data.AppStore.setValues";a:5:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:3:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:6:"string";}s:6:"values";a:1:{s:4:"type";s:5:"array";}}s:6:"source";s:2147:" if(values.length === 0){ return this.unsetAttribute(item, attribute); } this._assertIsItem(item); var update = {item: item}; var value; var i; if(this._assertIsAttribute(attribute)) { switch(attribute){ case "link": update.links = item.links; item.links = null; for(i in values) { value = values[i]; item.addLink(value.href,value.rel,value.hrefLang,value.title,value.type); } item.isDirty = true; return true; case "author": update.authors = item.authors; item.authors = null; for(i in values) { value = values[i]; item.addAuthor(value.name, value.email, value.uri); } item.isDirty = true; return true; case "contributor": update.contributors = item.contributors; item.contributors = null; for(i in values) { value = values[i]; item.addContributor(value.name, value.email, value.uri); } item.isDirty = true; return true; case "categories": update.categories = item.categories; item.categories = null; for(i in values) { value = values[i]; item.addCategory(value.scheme, value.term, value.label); } item.isDirty = true; return true; case "icon": case "id": case "logo": case "xmlBase": case "rights": update[attribute] = item[attribute]; item[attribute] = values[0]; item.isDirty = true; return true; case "updated": case "published": case "issued": case "modified": update[attribute] = item[attribute]; item[attribute] = dojox.atom.io.model.util.createDate(values[0]); item.isDirty = true; return true; case "content": case "summary": case "title": case "subtitle": update[attribute] = item[attribute]; item[attribute] = new dojox.atom.io.model.Content(attribute); item[attribute].values[0] = values[0]; item.isDirty = true; return true; default: update[attribute] = item[attribute]; item[attribute] = values[0]; item.isDirty = true; return true; } } this._addUpdate(update); return false;";s:7:"summary";s:35:"See dojo.data.api.Write.setValues()";}s:34:"dojox.data.AppStore.unsetAttribute";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:2:{s:4:"item";a:1:{s:4:"type";s:4:"item";}s:9:"attribute";a:1:{s:4:"type";s:6:"string";}}s:6:"source";s:574:" this._assertIsItem(item); if(this._assertIsAttribute(attribute)) { if(item[attribute] !== null) { var update = {item: item}; switch(attribute){ case "author": case "contributor": case "link": update[attribute+"s"] = item[attribute+"s"]; break; case "category": update.categories = item.categories; break; default: update[attribute] = item[attribute]; break; } item.isDirty = true; item[attribute] = null; this._addUpdate(update); return true; } } return false; // boolean";s:7:"summary";s:40:"See dojo.data.api.Write.unsetAttribute()";s:7:"returns";s:7:"boolean";}s:24:"dojox.data.AppStore.save";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";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:56:"{ onComplete: function onError: function scope: object }";}}s:6:"source";s:735:" var i; for(i in this._adds){ this._atomIO.addEntry(this._adds[i], null, function(){}, keywordArgs.onError, false, keywordArgs.scope); } this._adds = null; for(i in this._updates){ this._atomIO.updateEntry(this._updates[i].item, function(){}, keywordArgs.onError, false, this.xmethod, keywordArgs.scope); } this._updates = null; for(i in this._deletes){ this._atomIO.removeEntry(this._deletes[i], function(){}, keywordArgs.onError, this.xmethod, keywordArgs.scope); } this._deletes = null; this._atomIO.getFeed(this.url,dojo.hitch(this,this._setFeed)); if(keywordArgs.onComplete){ var scope = keywordArgs.scope || dojo.global; keywordArgs.onComplete.call(scope); }";s:7:"summary";s:30:"See dojo.data.api.Write.save()";s:6:"chains";a:1:{s:4:"call";a:1:{i:0;s:22:"keywordArgs.onComplete";}}}s:26:"dojox.data.AppStore.revert";a:4:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:6:"source";s:445:" var i; for(i in this._adds){ this._feed.removeEntry(this._adds[i]); } this._adds = null; var update, item, key; for(i in this._updates){ update = this._updates[i]; item = update.item; for(key in update){ if(key !== "item"){ item[key] = update[key]; } } } this._updates = null; for(i in this._deletes){ this._feed.addEntry(this._deletes[i]); } this._deletes = null; return true;";s:7:"summary";s:32:"See dojo.data.api.Write.revert()";}s:27:"dojox.data.AppStore.isDirty";a:6:{s:9:"prototype";s:19:"dojox.data.AppStore";s:4:"type";s:8:"Function";s:10:"parameters";a:1:{s:4:"item";a:2:{s:8:"optional";b:1;s:4:"type";s:4:"item";}}s:6:"source";s:154:" if(item) { this._assertIsItem(item); return item.isDirty?true:false; //boolean } return (this._adds!==null || this._updates!==null); //boolean";s:7:"summary";s:33:"See dojo.data.api.Write.isDirty()";s:7:"returns";s:7:"boolean";}s:10:"dojox.data";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}s:5:"dojox";a:2:{s:4:"type";s:6:"Object";s:7:"summary";s:0:"";}}