Package | stimulsoft.report.dictionary.dataSources |
Class | public class StiDataSource |
Inheritance | StiDataSource ![]() ![]() |
Implements | IStiName, IStiInherited, IStiEnumerator, IStiRef, IStiSerializable, IStiClonable |
Subclasses | StiDataStoreSource |
Property | Defined By | ||
---|---|---|---|
alias : String Gets or sets of the Data Source alias. | StiDataSource | ||
columns : StiDataColumnsCollection Gets or sets the column collection. | StiDataSource | ||
connectionOrder : int Gets or sets value which indicates in which order that datasource will be connect to the data. | StiDataSource | ||
connectOnStart : Boolean Gets or sets value which indicates that datasource not connect to the data automatically. | StiDataSource | ||
count : int [read-only] Gets count of elements. | StiDataSource | ||
dataTable : DataTable Gets DataTable. | StiDataSource | ||
detailRows : Array = null | StiDataSource | ||
dictionary : StiDictionary Gets or sets the dictionary in which this Data Source is located. | StiDataSource | ||
inherited : Boolean | StiDataSource | ||
initForSubreport : Boolean = false | StiDataSource | ||
isBof : Boolean Gets value indicates that this position specifies to the beginning of data. | StiDataSource | ||
isConnected : Boolean [read-only] Gets value indicates which Data Source is connected with data. | StiDataSource | ||
isEmpty : Boolean [read-only] Gets value indicates that no data. | StiDataSource | ||
isEof : Boolean Gets value indicates that this position specifies to the data end. | StiDataSource | ||
isInited : Boolean = false | StiDataSource | ||
name : String Gets or sets of the Data Source name. | StiDataSource | ||
parameters : StiDataParametersCollection Gets or sets the parameter collection. | StiDataSource | ||
position : int Gets the current position. | StiDataSource | ||
realCount : int [read-only] | StiDataSource | ||
ref : int | StiDataSource | ||
rows : StiRowsCollection | StiDataSource | ||
rowToLevel : StiHashtable = null | StiDataSource | ||
states : StiStatesManager [read-only] Gets the component states manager. | StiDataSource |
Property | Defined By | ||
---|---|---|---|
columnsIndexs : StiHashtable | StiDataSource | ||
dataAdapterService : StiDataAdapterService = null | StiDataSource | ||
isBofValue : Boolean = false | StiDataSource | ||
isEofValue : Boolean = false | StiDataSource | ||
positionValue : int = 0 | StiDataSource |
Method | Defined By | ||
---|---|---|---|
StiDataSource(name:String = DataSource, alias:String = DataSource) | StiDataSource | ||
checkColumnsIndexs():void | StiDataSource | ||
clearAllStates():void Clear all earlier saved object states. | StiDataSource | ||
clone(... args):Object [override] | StiDataSource | ||
connect(datas:StiDataCollection = null, loadData:Boolean = true):void Connect Data Source to data. | StiDataSource | ||
disconnect():void | StiDataSource | ||
equals(object:Object):Boolean [override] | StiDataSource | ||
first():void Sets a position at the beginning. | StiDataSource | ||
getCategoryName():String Returns the name to categories of the Data Source. | StiDataSource | ||
getChildDataSource(relationName:String):StiDataSource Returns the child Data Source by the relation name. | StiDataSource | ||
Returns a collection of Child relations. | StiDataSource | ||
getColumnIndex(columnName:String):int | StiDataSource | ||
getConditions(dataBand:StiDataBand):Array | StiDataSource | ||
getData(columnName:String, index:int = -1):Object | StiDataSource | ||
StiDataSource | |||
StiDataSource | |||
getLabel():String | StiDataSource | ||
getLevel():int | StiDataSource | ||
getParentData(relationName:String):StiDataRow Returns the parent row with data for the indicated relation. | StiDataSource | ||
getParentDataSource(relationName:String):StiDataSource Returns the parent Data Source by the relation name. | StiDataSource | ||
Returns the colection of Parent relations. | StiDataSource | ||
![]() | getShortTypeName():String Get a short object type name (without library path). | StiObject | |
![]() | getType():Class | StiObject | |
![]() | getTypeName():String | StiObject | |
![]() | isSimple(object:*):Boolean [static] | StiObject | |
last():void Sets a position on the last element. | StiDataSource | ||
memberwiseClone():Object [override] | StiDataSource | ||
next():void Sets a position on the next element. | StiDataSource | ||
prior():void Sets a position on the previous element. | StiDataSource | ||
resetData():void | StiDataSource | ||
resetDetailsRows():void | StiDataSource | ||
restoreState(stateName:String):void Restores the earlier saved object state. | StiDataSource | ||
saveState(stateName:String):void Saves the current state of an object. | StiDataSource | ||
setData(dataBand:StiDataBand, relationName:String, filterMethod:Object, sortColumns:Array, reinit:Boolean, component:StiComponent):void | StiDataSource | ||
setDetails(relationName:String):void Set the details data for Data Source. | StiDataSource | ||
setFilter(filterMethod:Object):void Apply filter to data. | StiDataSource | ||
setSort(conditions:Array, sortColumns:Array, component:StiComponent, databand:StiDataBand, groupHeaders:StiComponentsCollection):void Sorts data. | StiDataSource | ||
synchronizeColumns():void | StiDataSource | ||
toString():String | StiDataSource |
Method | Defined By | ||
---|---|---|---|
invokeConnecting():void | StiDataSource | ||
invokeDisconnecting():void | StiDataSource |
alias | property |
alias:String
Gets or sets of the Data Source alias.
public function get alias():String
public function set alias(value:String):void
columns | property |
columns:StiDataColumnsCollection
Gets or sets the column collection.
public function get columns():StiDataColumnsCollection
public function set columns(value:StiDataColumnsCollection):void
columnsIndexs | property |
protected var columnsIndexs:StiHashtable
connectionOrder | property |
connectionOrder:int
Gets or sets value which indicates in which order that datasource will be connect to the data.
public function get connectionOrder():int
public function set connectionOrder(value:int):void
connectOnStart | property |
connectOnStart:Boolean
Gets or sets value which indicates that datasource not connect to the data automatically.
public function get connectOnStart():Boolean
public function set connectOnStart(value:Boolean):void
count | property |
count:int
[read-only] Gets count of elements.
public function get count():int
dataAdapterService | property |
protected var dataAdapterService:StiDataAdapterService = null
dataTable | property |
dataTable:DataTable
Gets DataTable.
public function get dataTable():DataTable
public function set dataTable(value:DataTable):void
detailRows | property |
public var detailRows:Array = null
dictionary | property |
dictionary:StiDictionary
Gets or sets the dictionary in which this Data Source is located.
public function get dictionary():StiDictionary
public function set dictionary(value:StiDictionary):void
inherited | property |
inherited:Boolean
public function get inherited():Boolean
public function set inherited(value:Boolean):void
initForSubreport | property |
public var initForSubreport:Boolean = false
isBof | property |
isBof:Boolean
Gets value indicates that this position specifies to the beginning of data.
public function get isBof():Boolean
public function set isBof(value:Boolean):void
isBofValue | property |
protected var isBofValue:Boolean = false
isConnected | property |
isConnected:Boolean
[read-only] Gets value indicates which Data Source is connected with data.
public function get isConnected():Boolean
isEmpty | property |
isEmpty:Boolean
[read-only] Gets value indicates that no data.
public function get isEmpty():Boolean
isEof | property |
isEof:Boolean
Gets value indicates that this position specifies to the data end.
public function get isEof():Boolean
public function set isEof(value:Boolean):void
isEofValue | property |
protected var isEofValue:Boolean = false
isInited | property |
public var isInited:Boolean = false
name | property |
name:String
Gets or sets of the Data Source name.
public function get name():String
public function set name(value:String):void
parameters | property |
parameters:StiDataParametersCollection
Gets or sets the parameter collection.
public function get parameters():StiDataParametersCollection
public function set parameters(value:StiDataParametersCollection):void
position | property |
position:int
Gets the current position.
public function get position():int
public function set position(value:int):void
positionValue | property |
protected var positionValue:int = 0
realCount | property |
realCount:int
[read-only] public function get realCount():int
ref | property |
ref:int
public function get ref():int
public function set ref(value:int):void
rows | property |
rows:StiRowsCollection
public function get rows():StiRowsCollection
public function set rows(value:StiRowsCollection):void
rowToLevel | property |
public var rowToLevel:StiHashtable = null
states | property |
states:StiStatesManager
[read-only] Gets the component states manager.
public function get states():StiStatesManager
StiDataSource | () | Constructor |
public function StiDataSource(name:String = DataSource, alias:String = DataSource)
name:String (default = DataSource )
| |
alias:String (default = DataSource )
|
checkColumnsIndexs | () | method |
public function checkColumnsIndexs():void
clearAllStates | () | method |
public function clearAllStates():void
Clear all earlier saved object states.
clone | () | method |
override public function clone(... args):Object
Parameters
... args |
Object |
connect | () | method |
public function connect(datas:StiDataCollection = null, loadData:Boolean = true):void
Connect Data Source to data. It is necessary to call the parent of the method(super.connect).
Parameters
datas:StiDataCollection (default = null )
| |
loadData:Boolean (default = true )
|
disconnect | () | method |
public function disconnect():void
equals | () | method |
override public function equals(object:Object):Boolean
Parameters
object:Object |
Boolean |
first | () | method |
public function first():void
Sets a position at the beginning.
getCategoryName | () | method |
public function getCategoryName():String
Returns the name to categories of the Data Source.
ReturnsString |
getChildDataSource | () | method |
public function getChildDataSource(relationName:String):StiDataSource
Returns the child Data Source by the relation name.
Parameters
relationName:String |
StiDataSource |
getChildRelations | () | method |
public function getChildRelations():StiDataRelationsCollection
Returns a collection of Child relations.
ReturnsStiDataRelationsCollection |
getColumnIndex | () | method |
public function getColumnIndex(columnName:String):int
Parameters
columnName:String |
int |
getConditions | () | method |
public function getConditions(dataBand:StiDataBand):Array
Parameters
dataBand:StiDataBand |
Array |
getData | () | method |
public function getData(columnName:String, index:int = -1):Object
Parameters
columnName:String | |
index:int (default = -1 )
|
Object |
getDataAdapter | () | method |
getDataTable | () | method |
public function getDataTable(table:DataTable = null):DataTable
Parameters
table:DataTable (default = null )
|
DataTable |
getLabel | () | method |
public function getLabel():String
ReturnsString |
getLevel | () | method |
public function getLevel():int
Returnsint |
getParentData | () | method |
public function getParentData(relationName:String):StiDataRow
Returns the parent row with data for the indicated relation.
Parameters
relationName:String |
StiDataRow |
getParentDataSource | () | method |
public function getParentDataSource(relationName:String):StiDataSource
Returns the parent Data Source by the relation name.
Parameters
relationName:String |
StiDataSource |
getParentRelations | () | method |
public function getParentRelations():StiDataRelationsCollection
Returns the colection of Parent relations.
ReturnsStiDataRelationsCollection |
invokeConnecting | () | method |
protected function invokeConnecting():void
invokeDisconnecting | () | method |
protected function invokeDisconnecting():void
last | () | method |
public function last():void
Sets a position on the last element.
memberwiseClone | () | method |
override public function memberwiseClone():Object
ReturnsObject |
next | () | method |
public function next():void
Sets a position on the next element.
prior | () | method |
public function prior():void
Sets a position on the previous element.
resetData | () | method |
public function resetData():void
resetDetailsRows | () | method |
public function resetDetailsRows():void
restoreState | () | method |
public function restoreState(stateName:String):void
Restores the earlier saved object state.
Parameters
stateName:String |
saveState | () | method |
public function saveState(stateName:String):void
Saves the current state of an object.
Parameters
stateName:String |
setData | () | method |
public function setData(dataBand:StiDataBand, relationName:String, filterMethod:Object, sortColumns:Array, reinit:Boolean, component:StiComponent):void
Parameters
dataBand:StiDataBand | |
relationName:String | |
filterMethod:Object | |
sortColumns:Array | |
reinit:Boolean | |
component:StiComponent |
setDetails | () | method |
public function setDetails(relationName:String):void
Set the details data for Data Source.
Parameters
relationName:String |
setFilter | () | method |
public function setFilter(filterMethod:Object):void
Apply filter to data.
Parameters
filterMethod:Object |
setSort | () | method |
public function setSort(conditions:Array, sortColumns:Array, component:StiComponent, databand:StiDataBand, groupHeaders:StiComponentsCollection):void
Sorts data. If data source is not able to sort data then this command is ignored.
Parameters
conditions:Array | |
sortColumns:Array | |
component:StiComponent | |
databand:StiDataBand | |
groupHeaders:StiComponentsCollection |
synchronizeColumns | () | method |
public function synchronizeColumns():void
toString | () | method |
public function toString():String
ReturnsString |