Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BusinessLogic

A BusinessLogic object represents an ABL procedure/function/method/static method.

Hierarchy

  • BusinessLogic

Index

Constructors

constructor

  • Creates a BusinessLogic object (procedure, function, method, static method).

    Parameters

    • blType: ABLType

      The type of the BL object

    • blObject: string

      The name of the file that contains the BL object

    • Optional blMethod: string

      The name of the BL object

    • Optional blReturns: DataType

      The return datatype of the BL object

    • Optional blSingleton: boolean

      Specifies whether the BL object is singleton or not

    • Optional blParams: IParameter[]

      The array of parameters of the BL object

    Returns BusinessLogic

Methods

build

  • Builds an ABL call for the BL object.

    Returns IABLCall

inout

  • Builds an INPUT-OUTPUT procedure parameter and adds it to the parameter array of the BL object.

    Parameters

    • dtype: DataType
    • Optional value: any
    • Optional schema: Schema
    • Optional json: boolean
    • Optional sql: boolean

    Returns BusinessLogic

input

  • Builds an INPUT procedure parameter and adds it to the parameter array of the BL object.

    Parameters

    Returns BusinessLogic

output

  • Builds an OUTPUT procedure parameter and adds it to the parameter array of the BL object.

    Parameters

    • dtype: DataType
    • Optional json: boolean
    • Optional sql: boolean

    Returns BusinessLogic

Static check

  • Checks if the BL object's call is correctly defined.

    Parameters

    Returns void

Static instance_method

  • Creates a BL object as an instance method in Progress

    Parameters

    • classFile: string
    • methodName: string
    • Optional returnType: DataType
    • Default value singleton: boolean = false
    • Rest ...parameters: IParameter[]

    Returns BusinessLogic

Static internal_function

  • Creates a BL object as an internal function in Progress

    Parameters

    • procedureFile: string
    • functionName: string
    • returnType: DataType
    • Default value singleton: boolean = false
    • Rest ...parameters: IParameter[]

    Returns BusinessLogic

Static internal_procedure

  • internal_procedure(procedureFile: string, procedureName: string, singleton?: boolean, ...parameters: IParameter[]): BusinessLogic
  • Creates a BL object as an internal procedure in Progress

    Parameters

    • procedureFile: string
    • procedureName: string
    • Default value singleton: boolean = false
    • Rest ...parameters: IParameter[]

    Returns BusinessLogic

Static procedure

  • Creates a BL object as a procedure in Progress.

    Parameters

    • procedureFile: string

      The file name that'll contain the procedure.

    • Rest ...parameters: IParameter[]

    Returns BusinessLogic

Static static_method

  • Creates a BL object as a static method in Progress

    Parameters

    • classFile: string
    • methodName: string
    • Optional returnType: DataType
    • Default value singleton: boolean = false
    • Rest ...parameters: IParameter[]

    Returns BusinessLogic