Interface IJson

Hierarchy

Index

Properties

Methods

Properties

optional public alias?: Array<string>

[Config Option] (String[])

optional public allowSingle?: boolean

[Config Option] (Boolean)

optional public alternateClassName?: any

[Config Option] (String/String[])

optional public config?: any

[Config Option] (Object)

optional public encode?: boolean

[Config Option] (Boolean)

optional public extend?: string

[Config Option] (String)

optional public inheritableStatics?: any

[Config Option] (Object)

optional public mixins?: any

[Config Option] (Object)

optional public nameProperty?: string

[Config Option] (String)

optional public platformConfig?: any

[Config Option] (Object)

optional public root?: string

[Config Option] (String)

optional public rootProperty?: string

[Config Option] (String)

optional public self?: IClass

[Property] (Ext.Class)

optional public singleton?: boolean

[Config Option] (Boolean)

optional public statics?: any

[Config Option] (Object)

optional public uses?: Array<string>

[Config Option] (String[])

optional public writeAllFields?: boolean

[Config Option] (Boolean)

Methods

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 getAllowSingle(): boolean

[Method] Returns the value of allowSingle

Returns

boolean

Boolean

optional public getEncode(): boolean

[Method] Returns the value of encode

Returns

boolean

Boolean

optional public getEncodeRequest(): boolean

[Method] Returns the value of encodeRequest

Returns

boolean

Boolean

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 getNameProperty(): string

[Method] Returns the value of nameProperty

Returns

string

String

optional public getRecordData(record?: any): any

[Method] Formats the data for each record before sending it to the server

Parameters

  • record?: any optional

    Object The record that we are writing to the server.

Returns

any

Object An object literal of name/value keys to be written to the server. By default this method returns the data property on the record.

optional public getRootProperty(): string

[Method] Returns the value of rootProperty

Returns

string

String

optional public getWriteAllFields(): boolean

[Method] Returns the value of writeAllFields

Returns

boolean

Boolean

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 setAllowSingle(allowSingle?: boolean)

[Method] Sets the value of allowSingle

Parameters

  • allowSingle?: boolean optional

    Boolean The new value.

optional public setEncode(encode?: boolean)

[Method] Sets the value of encode

Parameters

  • encode?: boolean optional

    Boolean The new value.

optional public setEncodeRequest(encodeRequest?: boolean)

[Method] Sets the value of encodeRequest

Parameters

  • encodeRequest?: boolean optional

    Boolean The new value.

optional public setNameProperty(nameProperty?: string)

[Method] Sets the value of nameProperty

Parameters

  • nameProperty?: string optional

    String The new value.

optional public setRootProperty(rootProperty?: string)

[Method] Sets the value of rootProperty

Parameters

  • rootProperty?: string optional

    String The new value.

optional public setWriteAllFields(writeAllFields?: boolean)

[Method] Sets the value of writeAllFields

Parameters

  • writeAllFields?: boolean optional

    Boolean The new value.

optional public write(request?: IRequest): IRequest

[Method] Prepares a Proxy s Ext data Request object

Parameters

  • request?: IRequest optional

    Ext.data.Request The request object.

Returns

IRequest

Ext.data.Request The modified request object.