Constructordojo.data.ItemFileReadStore

dojo.require("dojo.data.ItemFileReadStore");
defined in dojo/data/ItemFileReadStore.js

constructor

Usage

function (/*Object*/ keywordParameters) (view source)
parametertypedescription
keywordParametersObjecttypeMap object) The structure of the typeMap object is as follows: { type0: function || object, type1: function || object, ... typeN: function || object } Where if it is a function, it is assumed to be an object constructor that takes the value of _value as the initialization parameters. If it is an object, then it is assumed to be an object of general form: { type: function, //constructor. deserialize: function(value) //The function that parses the value and constructs the object defined by type appropriately. }

Jump to PropertiesFunctionsBack to top

See dojo.data.api.Read.close()
FunctioncontainsValue(item, attribute, value)
See dojo.data.api.Read.containsValue()
See dojo.data.api.Identity.fetchItemByIdentity()
See dojo.data.api.Read.getAttributes()
See dojo.data.api.Read.getFeatures()
See dojo.data.api.Identity.getIdentity()
See dojo.data.api.Identity.getIdentifierAttributes()
FunctiongetLabel(item)
See dojo.data.api.Read.getLabel()
See dojo.data.api.Read.getLabelAttributes()
FunctiongetValue(item, attribute, defaultValue)
See dojo.data.api.Read.getValue()
FunctiongetValues(item, attribute)
See dojo.data.api.Read.getValues()
FunctionhasAttribute(item, attribute)
See dojo.data.api.Read.hasAttribute()
FunctionisItem(something)
See dojo.data.api.Read.isItem()
FunctionisItemLoaded(something)
See dojo.data.api.Read.isItemLoaded()
FunctionloadItem(keywordArgs: Object)
See dojo.data.api.Read.loadItem()
Function_addReferenceToMap(refItem, parentItem, attribute: String)
Method to add an reference map entry for an item and attribute.
Function_assertIsAttribute(attribute)
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
This function tests whether the item passed in is indeed an item in the store.
Function_containsValue(item, attribute, value, regexp: RegExp?)
Internal function for looking at the values contained by the item.
Function_fetchItems(keywordArgs: Object, findCallback: Function, errorCallback: Function)
See dojo.data.util.simpleFetch.fetch()
Internal function to force a load of the store if it hasn't occurred yet. This is required for specific functions to work properly.
Internal function to look an item up by its identity map.
Function_getItemsArray(queryOptions: Object?)
Internal function to determine which list of items to search over.
Function to parse the loaded data into item format and build the internal items array.
Internal function to execute delayed request in the store. Execute any deferred fetches now.

Jump to FunctionsPropertiesBack to top