Properties Methods Events Config Options Direct Link

Class Ext.data.Operation

Package:Ext.data
Defined In:Operation.js
Class:Operation
Extends:Object

Represents a single read or write operation performed by a Proxy. Operation objects are used to enable communication between Stores and Proxies. Application developers should rarely need to interact with Operation objects directly.

Several Operations can be batched together in a batch.

Config Options

Config OptionsDefined By
 action : String
The action being performed by this Operation. Should be one of 'create', 'read', 'update' or 'destroy'
Operation
 batch : Ext.data.Batch
The batch that this Operation is a part of (optional)
Operation
 filters : Array
Optional array of filter objects. Only applies to 'read' actions.
Operation
 group : Object
Optional grouping configuration. Only applies to 'read' actions where grouping is desired.
Operation
 limit : Number
The number of records to load. Used on 'read' actions when paging is being used.
Operation
 sorters : Array
Optional array of sorter objects. Only applies to 'read' actions.
Operation
 start : Number
The start index (offset), used in paging when running a 'read' action.
Operation

Public Properties

This class has no public properties.

Public Methods

MethodDefined By

Public Events

This class has no public events.