thrownewError("A URL is required to instantiate an APP Store object");
}
},_setFeed:function(_2,_3){
this._feed=_2;
vari;
for(i=0;i<this._feed.entries.length;i++){
this._feed.entries[i].store=this;
}
if(this._requests){
for(i=0;i<this._requests.length;i++){
var_4=this._requests[i];
if(_4.request&&_4.fh&&_4.eh){
this._finishFetchItems(_4.request,_4.fh,_4.eh);
}else{
if(_4.clear){
this._feed=null;
}else{
if(_4.add){
this._feed.addEntry(_4.add);
}else{
if(_4.remove){
this._feed.removeEntry(_4.remove);
}
}
}
}
}
}
this._requests=null;
},_getAllItems:function(){
var_5=[];
for(vari=0;i<this._feed.entries.length;i++){
_5.push(this._feed.entries[i]);
}
return_5;
},_assertIsItem:function(_6){
if(!this.isItem(_6)){
thrownewError("This error message is provided when a function is called in the following form: "+"getAttribute(argument, attributeName). The argument variable represents the member "+"or owner of the object. The error is created when an item that does not belong "+"to this store is specified as an argument.");
}
},_assertIsAttribute:function(_7){
if(typeof_7!=="string"){
thrownewError("The attribute argument must be a string. The error is created "+"when a different type of variable is specified such as an array or object.");