Hierarchy

Implements

Index

Constructors

constructor

  • new StiDataSource(name: string, alias: string, key?: string): StiDataSource
  • Parameters

    • name: string
    • alias: string
    • Default value key: string = ""

    Returns StiDataSource

Properties

Protected _hash

_hash: StiMeta[]

alias

alias: string

calcColumns

calcColumns: Hashtable = new Hashtable()

columnsIndexs

columnsIndexs: Hashtable

connectOnStart

connectOnStart: boolean = true

connectionOrder

connectionOrder: number = Stimulsoft.Report.Dictionary.StiConnectionOrder.Standard

detailRows

detailRows: DataRow[] = null

dictionary

dictionary: StiDictionary

inherited

inherited: boolean = false

initForSubreport

initForSubreport: boolean = false

Protected isBofValue

isBofValue: boolean = false

Protected isEofValue

isEofValue: boolean = false

isInited

isInited: boolean = false

key

key: string = null

parameters

Protected positionValue

positionValue: number = 0

rowToLevel

rowToLevel: Hashtable = null

rows

xmlRefAttrValue

xmlRefAttrValue: string = null

Accessors

columns

count

  • get count(): number
  • Returns number

current

  • get current(): any
  • Returns any

dataTable

isBof

  • get isBof(): boolean
  • set isBof(value: boolean): void
  • Gets value indicates that this position specifies to the beginning of data.

    Returns boolean

  • Gets value indicates that this position specifies to the beginning of data.

    Parameters

    • value: boolean

    Returns void

isCloud

  • get isCloud(): boolean
  • Returns boolean

isConnected

  • get isConnected(): boolean
  • Returns boolean

isEmpty

  • get isEmpty(): boolean
  • Gets value indicates that no data.

    Returns boolean

isEof

  • get isEof(): boolean
  • set isEof(value: boolean): void
  • Gets value indicates that this position specifies to the data end.

    Returns boolean

  • Gets value indicates that this position specifies to the data end.

    Parameters

    • value: boolean

    Returns void

name

  • get name(): string
  • set name(value: string): void
  • Returns string

  • Parameters

    • value: string

    Returns void

position

  • get position(): number
  • set position(value: number): void
  • Returns number

  • Parameters

    • value: number

    Returns void

realCount

  • get realCount(): number
  • Returns number

Protected states

Methods

GetData

  • GetData(columnName: string, index?: number): any
  • Parameters

    • columnName: string
    • Default value index: number = this.position

    Returns any

as

  • Type parameters

    • T

    Parameters

    Returns T

checkColumnsIndexs

  • checkColumnsIndexs(): void
  • Returns void

childRelationList

clearAllStates

  • clearAllStates(): void

clone

connect

  • connect(datas: StiDataCollection, loadData: boolean): void
  • Parameters

    • datas: StiDataCollection
    • loadData: boolean

    Returns void

connectAsync

  • connectAsync(datas: StiDataCollection, loadData: boolean): StiPromise<void>
  • Parameters

    • datas: StiDataCollection
    • loadData: boolean

    Returns StiPromise<void>

disconnect

  • disconnect(): void
  • Returns void

fetchChildRelations

fetchColumnValues

  • fetchColumnValues(names: List<string>): List<any[]>
  • Returns an array of values for the specified column in the specified position.

    Parameters

    • names: List<string>

      An array of names of the data column.

    Returns List<any[]>

    The enumeration of the data column values.

fetchColumnValuesAsync

  • fetchColumnValuesAsync(names: List<string>): Promise<List<any[]>>
  • Returns an array of values for the specified column in the specified position.

    Parameters

    • names: List<string>

      An array of names of the data column.

    Returns Promise<List<any[]>>

    The enumeration of the data column values.

fetchColumns

fetchParentRelations

fillColumns

  • fillColumns(): void
  • Returns void

first

  • first(): void

firstAsync

  • firstAsync(): Promise<void>

getByColumnName

  • getByColumnName(columnName: string): any
  • Parameters

    • columnName: string

    Returns any

getByName

  • getByName(columnName: string): any
  • Parameters

    • columnName: string

    Returns any

getCategoryName

  • getCategoryName(): string
  • Returns string

getChildDataSource

  • Returns the child Data Source by the relation name.

    Parameters

    • relationName: string

    Returns StiDataSource

getChildRelations

getColumnIndex

  • getColumnIndex(columnName: string): number
  • Parameters

    • columnName: string

    Returns number

getConditions

getConnection

getData

  • getData(columnName: string, index?: number): any
  • Parameters

    • columnName: string
    • Default value index: number = this.position

    Returns any

getDataAdapter

Protected getDataAdapterType

  • getDataAdapterType(): Type

getDataAsync

  • getDataAsync(columnName: string, index?: number): Promise<any>
  • Parameters

    • columnName: string
    • Default value index: number = this.position

    Returns Promise<any>

getDataRow

  • getDataRow(index: number): DataRow
  • Parameters

    • index: number

    Returns DataRow

getDataTable

getDataTable2

  • getDataTable2(allowConnectToData: boolean): Promise<DataTable>

getDictionary

getEnumerator

getKey

  • getKey(): string

getLevel

  • getLevel(): number
  • Returns number

getName

  • getName(): string

getNameInSource

  • getNameInSource(): string

getParentData

  • Returns the parent row with data for the indicated relation.

    Parameters

    • relation: string

    Returns StiDataRow

getParentDataSource

  • getParentDataSource(relationName: string, allowRelationName?: boolean): StiDataSource
  • Returns the parent Data Source by the relation name.

    Parameters

    • relationName: string
    • Default value allowRelationName: boolean = false

    Returns StiDataSource

getParentRelations

implements

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

Protected invokeConnecting

  • invokeConnecting(): void
  • Returns void

Protected invokeDisconnecting

  • invokeDisconnecting(): void
  • Returns void

is

  • Type parameters

    • T

    Parameters

    Returns this

is2

  • is2<T>(type: object | Interface<T>): boolean
  • Type parameters

    • T

    Parameters

    Returns boolean

last

  • last(): void

loadFromJsonObject

  • loadFromJsonObject(jObject: StiJson): void

loadFromXml

  • loadFromXml(xmlNode: XmlNode): void
  • Parameters

    Returns void

memberwiseClone

meta

moveNext

  • moveNext(): boolean
  • Returns boolean

next

  • next(): void

nextAsync

  • nextAsync(): Promise<void>

parentRelationList

parseSqlQuery

  • parseSqlQuery(baseSqlCommand: string, dataSource: StiSqlSource): string
  • Parameters

    Returns string

prior

  • prior(): void

reset

  • reset(): void
  • Returns void

resetData

  • resetData(): void
  • Returns void

resetDetailsRows

  • resetDetailsRows(): void
  • Returns void

restoreState

  • restoreState(stateName: string): void

saveState

  • saveState(stateName: string): void

saveToJsonObject

setData

  • setData(dataBand: StiDataBand, relationName: string, filterMethod: any, sortColumns: string[], reinit: boolean, component: StiComponent, allowReconnectOnEachRow?: boolean): void
  • Parameters

    • dataBand: StiDataBand
    • relationName: string
    • filterMethod: any
    • sortColumns: string[]
    • reinit: boolean
    • component: StiComponent
    • Default value allowReconnectOnEachRow: boolean = true

    Returns void

setDataAsync

  • setDataAsync(dataBand: StiDataBand, relationName: string, filterMethod: any, sortColumns: string[], reinit: boolean, component: StiComponent, allowReconnectOnEachRow?: boolean): Promise<void>
  • Parameters

    • dataBand: StiDataBand
    • relationName: string
    • filterMethod: any
    • sortColumns: string[]
    • reinit: boolean
    • component: StiComponent
    • Default value allowReconnectOnEachRow: boolean = true

    Returns Promise<void>

setDetails

  • setDetails(relationName: string): void
  • Parameters

    • relationName: string

    Returns void

setDetailsAsync

  • setDetailsAsync(relationName: string): Promise<void>
  • Parameters

    • relationName: string

    Returns Promise<void>

setFilter

  • setFilter(filterMethod: any): void
  • Parameters

    • filterMethod: any

    Returns void

setKey

  • setKey(key: string): void

setSort

synchronizeColumns

  • synchronizeColumns(): void
  • Returns void

toString

  • toString(): string
  • Returns string

Generated using TypeDoc