Packagecoldfusion.air
Classpublic class OperationsTableManager
InheritanceOperationsTableManager Inheritance Object

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 10, AIR 1.5

This class has all the APIs related to the operation table that keeps track of the updates that happen to the database while the app is offline



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
OperationsTableManager
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Property Detail
sessionproperty
cfair_internal var session:Session

Constructor Detail
OperationsTableManager()Constructor
public function OperationsTableManager(session:Session)

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 10, AIR 1.5

Parameters
session:Session
Method Detail
checkIfExistsInOpTable()method
cfair_internal function checkIfExistsInOpTable(obj:Object, entity:Entity):coldfusion.air:SessionToken

Parameters

obj:Object
 
entity:Entity

Returns
coldfusion.air:SessionToken
deleteAllFromOpTable()method 
cfair_internal function deleteAllFromOpTable():coldfusion.air:SessionToken

Returns
coldfusion.air:SessionToken
deleteClassFromOpTable()method 
cfair_internal function deleteClassFromOpTable(className:String):coldfusion.air:SessionToken

Parameters

className:String

Returns
coldfusion.air:SessionToken
deleteFromOpTable()method 
cfair_internal function deleteFromOpTable(obj:Object):coldfusion.air:SessionToken

Parameters

obj:Object

Returns
coldfusion.air:SessionToken
removeOperations()method 
cfair_internal function removeOperations():coldfusion.air:SessionToken

Returns
coldfusion.air:SessionToken
saveOp()method 
cfair_internal function saveOp(obj:Object, operation:String):coldfusion.air:SessionToken

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 10, AIR 1.5

Inserts into the optable the record got from server, operation would be set to null as no operations have happened on it yet

Parameters

obj:Object
 
operation:String

Returns
coldfusion.air:SessionToken
saveUpdateOp()method 
cfair_internal function saveUpdateOp(obj:Object, operation:String, updateObject:Boolean = true):coldfusion.air:SessionToken

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 10, AIR 1.5

checks if row exists in op table, if so, then updates it by calling updateOp else saves by calling saveOp

Parameters

obj:Object
 
operation:String
 
updateObject:Boolean (default = true)

Returns
coldfusion.air:SessionToken
test()method 
cfair_internal function test():void

updateObjectInOpTable()method 
cfair_internal function updateObjectInOpTable(obj:Object, operation:String):coldfusion.air:SessionToken

Parameters

obj:Object
 
operation:String

Returns
coldfusion.air:SessionToken
updateOperationInOpTable()method 
cfair_internal function updateOperationInOpTable(obj:Object, operation:String):coldfusion.air:SessionToken

Parameters

obj:Object
 
operation:String

Returns
coldfusion.air:SessionToken