Package | org.restfulx.models |
Class | public class RxTreeModel |
Inheritance | RxTreeModel ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
![]() | attachment : Object any model can have one attachment, this can be either RxFileRefrence or BinaryAttachment
| RxModel | |
children : ModelsCollection | RxTreeModel | ||
![]() | cloned : Boolean indicates if this is a clone
| RxModel | |
![]() | dirty : Boolean can be used to see if this model's properties have been changed
| RxModel | |
![]() | id : String all models have an id.
| RxModel | |
![]() | partials : Object indicates which relationships on this model are partially serialized and should be attempted
to be linked to current objects in cache
| RxModel | |
![]() | rev : String some models have a revision number
| RxModel | |
![]() | sync : String tracks if this model needs to be synchornized
| RxModel | |
![]() | xrev : String if we have a revision number, it's also a good idea to keep track of the previous one
| RxModel |
Method | Defined by | ||
---|---|---|---|
RxTreeModel(label:String = "id")
| RxTreeModel | ||
![]() |
create(optsOrOnSuccess:Object = null, onFailure:Function = null, nestedBy:Array = null, metadata:Object = null, recursive:Boolean = false, targetServiceId:int = -1, customProcessor:Function = null):void
Wrapper around Rx.models.create
| RxModel | |
![]() |
destroy(optsOrOnSuccess:Object = null, onFailure:Function = null, nestedBy:Array = null, metadata:Object = null, recursive:Boolean = false, targetServiceId:int = -1, customProcessor:Function = null):void
Wrapper around Rx.models.destroy
| RxModel | |
![]() |
reload(optsOrOnSuccess:Object = null, onFailure:Function = null, nestedBy:Array = null, metadata:Object = null, fetchDependencies:Boolean = true, useLazyMode:Boolean = true, targetServiceId:int = -1, customProcessor:Function = null):void
Wrapper around Rx.models.reload
| RxModel | |
![]() |
show(optsOrOnSuccess:Object = null, onFailure:Function = null, nestedBy:Array = null, metadata:Object = null, fetchDependencies:Boolean = true, useLazyMode:Boolean = false, targetServiceId:int = -1, customProcessor:Function = null):Object
Wrapper around Rx.models.show
| RxModel | |
![]() |
shown():Boolean
Wrapper around Rx.models.shown
| RxModel | |
![]() |
toString():String
Default toString implementation for models
| RxModel | |
![]() |
update(optsOrOnSuccess:Object = null, onFailure:Function = null, nestedBy:Array = null, metadata:Object = null, recursive:Boolean = false, targetServiceId:int = -1, customProcessor:Function = null):void
Wrapper around Rx.models.update
| RxModel |
children | property |
public var children:ModelsCollection
RxTreeModel | () | constructor |
public function RxTreeModel(label:String = "id")
Parameters
label:String (default = "id ")
|