Packagestimulsoft.report.dictionary.databases
Classpublic class StiDatabase
InheritanceStiDatabase Inheritance StiService Inheritance StiObject Inheritance Object
Implements IStiInherited, IStiRef, IStiSerializable
Subclasses StiJsonDatabase, StiSqlDatabase, StiXmlDatabase



Public Properties
 PropertyDefined By
  alias : String
Gets or sets an alias of the database.
StiDatabase
  dataSet : DataSet = null
StiDatabase
  dataSources : StiDataSourcesCollection
Коллекция всех источников данных этого подключения.
StiDatabase
  dataSourcesCache : Array
StiDatabase
  dictionary : StiDictionary = null
StiDatabase
  inherited : Boolean
StiDatabase
  loadData : Boolean = true
StiDatabase
  name : String
Gets or sets a name of the database.
StiDatabase
 Inheritedproperties : StiRepositoryItems
StiService
  ref : int
StiDatabase
 InheritedserviceCategory : String
[read-only] Gets a service category.
StiService
 InheritedserviceInfo : String
[read-only] Gets a service description.
StiService
 InheritedserviceName : String
[read-only] Gets a service name.
StiService
 InheritedserviceType : Class
[read-only] Gets a service type.
StiService
Protected Properties
 PropertyDefined By
  dataAdapterType : Class
[read-only]
StiDatabase
Public Methods
 MethodDefined By
  
StiDatabase(name:String, alias:String = null)
StiDatabase
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
StiDatabase
 Inherited
clone(... args):Object
[override] Creates a new object that is a copy of the current instance.
StiService
  
createDataSet(dataSources:Array):DataSet
Создание нового DataSet с таблицами данных на основе указанного списка источников данных
StiDatabase
  
Создание списка источников данных текущего подключения для их последующей загрузки
StiDatabase
  
dispatchEvent(event:Event):Boolean
StiDatabase
 Inherited
equals(object:Object):Boolean
StiObject
  
StiDatabase
 Inherited
Get a short object type name (without library path).
StiObject
 Inherited
getType():Class
StiObject
 Inherited
getTypeName():String
StiObject
  
hasEventListener(type:String):Boolean
StiDatabase
 Inherited
isSimple(object:*):Boolean
[static]
StiObject
  
[override]
StiDatabase
 Inherited
StiService
  
regData(dictionary:StiDictionary, loadData:Boolean):void
StiDatabase
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
StiDatabase
  
retrieveColumns(nameInSource:String):Array
StiDatabase
  
toString():String
StiDatabase
Protected Methods
 MethodDefined By
  
Событие завершения получения таблиц и колонок базы данных
StiDatabase
Property Detail
aliasproperty
alias:String

Gets or sets an alias of the database.


Implementation
    public function get alias():String
    public function set alias(value:String):void
dataAdapterTypeproperty 
dataAdapterType:Class  [read-only]


Implementation
    protected function get dataAdapterType():Class
dataSetproperty 
public var dataSet:DataSet = null

dataSourcesproperty 
dataSources:StiDataSourcesCollection

Коллекция всех источников данных этого подключения. Используется для получения списка таблиц и колонок таблиц.


Implementation
    public function get dataSources():StiDataSourcesCollection
    public function set dataSources(value:StiDataSourcesCollection):void
dataSourcesCacheproperty 
public var dataSourcesCache:Array

dictionaryproperty 
public var dictionary:StiDictionary = null

inheritedproperty 
inherited:Boolean


Implementation
    public function get inherited():Boolean
    public function set inherited(value:Boolean):void
loadDataproperty 
public var loadData:Boolean = true

nameproperty 
name:String

Gets or sets a name of the database.


Implementation
    public function get name():String
    public function set name(value:String):void
refproperty 
ref:int


Implementation
    public function get ref():int
    public function set ref(value:int):void
Constructor Detail
StiDatabase()Constructor
public function StiDatabase(name:String, alias:String = null)



Parameters
name:String
 
alias:String (default = null)
Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

createDataSet()method 
public function createDataSet(dataSources:Array):DataSet

Создание нового DataSet с таблицами данных на основе указанного списка источников данных

Parameters

dataSources:Array

Returns
DataSet
createDataSourcesCache()method 
public function createDataSourcesCache():Array

Создание списка источников данных текущего подключения для их последующей загрузки

Returns
Array
dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
getDataAdapter()method 
public function getDataAdapter():StiDataAdapterService

Returns
StiDataAdapterService
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
memberwiseClone()method 
override public function memberwiseClone():Object

Returns
Object
onRetrieveColumnsResult()method 
protected function onRetrieveColumnsResult(event:StiDataAdapterEvent):void

Событие завершения получения таблиц и колонок базы данных

Parameters

event:StiDataAdapterEvent

regData()method 
public function regData(dictionary:StiDictionary, loadData:Boolean):void

Parameters

dictionary:StiDictionary
 
loadData:Boolean

removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

retrieveColumns()method 
public function retrieveColumns(nameInSource:String):Array

Parameters

nameInSource:String

Returns
Array
toString()method 
public function toString():String

Returns
String