| Package | org.granite.tide.seam.framework |
| Class | public class PagedQuery |
| Inheritance | PagedQuery PagedCollection mx.collections.ListCollectionView |
| Implements | IComponent, org.granite.tide.IPropertyHolder |
| Property | Defined by | ||
|---|---|---|---|
![]() | beforeFindCall : Function = null | PagedCollection | |
![]() | dispatchReplaceOnResult : Boolean | PagedCollection | |
![]() | dispatchResetOnInit : Boolean | PagedCollection | |
![]() | elementClass : Class | PagedCollection | |
![]() | length : int
Get total number of elements
| PagedCollection | |
![]() | list : IList | PagedCollection | |
![]() | maxResults : int
Set the page size.
| PagedCollection | |
| meta_name : String [read-only]
| PagedQuery | ||
![]() | multipleSort : Boolean = true | PagedCollection | |
| object : Object [read-only]
IPropertyHolder interface, wrapped object
| PagedQuery | ||
| remoteComponentName : String [write-only]
| PagedQuery | ||
![]() | sort : Sort | PagedCollection | |
![]() | throwIPEDuringResponders : Boolean = false | PagedCollection | |
![]() | triggerRefreshOnIPEWithoutResponder : Boolean = false | PagedCollection | |
![]() | uidProperty : String = "uid" | PagedCollection | |
| Method | Defined by | ||
|---|---|---|---|
| PagedQuery | |||
![]() |
clear():void
Clear collection content
| PagedCollection | |
![]() |
dispatchEvent(event:Event):Boolean
| PagedCollection | |
![]() |
fullRefresh():Boolean
Force refresh of collection when filter/sort have been changed
| PagedCollection | |
![]() |
getItemAt(index:int, prefetch:int = 0):Object
Override of getItemAt with ItemPendingError management
| PagedCollection | |
![]() |
getItemIndex(obj:Object):int
Override of getItemIndex
| PagedCollection | |
|
meta_clear():void
| PagedQuery | ||
|
meta_init(componentName:String, context:BaseContext):void
| PagedQuery | ||
|
meta_propertyResultHandler(propName:String, event:ResultEvent):void
IPropertyHolder interface, property change handler
| PagedQuery | ||
![]() |
refresh():Boolean
Refresh collection with new filter/sort parameters
| PagedCollection | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
find(first:int, last:int, merge:Boolean = false):void
Abstract method: trigger a results query for the current filter
| PagedCollection | |
|
getResult(event:TideResultEvent, first:int, max:int):Object
Get the current result for the collection
Here we get it from the wrapped component
| PagedQuery | ||
![]() |
itemUpdateHandler(event:PropertyChangeEvent):void
| PagedCollection | |
![]() |
startTrackUpdates(item:Object):void
| PagedCollection | |
![]() |
stopTrackUpdates(item:Object):void
| PagedCollection | |
| meta_name | property |
meta_name:String [read-only]This property can be used as the source for data binding.
Implementation public function get meta_name():String
| object | property |
object:Object [read-only]IPropertyHolder interface, wrapped object
This property can be used as the source for data binding.
Implementation public function get object():Object
| remoteComponentName | property |
remoteComponentName:String [write-only]This property can be used as the source for data binding.
Implementation public function set remoteComponentName(value:String):void
| PagedQuery | () | constructor |
public function PagedQuery()
| getResult | () | method |
protected override function getResult(event:TideResultEvent, first:int, max:int):ObjectGet the current result for the collection Here we get it from the wrapped component
Parametersevent:TideResultEvent — result event
|
|
first:int — first index
|
|
max:int — max number of elements
|
Object |
| meta_clear | () | method |
public function meta_clear():void
| meta_init | () | method |
public override function meta_init(componentName:String, context:BaseContext):voidParameters
componentName:String |
|
context:BaseContext |
| meta_propertyResultHandler | () | method |
public function meta_propertyResultHandler(propName:String, event:ResultEvent):voidIPropertyHolder interface, property change handler
ParameterspropName:String — property name
|
|
event:ResultEvent — result event
|