Hierarchy

  • StiDictionary

Implements

Index

Constructors

constructor

  • Parameters

    • Default value report: StiReport = null

    Returns StiDictionary

Properties

Protected _hash

_hash: StiMeta[]

businessObjects

cacheDataSet

cacheDataSet: DataSet

cachedUserNamesAndPasswords

cachedUserNamesAndPasswords: Hashtable = null

dataSources

dataStore

dataStore: StiDataCollection = new StiDataCollection()

databases

reconnectListForRequestFromUserVariables

reconnectListForRequestFromUserVariables: string[]

relations

report

report: StiReport

resources

resources: StiResourcesCollection = new StiResourcesCollection()

restrictions

restrictions: StiRestrictions = new StiRestrictions()

useInternalData

useInternalData: boolean = false

userFunctions

variables

variables: StiVariablesCollection = new StiVariablesCollection()

Accessors

isRequestFromUserVariablesPresent

  • get isRequestFromUserVariablesPresent(): boolean
  • Returns boolean

Static autoSynchronize

Methods

clear

  • clear(): void
  • Returns void

clone

closeConnections

connect

  • connect(loadData?: boolean, dataSources?: StiDataSource[]): void
  • Parameters

    • Default value loadData: boolean = true
    • Default value dataSources: StiDataSource[] = null

    Returns void

connectAsync

  • Parameters

    • Default value loadData: boolean = true
    • Default value dataSources: StiDataSource[] = null

    Returns StiPromise<void>

connectCrossTabDataSources

  • connectCrossTabDataSources(): void
  • Returns void

connectDataTransformationsAsync

connectToDatabases

  • connectToDatabases(loadData?: boolean, throwException?: boolean): void
  • Parameters

    • Default value loadData: boolean = true
    • Default value throwException: boolean = true

    Returns void

connectToDatabasesAsync

  • connectToDatabasesAsync(loadData?: boolean): StiPromise<void>
  • Parameters

    • Default value loadData: boolean = true

    Returns StiPromise<void>

connectV2

  • connectV2(baseReport: StiReport): void
  • Connects all Data Sources to data V2

    Parameters

    • baseReport: StiReport

    Returns void

connectV2Async

  • connectV2Async(baseReport: StiReport): Promise<void>
  • Connects all Data Sources to data V2

    Parameters

    • baseReport: StiReport

    Returns Promise<void>

connectVirtualDataSourcesAsync

  • connectVirtualDataSourcesAsync(): StiPromise<void>

createDatabases

  • createDatabases(loadData: boolean): void
  • Parameters

    • loadData: boolean

    Returns void

createDatabasesAsync

  • createDatabasesAsync(loadData: boolean): StiPromise<void>
  • Parameters

    • loadData: boolean

    Returns StiPromise<void>

disconnect

  • disconnect(): void
  • Returns void

existsUserFunction

  • existsUserFunction(functionName: string): boolean

fetchDataRelations

fetchDataSources

fetchVariables

getApp

getColumnByName

  • Returns data column from the data dictionary by its name.

    Parameters

    • name: string

      A name of the data column.

    Returns IStiAppDataColumn

    The data column from the data dictionary. Returns null, if data column with specified name is not exists.

getDataSourceByName

  • Returns datasource from the data dictionary by its name.

    Parameters

    • name: string

      A name of the datasource.

    Returns IStiAppDataSource

    The datasource from the data dictionary.Returns null, if datasource with specified name is not exists.

getSystemVariableValue

  • getSystemVariableValue(name: string): any
  • Returns value of a specified system variable.

    Parameters

    • name: string

      A name of the system variable.

    Returns any

    The value of the specified system variable.

getUnusedRelationsFromDataStore

getVariableByName

  • Returns variable from the data dictionary by its name.

    Parameters

    • name: string

      A name of the variable.

    Returns IStiAppVariable

    The variable from the data dictionary. Returns null, if variable with specified name not exists.

getVariableValueByName

  • getVariableValueByName(name: string): any
  • Returns a value from the variable by its name.

    Parameters

    • name: string

      A name of the variable.

    Returns any

    A value which contains in the variable.

getVariableValueInternal

  • getVariableValueInternal(name: string): any
  • Parameters

    • name: string

    Returns any

implements

  • implements(): any[]
  • Returns any[]

invokeUserFunction

  • invokeUserFunction(functionName: string, args: List<any>): any

isReadOnlyVariable

  • isReadOnlyVariable(name: string): boolean
  • Returns true if a specified variable is a read-only variable.

    Parameters

    • name: string

      The name of the variable.

    Returns boolean

    True, if the specified variable is a read-only variable.

isSystemVariable

  • isSystemVariable(name: string): boolean
  • Returns true if a specified name is a name of a system variable.

    Parameters

    • name: string

      The name of the system variable.

    Returns boolean

    True, if the specified name is the name of system variable.

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

merge

mergeFile

  • mergeFile(filePath: string): void
  • Parameters

    • filePath: string

    Returns void

meta

openConnections

openConnectionsAsync

regRelation

  • Parameters

    Returns void

regRelations

  • regRelations(virtualSources?: boolean): void
  • Parameters

    • Default value virtualSources: boolean = false

    Returns void

removeUnusedData

  • removeUnusedData(): void
  • Returns void

removeUnusedDataSourcesV2

  • removeUnusedDataSourcesV2(): void
  • Returns void

renameDatabase

  • renameDatabase(database: StiDatabase, newName: string): void
  • Parameters

    • database: StiDatabase
    • newName: string

    Returns void

retrievalData

  • retrievalData(REFusedRelations: any, REFusedDataSources: any, REFusedColumns: any): void
  • Parameters

    • REFusedRelations: any
    • REFusedDataSources: any
    • REFusedColumns: any

    Returns void

saveToJsonObject

synchronize

  • synchronize(): void
  • Returns void

synchronizeAsync

  • synchronizeAsync(): Promise<void>
  • Returns Promise<void>

synchronizeBusinessObjects

  • synchronizeBusinessObjects(): void
  • Returns void

synchronizeColumns

synchronizeColumns2

synchronizeColumns3

synchronizeColumnsAsync

Static doAutoSynchronize

  • doAutoSynchronize(report: StiReport): void
  • Parameters

    • report: StiReport

    Returns void

Generated using TypeDoc