Packagecoldfusion.air
Classpublic class SaveRelationshipManager
InheritanceSaveRelationshipManager Inheritance RelationshipManager 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 saving of relationships between entities



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
  
SaveRelationshipManager
 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
Constructor Detail
SaveRelationshipManager()Constructor
public function SaveRelationshipManager(session:Session)



Parameters
session:Session
Method Detail
handleSave()method
cfair_internal function handleSave(obj:Object, entity:Entity, callCache:Object, isCacheCall:Boolean = false):coldfusion.air:SessionToken

This API first saves all entities on the non-owning side, based on the cascade options It then saves the instance with the insert sql Finally saves all entities on the owning side based on the casecade options

Parameters

obj:Object
 
entity:Entity
 
callCache:Object
 
isCacheCall:Boolean (default = false)

Returns
coldfusion.air:SessionToken