]> git.proxmox.com Git - extjs.git/blame - extjs/packages/core/src/data/operation/Update.js
add extjs 6.0.1 sources
[extjs.git] / extjs / packages / core / src / data / operation / Update.js
CommitLineData
6527f429
DM
1/**\r
2 * @class Ext.data.operation.Update\r
3 * Enacpsulates a update operation as performed by a {@link Ext.data.proxy.Proxy proxy}.\r
4 *\r
5 * This class is instantiated by {@link Ext.data.Store stores} and {@link Ext.data.Model records} and should\r
6 * not need to be instantiated in user code.\r
7 */\r
8Ext.define('Ext.data.operation.Update', {\r
9 extend: 'Ext.data.operation.Operation',\r
10 alias: 'data.operation.update',\r
11 \r
12 action: 'update',\r
13\r
14 isUpdateOperation: true,\r
15\r
16 order: 20,\r
17\r
18 config: {\r
19 recordCreator: Ext.identityFn\r
20 },\r
21 \r
22 doExecute: function() {\r
23 return this.getProxy().update(this);\r
24 }\r
25});\r