UNPKG

prg-class

Version:

Clases genéricas utilizadas por microservicios Programamos SPA.

31 lines (30 loc) 1.38 kB
import { IParamRet, UPRM, IParamSP, IConnParams } from '../igeneric'; import { BaseClass } from './base-class'; export declare class ExecSP extends BaseClass { protected moConData: IConnParams; protected msTitle: string; protected msSPName: string; protected msCustomErrMsg: string; protected mbCustomRet: boolean; protected moErrUser: any; protected moErrInternal: any; protected moMetadata: any; protected mbHasCompany: boolean; protected mbShowUserError: boolean; constructor(); fnSpExecute(aoParams: any, aoUPRM: UPRM, abAudit?: boolean): Promise<IParamRet>; protected getSPParams(aoParam: any): IParamSP[]; protected getSpName(asDbName: string, asSpName: string): string; customReturn(aoData: any): Promise<IParamRet>; /** * Ejecuta Procedimiento almacenado */ protected spExecute(aoParam: any, abAudit?: boolean): Promise<IParamRet>; protected spExecuteBase(aoParam: any, asSpName: string, abAudit?: boolean): Promise<IParamRet>; protected spJustExecute(aoParam: any[], asSpName: string, abAudit?: boolean): Promise<IParamRet>; protected validateParams(aoParams: any): string; protected getError(aoRet: any): any; protected getResult(aoRet: any): any; protected getErrSP(asDefaultErr: string, aoRet: IParamRet): string; protected getRetSP(aoRet: IParamRet): any; }