Initializes a new instance of an {@link geocortex.framework.storage.Store} object.
The {@link application.Application} that this module belongs to.
Clears all local data for the current application.
The callback to fire after the data has been successfully cleared.
The callback to fire if an error occurs.
Clears all local data for this domain.
The callback to fire after the data has been successfully cleared.
The callback to fire if an error occurs.
Gets the value for the given key, firing a success callback with the value (or null if it wasn't found).
The key for which value to fetch.
(value, key) The callback to invoke upon successfully reading from the underlying storage mechanism.
(error, key) The callback to invoke if an error occurs trying to read from the underlying storage mechanism.
An optional flag that when set to true causes the storage mechanism to fetch the resource as a resource that is common to all applications on the same domain. Default is false.
Initializes the store. During initialization, the most appropriate storage technology for the current user agent will be chosen.
If passed, this provider will be used instead of the Store attempting to detect the most suitable choice.
Removes a key and associated value from the store.
The key for which key/value pair to remove.
(key) The callback to invoke upon successfully removing from the underlying storage mechanism.
(error, key) The callback to invoke if an error occurs trying to remove from the underlying storage mechanism.
An optional flag that when set to true removes a resource previously saved as a shared resource. Default is false.
Sets the value for the given key, creating the key if it does not exist, and overwriting the current value if it does.
The key to set the value of.
The string value to set.
(key, value) The callback to invoke upon successfully writing to the underlying storage mechanism.
(error, key, value) The callback to invoke if an error occurs trying to write to the underlying storage mechanism. Passed a key, and the error that occurred.
An optional flag that when set to true causes the storage mechanism to save the resource in a way that is common to all applications on the same domain. Default is false.
Serves as an abstraction over a number of different client - side storage technologies.