Class Index | File Index

Classes


Class M.DataProviderHybrid


Extends M.Object.

Defined in: hybrid_provider.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
 
Indicates whether data provider operates asynchronously or not.
 
 
 
The type of this object.
 
Defines the operation type: 1 for 'remote' or 'local', 2 for 'both'
Method Summary
Method Attributes Method Name and Description
 
 
configure(obj)
 
crud(obj, op)
 
del(obj)
 
find(obj)
 
handleErrorCallback(err, obj, dp)
 
handleSuccessCallback(res, obj, dp)
 
save(obj)
 
 
Methods borrowed from class M.Object:
bindToCaller, create, destroy, extend, get, include, set
Class Detail
M.DataProviderHybrid()
Field Detail
{Object} config

{Boolean} isAsync
Indicates whether data provider operates asynchronously or not.

{Object} localProvider

{Object} remoteProvider

{String} type
The type of this object.

{Number} usedProviders
Defines the operation type: 1 for 'remote' or 'local', 2 for 'both'
Method Detail
calculateOperationState(obj)
Parameters:
obj

configure(obj)
Parameters:
obj

crud(obj, op)
Parameters:
{Obj} obj
The param obj
{String} op
The operation to be performed on the actual data provider

del(obj)
Parameters:
obj

find(obj)
Parameters:
obj

handleErrorCallback(err, obj, dp)
Parameters:
err
obj
dp

handleSuccessCallback(res, obj, dp)
Parameters:
res
obj
dp

save(obj)
Parameters:
obj

setIntermediateCallbacks(obj)
Parameters:
obj

setOriginCallbacks(obj)
Parameters:
obj

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jan 25 2012 20:41:09 GMT+0100 (MEZ)