Class Index | File Index

Classes


Class fullproof.StoreManager


Defined in: fullproof-all-large.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
fullproof.StoreManager(storeDescriptors)
A StoreManager finds and instanciates stores
Method Summary
Method Attributes Method Name and Description
 
addIndex(indexRequest)
Adds an index to the list of index managed by the StoreManager.
 
getInfoFor(indexName)
Returns information relative to the index
 
openIndexes(callback, errorCallback)
Open all the indexes added to the StoreManager.
Class Detail
fullproof.StoreManager(storeDescriptors)
A StoreManager finds and instanciates stores
Parameters:
{Array.fullproof.StoreDescriptor} storeDescriptors
an array of {fullproof.StoreDescriptor} instances.
Method Detail
addIndex(indexRequest)
Adds an index to the list of index managed by the StoreManager.
Parameters:
indexRequest
an instance of fullproof.IndexRequest that describes the index to add
Returns:
true if an appropriate store was found, false otherwise

getInfoFor(indexName)
Returns information relative to the index
Parameters:
indexName
the index name

openIndexes(callback, errorCallback)
Open all the indexes added to the StoreManager. Once all the indexes were opened, the callback function is called.
Parameters:
callback
the function to call when everything is opened (called with false if some index fails to open)
errorCallback

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Sep 18 2012 20:18:58 GMT+0200 (CEST)