dojo.data.ItemFileWriteStore
dojo.require("dojo.data.ItemFileWriteStore");
defined in dojo/data/ItemFileWriteStore.js
Usage
function (/*Object*/ keywordParameters) (view source)
parameter | type | description |
---|---|---|
keywordParameters | Object | typeMap 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. It is serialized assuming object.toString() serialization. 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. serialize: function(object) //The function that converts the object back into the proper file format form. } |
dojo.data.util.simpleFetch (from dojo.data.ItemFileReadStore)
FunctionsBack to top
Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.close()

Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.containsValue()

See dojo.data.api.Write.deleteItem()
Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Identity.fetchItemByIdentity()

Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Identity.getIdentifierAttributes()

Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.getLabelAttributes()

Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.getValue()

Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.hasAttribute()

See dojo.data.api.Write.isDirty()
Defined by dojo.data.ItemFileReadStore
See dojo.data.api.Read.loadItem()

See dojo.data.api.Notification.onDelete() No need to do anything. This method is here just so that the client code can connect observers to it.
See dojo.data.api.Notification.onNew() No need to do anything. This method is here just so that the client code can connect observers to it.
See dojo.data.api.Notification.onSet() No need to do anything. This method is here just so that the client code can connect observers to it.

See dojo.data.api.Write.revert()

See dojo.data.api.Write.set()

See dojo.data.api.Write.unsetAttribute()
Overrides dojo.data.ItemFileReadStore
Method to add an reference map entry for an item and attribute.

Defined by dojo.data.ItemFileReadStore
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.

Defined by dojo.data.ItemFileReadStore
This function tests whether the item passed in is indeed an item in the store.
Defined by dojo.data.ItemFileReadStore
Internal function for looking at the values contained by the item.
Function to dump the reverse reference map of all items in the store for debug purposes.
Defined by dojo.data.ItemFileReadStore
See dojo.data.util.simpleFetch.fetch()

Defined by dojo.data.ItemFileReadStore
Internal function to force a load of the store if it hasn't occurred yet. This is required for specific functions to work properly.
Defined by dojo.data.ItemFileReadStore
Internal function to look an item up by its identity map.
Defined by dojo.data.ItemFileReadStore
Internal function to determine which list of items to search over.
Defined by dojo.data.ItemFileReadStore
Function to parse the loaded data into item format and build the internal items array.
Generate a string that can be saved to a file. The result should look similar to: http://trac.dojotoolkit.org/browser/dojo/trunk/tests/data/countries.json

Defined by dojo.data.ItemFileReadStore
Internal function to execute delayed request in the store. Execute any deferred fetches now.

Function to determine if an array or object has no properties or values.

Method to remove an reference map entry for an item and attribute.
PropertiesBack to top
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore
Defined by dojo.data.ItemFileReadStore