| Package | org.granite.tide.collections |
| Class | public class PersistentCollection |
| Inheritance | PersistentCollection mx.collections.ListCollectionView |
| Implements | IPersistentCollection, org.granite.tide.IPropertyHolder, org.granite.tide.IWrapper |
| Property | Defined by | ||
|---|---|---|---|
| entity : Object [read-only]
| PersistentCollection | ||
| length : int [read-only]
| PersistentCollection | ||
| object : Object [read-only]
| PersistentCollection | ||
| propertyName : String [read-only]
| PersistentCollection | ||
| Method | Defined by | ||
|---|---|---|---|
| PersistentCollection | |||
|
addItem(item:Object):void
| PersistentCollection | ||
|
addItemAt(item:Object, index:int):void
| PersistentCollection | ||
|
getItemAt(index:int, prefetch:int = 0):Object
| PersistentCollection | ||
|
initialize():void
| PersistentCollection | ||
|
initializing():void
| PersistentCollection | ||
|
isInitialized():Boolean
| PersistentCollection | ||
|
isInitializing():Boolean
| PersistentCollection | ||
|
meta_propertyResultHandler(propName:String, event:ResultEvent):void
| PersistentCollection | ||
|
refresh():Boolean
| PersistentCollection | ||
|
reload():void
| PersistentCollection | ||
|
removeAll():void
| PersistentCollection | ||
|
removeItemAt(index:int):Object
| PersistentCollection | ||
|
setItemAt(item:Object, index:int):Object
| PersistentCollection | ||
|
toString():String
| PersistentCollection | ||
|
uninitialize():void
| PersistentCollection | ||
|
withInitialized(callback:Function):void
| PersistentCollection | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| PersistentCollection | ||||
| PersistentCollection | ||||
| entity | property |
entity:Object [read-only]Implementation
public function get entity():Object
| length | property |
length:int [read-only]This property can be used as the source for data binding.
Implementation public function get length():int
| object | property |
object:Object [read-only]Implementation
public function get object():Object
| propertyName | property |
propertyName:String [read-only]Implementation
public function get propertyName():String
| PersistentCollection | () | constructor |
public function PersistentCollection(entity:IEntity, propertyName:String, collection:IPersistentCollection)Parameters
entity:IEntity |
|
propertyName:String |
|
collection:IPersistentCollection |
| addItem | () | method |
public override function addItem(item:Object):voidParameters
item:Object |
| addItemAt | () | method |
public override function addItemAt(item:Object, index:int):voidParameters
item:Object |
|
index:int |
| getItemAt | () | method |
public override function getItemAt(index:int, prefetch:int = 0):ObjectParameters
index:int |
|
prefetch:int (default = 0) |
Object |
| initialize | () | method |
public function initialize():void
| initializing | () | method |
public function initializing():void
| isInitialized | () | method |
public function isInitialized():Boolean
Returns
Boolean |
| isInitializing | () | method |
public function isInitializing():Boolean
Returns
Boolean |
| meta_propertyResultHandler | () | method |
public function meta_propertyResultHandler(propName:String, event:ResultEvent):voidParameters
propName:String |
|
event:ResultEvent |
| refresh | () | method |
public override function refresh():Boolean
Returns
Boolean |
| reload | () | method |
public function reload():void
| removeAll | () | method |
public override function removeAll():void
| removeItemAt | () | method |
public override function removeItemAt(index:int):ObjectParameters
index:int |
Object |
| setItemAt | () | method |
public override function setItemAt(item:Object, index:int):ObjectParameters
item:Object |
|
index:int |
Object |
| toString | () | method |
public override function toString():String
Returns
String |
| uninitialize | () | method |
public function uninitialize():void
| withInitialized | () | method |
public function withInitialized(callback:Function):voidParameters
callback:Function |
| initialize | event |
| uninitialize | event |