]> git.proxmox.com Git - extjs.git/blame - extjs/packages/core/src/data/proxy/Client.js
add extjs 6.0.1 sources
[extjs.git] / extjs / packages / core / src / data / proxy / Client.js
CommitLineData
6527f429
DM
1/**\r
2 * Base class for any client-side storage. Used as a superclass for {@link Ext.data.proxy.Memory Memory} and\r
3 * {@link Ext.data.proxy.WebStorage Web Storage} proxies. Do not use directly, use one of the subclasses instead.\r
4 * @private\r
5 */\r
6Ext.define('Ext.data.proxy.Client', {\r
7 extend: 'Ext.data.proxy.Proxy',\r
8 alternateClassName: 'Ext.data.ClientProxy',\r
9 \r
10 /**\r
11 * @property {Boolean} isSynchronous\r
12 * `true` in this class to identify that requests made on this proxy are\r
13 * performed synchronously\r
14 */\r
15 isSynchronous: true,\r
16\r
17 /**\r
18 * Abstract function that must be implemented by each ClientProxy subclass. This should purge all record data\r
19 * from the client side storage, as well as removing any supporting data (such as lists of record IDs)\r
20 */\r
21 clear: function() {\r
22 //<debug>\r
23 Ext.raise("The Ext.data.proxy.Client subclass that you are using has not defined a 'clear' function. See src/data/ClientProxy.js for details.");\r
24 //</debug>\r
25 }\r
26});\r