Function
A simple store that provides a datastore interface to a filesystem.
A simple store that provides a datastore interface to a filesystem. It takes a few parameters for initialization:
options="expand,dirsOnly,showHiddenFiles"
The
URL of the service which provides the file store serverside implementation.
string
Internal variable used to denote an item came from this store instance.
The
attribute of the file to use as the huma-readable text. Default is 'name'. The purpose of this store is to represent a file as a datastore item. The datastore item by default has the following attributes that can be examined on it. directory: Boolean indicating if the file item represents a directory. name: The filename with no path informatiom. path: The file complete file path including name, relative to the location the file service scans from size: The size of the file, in bytes. parentDir: The parent directory path. children: Any child files contained by a directory file item. Note that the store's server call pattern is RESTlike. The store also supports the passing of configurable options to the back end service, such as expanding all child files (no lazy load), displaying hidden files, displaying only directories, and so on. These are defined through a comma-separated list in declarative, or through setting the options array in programmatic.
string
Default attribute to use to represent the item's identifier. Path should always be unique in the store instance.
string
Internal variable of attributes all file items should have.
string
The path separator to use when chaining requests for children Can be overriden by the server on initial load
array
Array of options to always send when doing requests. Back end service controls this, like 'dirsOnly', 'showHiddenFiles', 'expandChildren', etc.
boolean
Flag to pass on to xhr functions to check if we are OK to fail the call silently
string
Flag to dennote if preventCache should be passed to xhrGet.
Function
The item to test for being contained by the store.
This function tests whether the item passed in is indeed an item in the store.
Function
The attribute to test for being contained by the store.
This function tests whether the item passed in is indeed a valid 'attribute' like type for the store.
Function
See dojo.data.api.Read.getFeatures()
Function
See dojo.data.api.Read.getValue()
Function
See dojo.data.api.Read.getAttributes()
Function
See dojo.data.api.Read.hasAttribute()
Function
See dojo.data.api.Identity.getIdentity()
Function
See dojo.data.api.Read.getLabelAttributes()
Function
See dojo.data.api.Read.isItemLoaded()
Function
See dojo.data.api.Read.loadItem()
Function
See dojo.data.api.Read.getLabel()
Function
See dojo.data.api.Read.getLabelAttributes()
Function
See dojo.data.api.Read.containsValue()
Function
See dojo.data.api.Read.getValue()
Function
See dojo.data.api.Read.isItem()
Function
See dojo.data.api.Read.close()
Function
request object
Fetch items that match to a query
Function
See dojo.data.api.Read.loadItem()
Function
Function
Internal function for processing an array of items for return.
Function
Internal function for processing an item returned from the store. It sets up the store ref as well as sets up the attributes necessary to invoke a lazy load on a child, if there are any.
Object
Object