Function
The most abstract class of store layers, provides basic utilities and some interfaces.
Read-store
The wrapped store.
function
The original fetch function of the store.
Boolean
To control whether this layer is valid.
abstract
Function
Function
Function
Function
The store to be wrapped.
Do the actual wrapping (or 'hacking' if you like) to the store.
Function
Do the actual unwrapping to the store.
Function
Boolean? If given, is a setter, otherwise, it's getter.
The get/set function of the enabled status of this layer
Boolean
Function
Get the name of this store layer. The default name retrieved from class name, which should have a pattern of "{name}Layer". If this pattern does not exist, the whole class name will be this layer's name. It's better to override this method if your class name is too complicated.
The name of this layer.
Function
Function
The most abstract class for all server side store layers. tags: abstract
string
The url of the server
Object
Function
Overrided from _StoreLayer.enabled
Function
Boolean? If provided, it's a setter, otherwise, it's a getter
If you only want to modify the user request, instead of sending a separate command to server before fetch, just call: this.useCommand(false);
Boolean
Function
Implementation of _StoreLayer._fetch
dojo.data.api.Request
Function
The name of the command
anything The content of the command
get/set a command (a name-value pair)
The content of the command if cmdContent is undefined
anything
Function
server response
in|out] dojo.data.api.Request The request object for *fetch*. You can modify this object according to the *response* so as to change the behavior of *fetch*
When the server gives back *response* for the commands, you can do something here.
Function
handle errors when sending commands.
Function
Function
Unwrap the layers of the store
The unwrapped store, for nested use only.
Read-store
Function
the name of the layer
Get a layer of the store, so we can configure that layer.
the store layer object
Integer|_StoreLayer
Function
The function to callback. If return false, break the loop.
Whether visit from the inner most layer to the outer most layer.
Visit the layers one by one. From the outer most to inner most by default.
Object
Object
Object
Object