Interface IOperation

Hierarchy

Index

Properties

Methods

Properties

optional public action?: string

[Config Option] (String)

optional public alias?: Array<string>

[Config Option] (String[])

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public batch?: IBatch

[Config Option] (Ext.data.Batch)

optional public callback?: any

[Config Option] (Function)

optional public config?: any

[Config Option] (Object)

optional public extend?: string

[Config Option] (String)

optional public filters?: IFilter[]

[Config Option] (Ext.util.Filter[])

optional public group?: boolean

[Config Option] (Boolean)

optional public grouper?: IGrouper

[Config Option] (Ext.util.Grouper)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public limit?: number

[Config Option] (Number)

optional public mixins?: any

[Config Option] (Object)

optional public model?: IModel

[Config Option] (Ext.data.Model)

optional public params?: any

[Config Option] (Object)

optional public platformConfig?: any

[Config Option] (Object)

optional public records?: Array<any>

[Config Option] (Array)

optional public request?: IRequest

[Config Option] (Ext.data.Request)

optional public response?: any

[Config Option] (Object)

optional public resultSet?: IResultSet

[Config Option] (Ext.data.ResultSet)

optional public scope?: any

[Config Option] (Object)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public sorters?: ISorter[]

[Config Option] (Ext.util.Sorter[])

optional public start?: number

[Config Option] (Number)

optional public statics?: any

[Config Option] (Object)

optional public synchronous?: boolean

[Config Option] (Boolean)

optional public uses?: Array<string>

[Config Option] (String[])

optional public withCredentials?: boolean

[Config Option] (Boolean)

Methods

optional public allowWrite(): boolean

[Method] Checks whether this operation should cause writing to occur

Returns

boolean

Boolean Whether the operation should cause a write to occur.

optional public callOverridden(args?: any): any

[Method] Call the original method that was previously overridden with override This method is deprecated as callParent does

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callOverridden(arguments)

Returns

any

Object Returns the result of calling the overridden method

optional public callParent(args?: any): any

[Method] Call the parent method of the current method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callParent(arguments)

Returns

any

Object Returns the result of calling the parent method

optional public callSuper(args?: any): any

[Method] This method is used by an override to call the superclass method but bypass any overridden method

Parameters

  • args?: any optional

    Array/Arguments The arguments, either an array or the arguments object from the current method, for example: this.callSuper(arguments)

Returns

any

Object Returns the result of calling the superclass method

optional public destroy()

[Method]

optional public getAction(): string

[Method] Returns the value of action

Returns

string

String

optional public getAddRecords(): boolean

[Method] Returns the value of addRecords

Returns

boolean

Boolean

optional public getBatch(): IBatch

[Method] Returns the value of batch

Returns

IBatch

Ext.data.Batch

optional public getCallback(): any

[Method] Returns the value of callback

Returns

any

Function

optional public getError(): any

[Method] Returns the error string or object that was set using setException

Returns

any

String/Object The error object.

optional public getFilters(): IFilter[]

[Method] Returns the value of filters

Returns

IFilter[]

Ext.util.Filter[]

optional public getGrouper(): IGrouper

[Method] Returns the value of grouper

Returns

IGrouper

Ext.util.Grouper

optional public getInitialConfig(name?: string): any

[Method] Returns the initial configuration passed to constructor

Parameters

  • name?: string optional

    String When supplied, value for particular configuration option is returned, otherwise the full config object is returned.

Returns

any

Object/Mixed

optional public getLimit(): number

[Method] Returns the value of limit

Returns

number

Number

optional public getModel(): IModel

[Method] Returns the value of model

Returns

IModel

Ext.data.Model

optional public getNode(): any

[Method] Returns the value of node

Returns

any

Object

optional public getPage(): any

[Method] Returns the value of page

Returns

any

Object

optional public getParams(): any

[Method] Returns the value of params

Returns

any

Object

optional public getRequest(): IRequest

[Method] Returns the value of request

Returns

IRequest

Ext.data.Request

optional public getResponse(): any

[Method] Returns the value of response

Returns

any

Object

optional public getResultSet(): IResultSet

[Method] Returns the value of resultSet

Returns

IResultSet

Ext.data.ResultSet

optional public getScope(): any

[Method] Returns the value of scope

Returns

any

Object

optional public getSorters(): ISorter[]

[Method] Returns the value of sorters

Returns

ISorter[]

Ext.util.Sorter[]

optional public getStart(): number

[Method] Returns the value of start

Returns

number

Number

optional public getSynchronous(): boolean

[Method] Returns the value of synchronous

Returns

boolean

Boolean

optional public getUrl(): any

[Method] Returns the value of url

Returns

any

Object

optional public getWithCredentials(): boolean

[Method] Returns the value of withCredentials

Returns

boolean

Boolean

optional public hasException(): boolean

[Method] Returns true if this Operation encountered an exception see also getError

Returns

boolean

Boolean true if there was an exception.

optional public initConfig(instanceConfig?: any): any

[Method] Initialize configuration for this class

Parameters

  • instanceConfig?: any optional

    Object

Returns

any

Object mixins The mixin prototypes as key - value pairs

optional public isComplete(): boolean

[Method] Returns true if the Operation has been completed

Returns

boolean

Boolean true if the Operation is complete

optional public isRunning(): boolean

[Method] Returns true if the Operation has been started but has not yet completed

Returns

boolean

Boolean true if the Operation is currently running

optional public isStarted(): boolean

[Method] Returns true if the Operation has been started

Returns

boolean

Boolean true if the Operation has started

optional public setAction(action?: string)

[Method] Sets the value of action

Parameters

  • action?: string optional

    String

optional public setAddRecords(addRecords?: boolean)

[Method] Sets the value of addRecords

Parameters

  • addRecords?: boolean optional

    Boolean

optional public setBatch(batch?: IBatch)

[Method] Sets the value of batch

Parameters

  • batch?: IBatch optional

    Ext.data.Batch

optional public setCallback(callback?: any)

[Method] Sets the value of callback

Parameters

  • callback?: any optional

    Function

optional public setCompleted()

[Method] Marks the Operation as completed

optional public setException(error?: any)

[Method] Marks the Operation as having experienced an exception

Parameters

  • error?: any optional

    String/Object error string/object

optional public setFilters(filters?: IFilter[])

[Method] Sets the value of filters

Parameters

  • filters?: IFilter[] optional

    Ext.util.Filter[]

optional public setGrouper(grouper?: IGrouper)

[Method] Sets the value of grouper

Parameters

  • grouper?: IGrouper optional

    Ext.util.Grouper

optional public setLimit(limit?: number)

[Method] Sets the value of limit

Parameters

  • limit?: number optional

    Number

optional public setModel(model?: IModel)

[Method] Sets the value of model

Parameters

  • model?: IModel optional

    Ext.data.Model

optional public setNode(node?: any)

[Method] Sets the value of node

Parameters

  • node?: any optional

    Object

optional public setPage(page?: any)

[Method] Sets the value of page

Parameters

  • page?: any optional

    Object

optional public setParams(params?: any)

[Method] Sets the value of params

Parameters

  • params?: any optional

    Object

optional public setRecords(records?: Array<any>)

[Method] Sets the value of records

Parameters

  • records?: Array<any> optional

    Array

optional public setRequest(request?: IRequest)

[Method] Sets the value of request

Parameters

  • request?: IRequest optional

    Ext.data.Request

optional public setResponse(response?: any)

[Method] Sets the value of response

Parameters

  • response?: any optional

    Object

optional public setResultSet(resultSet?: IResultSet)

[Method] Sets the value of resultSet

Parameters

  • resultSet?: IResultSet optional

    Ext.data.ResultSet

optional public setScope(scope?: any)

[Method] Sets the value of scope

Parameters

  • scope?: any optional

    Object

optional public setSorters(sorters?: ISorter[])

[Method] Sets the value of sorters

Parameters

  • sorters?: ISorter[] optional

    Ext.util.Sorter[]

optional public setStart(start?: number)

[Method] Sets the value of start

Parameters

  • start?: number optional

    Number

optional public setStarted()

[Method] Marks the Operation as started

optional public setSuccessful()

[Method] Marks the Operation as successful

optional public setSynchronous(synchronous?: boolean)

[Method] Sets the value of synchronous

Parameters

  • synchronous?: boolean optional

    Boolean

optional public setUrl(url?: any)

[Method] Sets the value of url

Parameters

  • url?: any optional

    Object

optional public setWithCredentials(withCredentials?: boolean)

[Method] Sets the value of withCredentials

Parameters

  • withCredentials?: boolean optional

    Boolean

optional public wasSuccessful(): boolean

[Method] Returns true if the Operation has completed and was successful

Returns

boolean

Boolean true if successful