Class StiNameCreation

Hierarchy

  • StiNameCreation

Index

Accessors

Static namingRule

Methods

Static checkName

  • checkName(checkedObject: any, report: StiReport, name: string, messageBoxCaption: string, isValid?: boolean): boolean
  • Parameters

    • checkedObject: any
    • report: StiReport
    • name: string
    • messageBoxCaption: string
    • Default value isValid: boolean = true

    Returns boolean

Static createColumnName

  • createColumnName(dataSource: StiDataSource, baseName: string): string
  • Parameters

    Returns string

Static createConnectionName

  • createConnectionName(report: StiReport, baseName: string): string
  • Parameters

    • report: StiReport
    • baseName: string

    Returns string

Static createDataSourcesName

  • createDataSourcesName(report: StiReport, baseName: string): string
  • Parameters

    • report: StiReport
    • baseName: string

    Returns string

Static createName

  • createName(report: StiReport, baseName: string, addOne?: boolean, removeIncorrectSymbols?: boolean, forceAdvancedNamingRule?: boolean): string
  • Parameters

    • report: StiReport
    • baseName: string
    • Default value addOne: boolean = true
    • Default value removeIncorrectSymbols: boolean = true
    • Default value forceAdvancedNamingRule: boolean = false

    Returns string

Static createRelationName

  • createRelationName(report: StiReport, dataRelation: StiDataRelation, baseName: string): string
  • Parameters

    Returns string

Static createResourceName

  • createResourceName(report: StiReport, baseName: string): string
  • Parameters

    • report: StiReport
    • baseName: string

    Returns string

Static createSimpleName

  • createSimpleName(report: StiReport, baseName: string): string
  • Parameters

    • report: StiReport
    • baseName: string

    Returns string

Static exists

  • exists(checkedObject: any, report: StiReport, name: string): boolean
  • Parameters

    • checkedObject: any
    • report: StiReport
    • name: string

    Returns boolean

Static generateName

Static generateName1

  • generateName1(report: StiReport, localizedName: string, name: string): string
  • Parameters

    • report: StiReport
    • localizedName: string
    • name: string

    Returns string

Static generateName2

  • generateName2(report: StiReport, localizedName: string, type: Type): string
  • Parameters

    • report: StiReport
    • localizedName: string
    • type: Type

    Returns string

Static generateName4

Static generateName5

Static isColumnNameExists

  • isColumnNameExists(dataSource: StiDataSource, name: string): boolean
  • Parameters

    Returns boolean

Static isConnectionNameExists

  • isConnectionNameExists(report: StiReport, name: string): boolean
  • Parameters

    • report: StiReport
    • name: string

    Returns boolean

Static isRelationExists

  • isRelationExists(report: StiReport, dataRelation: StiDataRelation, name: string): boolean
  • Parameters

    Returns boolean

Static isResourceNameExists

  • isResourceNameExists(report: StiReport, name: string): boolean
  • Parameters

    • report: StiReport
    • name: string

    Returns boolean

Static isTableDataSourcesExists

  • isTableDataSourcesExists(report: StiReport, name: string): boolean
  • Parameters

    • report: StiReport
    • name: string

    Returns boolean

Static isValidName

  • isValidName(report: StiReport, name: string): boolean
  • Parameters

    • report: StiReport
    • name: string

    Returns boolean

Generated using TypeDoc