| Package | stimulsoft.report.dictionary |
| Class | public class StiDictionary |
| Inheritance | StiDictionary StiObject Object |
| Implements | IStiRef, IStiSerializable |
| Property | Defined By | ||
|---|---|---|---|
| autoSynchronize : int [static] Gets or sets Synchronization mode of the Dictionary. | StiDictionary | ||
| businessObjects : StiBusinessObjectsCollection Gets or sets collection of the business objects. | StiDictionary | ||
| cacheDataSet : DataSet Gets or sets a DataSet for caching. | StiDictionary | ||
| cachedUserNamesAndPasswords : StiHashtable | StiDictionary | ||
| databases : StiDatabaseCollection Gets or sets collection of the databases. | StiDictionary | ||
| dataSources : StiDataSourcesCollection Gets or sets collection of the data sources. | StiDictionary | ||
| dataStore : StiDataCollection Gets or sets DataStore. | StiDictionary | ||
| isRequestFromUserVariablesPresent : Boolean [read-only] | StiDictionary | ||
| ref : int | StiDictionary | ||
| relations : StiDataRelationsCollection Gets or sets collection of relations. | StiDictionary | ||
| report : StiReport Gets or sets report in which given dictionary is placed. | StiDictionary | ||
| restrictions : StiRestrictions Gets or sets collections of dictionary restrictions. | StiDictionary | ||
| useInternalData : Boolean
If the property is true then all data sources (including SQL sources) connect only with DataSet data, which were passed using RegData method. | StiDictionary | ||
| variables : StiVariablesCollection Gets or sets collection of variables. | StiDictionary | ||
| Method | Defined By | ||
|---|---|---|---|
StiDictionary(report:StiReport = null) | StiDictionary | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | StiDictionary | ||
clear():void Clears data dictionary. | StiDictionary | ||
clearCache():void Clear cached names | StiDictionary | ||
clone(... args):Object [override] | StiDictionary | ||
connect(loadData:Boolean = true):void | StiDictionary | ||
connectVirtualDataSources():void Intenal use only. | StiDictionary | ||
createDatabases(loadData:Boolean):void | StiDictionary | ||
disconnect():void Disconnects the Data Source from data. | StiDictionary | ||
dispatchEvent(event:Event):Boolean | StiDictionary | ||
doAutoSynchronize(report:StiReport):void [static] | StiDictionary | ||
![]() | equals(object:Object):Boolean | StiObject | |
getDataSet(dataSetName:String):DataSet Returns a new DataSet from the dictionary. | StiDictionary | ||
![]() | getShortTypeName():String Get a short object type name (without library path). | StiObject | |
![]() | getType():Class | StiObject | |
![]() | getTypeName():String | StiObject | |
| StiDictionary | |||
hasEventListener(type:String):Boolean | StiDictionary | ||
![]() | isSimple(object:*):Boolean [static] | StiObject | |
memberwiseClone():Object [override] | StiDictionary | ||
regRelation(relation:StiDataRelation, virtualSources:Boolean = false):void Register new relation of the dictionary DataSet. | StiDictionary | ||
regRelations(virtualSources:Boolean = false):void Register new relations of the dictionary DataSet. | StiDictionary | ||
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | StiDictionary | ||
removeUnusedData():void Removes from dictionary unused data sources, relations, and rows and etc. | StiDictionary | ||
retrievalData(usedRelations:StiHashtable, usedDataSources:StiHashtable, usedColumns:StiHashtable):void Returns Hashtables with the used relations, data sources and columns. | StiDictionary | ||
sortItems(order:int = 0):void Sorts the DataSources collection and columns in each DataSource. | StiDictionary | ||
synchronize():void
Synchronizes the content of the DataStore and Dictionary. | StiDictionary | ||
| StiDictionary | |||
| autoSynchronize | property |
autoSynchronize:intGets or sets Synchronization mode of the Dictionary.
public static function get autoSynchronize():int public static function set autoSynchronize(value:int):void| businessObjects | property |
businessObjects:StiBusinessObjectsCollectionGets or sets collection of the business objects.
public function get businessObjects():StiBusinessObjectsCollection public function set businessObjects(value:StiBusinessObjectsCollection):void| cacheDataSet | property |
cacheDataSet:DataSetGets or sets a DataSet for caching.
public function get cacheDataSet():DataSet public function set cacheDataSet(value:DataSet):void| cachedUserNamesAndPasswords | property |
cachedUserNamesAndPasswords:StiHashtable public function get cachedUserNamesAndPasswords():StiHashtable public function set cachedUserNamesAndPasswords(value:StiHashtable):void| databases | property |
databases:StiDatabaseCollectionGets or sets collection of the databases.
public function get databases():StiDatabaseCollection public function set databases(value:StiDatabaseCollection):void| dataSources | property |
dataSources:StiDataSourcesCollectionGets or sets collection of the data sources.
public function get dataSources():StiDataSourcesCollection public function set dataSources(value:StiDataSourcesCollection):void| dataStore | property |
dataStore:StiDataCollectionGets or sets DataStore.
public function get dataStore():StiDataCollection public function set dataStore(value:StiDataCollection):void| isRequestFromUserVariablesPresent | property |
isRequestFromUserVariablesPresent:Boolean [read-only] public function get isRequestFromUserVariablesPresent():Boolean| ref | property |
ref:int public function get ref():int public function set ref(value:int):void| relations | property |
relations:StiDataRelationsCollectionGets or sets collection of relations.
public function get relations():StiDataRelationsCollection public function set relations(value:StiDataRelationsCollection):void| report | property |
report:StiReportGets or sets report in which given dictionary is placed.
public function get report():StiReport public function set report(value:StiReport):void| restrictions | property |
restrictions:StiRestrictionsGets or sets collections of dictionary restrictions.
public function get restrictions():StiRestrictions public function set restrictions(value:StiRestrictions):void| useInternalData | property |
useInternalData:BooleanIf the property is true then all data sources (including SQL sources) connect only with DataSet data, which were passed using RegData method. DataNames of data sources are to be the same.
public function get useInternalData():Boolean public function set useInternalData(value:Boolean):void| variables | property |
variables:StiVariablesCollectionGets or sets collection of variables.
public function get variables():StiVariablesCollection public function set variables(value:StiVariablesCollection):void| StiDictionary | () | Constructor |
| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) | |
priority:int (default = 0) | |
useWeakReference:Boolean (default = false) |
| clear | () | method |
public function clear():voidClears data dictionary.
| clearCache | () | method |
public function clearCache():voidClear cached names
| clone | () | method |
override public function clone(... args):ObjectParameters
... args |
Object |
| connect | () | method |
public function connect(loadData:Boolean = true):voidParameters
loadData:Boolean (default = true) |
| connectVirtualDataSources | () | method |
public function connectVirtualDataSources():voidIntenal use only.
| createDatabases | () | method |
public function createDatabases(loadData:Boolean):voidParameters
loadData:Boolean |
| disconnect | () | method |
public function disconnect():voidDisconnects the Data Source from data.
| dispatchEvent | () | method |
public function dispatchEvent(event:Event):BooleanParameters
event:Event |
Boolean |
| doAutoSynchronize | () | method |
| getDataSet | () | method |
public function getDataSet(dataSetName:String):DataSetReturns a new DataSet from the dictionary.
Parameters
dataSetName:String |
DataSet |
| getUnusedRelationsFromDataStore | () | method |
public function getUnusedRelationsFromDataStore(categories:StiHashtable = null):StiDataRelationsCollectionParameters
categories:StiHashtable (default = null) |
StiDataRelationsCollection |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanParameters
type:String |
Boolean |
| memberwiseClone | () | method |
override public function memberwiseClone():ObjectReturnsObject |
| regRelation | () | method |
public function regRelation(relation:StiDataRelation, virtualSources:Boolean = false):voidRegister new relation of the dictionary DataSet.
Parameters
relation:StiDataRelation | |
virtualSources:Boolean (default = false) |
| regRelations | () | method |
public function regRelations(virtualSources:Boolean = false):voidRegister new relations of the dictionary DataSet.
Parameters
virtualSources:Boolean (default = false) |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) |
| removeUnusedData | () | method |
public function removeUnusedData():voidRemoves from dictionary unused data sources, relations, and rows and etc.
| retrievalData | () | method |
public function retrievalData(usedRelations:StiHashtable, usedDataSources:StiHashtable, usedColumns:StiHashtable):voidReturns Hashtables with the used relations, data sources and columns.
Parameters
usedRelations:StiHashtable | |
usedDataSources:StiHashtable | |
usedColumns:StiHashtable |
| sortItems | () | method |
public function sortItems(order:int = 0):voidSorts the DataSources collection and columns in each DataSource.
Parameters
order:int (default = 0) |
| synchronize | () | method |
public function synchronize():voidSynchronizes the content of the DataStore and Dictionary. If DataSources or Columns or Relations from the DataStore does not exists in Dictionary, then new elements will be added to the Dictionary.
| synchronizeColumns | () | method |
public function synchronizeColumns(data:StiData, dataSource:StiDataSource):voidParameters
data:StiData | |
dataSource:StiDataSource |