public var data:ArrayCollection
public var INSERT_MM_CLASS:Class
public var myResultFunction:Function
public var SELECT_MM_CLASS:Class
public function DbHelper()
public function addARelation(targetClass:Class, object:T3DbElement, resultFunction:Function):voidParameters
| targetClass:Class |
| |
| object:T3DbElement |
| |
| resultFunction:Function |
public function deserialize(obj:*, e:*):*
deserializes the xml response
handles error cases
Parameters
| obj:* — ResultEvent the server response and details about the connection
|
| |
| e:* |
Returns
public function doRequest(method_name:String, parameters:Object, callback:Function):void
makes a request to the server using the gateway instance
Parameters
| method_name:String — String the method name used in the server dispathcer
|
| |
| parameters:Object — Object name value pairs for sending in post
|
| |
| callback:Function — Function function to be called when the call completes
|
public function faultHandler(e:FaultEvent):void
fault handler for this connection
Parameters
| e:FaultEvent — FaultEvent the error object
|
public function getAllChildrenOfTable(object:Object, resultFunction:Function):voidParameters
| object:Object |
| |
| resultFunction:Function |
public function getChildFromUid(object:Object, uid:uint, resultFunction:Function):voidParameters
| object:Object |
| |
| uid:uint |
| |
| resultFunction:Function |
public function getChildrenFromFilterValue(object:Object, resultFunction:Function, filterField:String, filterValue:String):voidParameters
| object:Object |
| |
| resultFunction:Function |
| |
| filterField:String |
| |
| filterValue:String |
public function getMMForUid(object:Object, resultFunction:Function):voidParameters
| object:Object |
| |
| resultFunction:Function |
public function getStoredQuery(object:Object, resultFunction:Function):voidParameters
| object:Object |
| |
| resultFunction:Function |
public function initApp(action:String, myItem:Object):voidParameters
| action:String |
| |
| myItem:Object |
public function resultHandler(e:ResultEvent):void
result handler for the gateway
deserializes the result, and then calls the REAL event handler
(set when making a request in the doRequest function)
Parameters
| e:ResultEvent — ResultEvent the server response and details about the connection
|
(c) 2009 wwsc.de / More informations: http://www.t3flex.com/ Reimar Kosack(kosack@wwsc.de) / twitter.com/reimark