import { DataSource, EntityManager, SelectQueryBuilder } from "typeorm"; import { XEntityMetadataService } from "./x-entity-metadata.service"; import { XAssoc, XEntity } from "../serverApi/XEntityMetadata"; import { FindParamRowsForAssoc } from "./FindParamRowsForAssoc"; import { SaveRowParam } from "./SaveRowParam"; import { RemoveRowParam } from "./RemoveRowParam"; import { FindParamRows } from "./FindParamRows"; import { XPostLoginRequest, XPostLoginResponse } from "../serverApi/XPostLoginIfc"; import { XRowIdListToRemove } from "./XRowIdListToRemove"; import { XUnlockRowRequest } from "../serverApi/x-lib-api"; export declare class XLibService { private readonly dataSource; private readonly xEntityMetadataService; constructor(dataSource: DataSource, xEntityMetadataService: XEntityMetadataService); findRowsForAssoc(findParamRows: FindParamRowsForAssoc): Promise; findRows(findParamRows: FindParamRows): Promise; saveRow(row: SaveRowParam): Promise; saveRowInTransaction(manager: EntityManager, row: SaveRowParam, fileListToRemove?: Array): Promise; removeRow(row: RemoveRowParam): Promise; removeRowInTransaction(manager: EntityManager, row: RemoveRowParam, fileListToRemove?: Array): Promise; removeRowsInTransaction(manager: EntityManager, xEntity: XEntity, rowIdList: any[], fileListToRemove?: Array, assocsToRemove?: string[], modifXUser?: any): Promise; private writeRemovedAuditRows; private insertAuditRow; private toAuditDate; getAuditRowData(id: number): Promise; addAssocsOfEntity(selectQueryBuilder: SelectQueryBuilder, xEntity: XEntity, alias: string, assocsToRemove?: string[]): boolean; addRowOfEntityToRemove(xEntity: XEntity, row: any, rowIdListToRemove: XRowIdListToRemove, fileListToRemove?: Array, assocsToRemove?: string[]): void; filterForAssocToRemove(assoc: XAssoc, assocsToRemove?: string[]): boolean; deleteRows(manager: EntityManager, entity: string, rowIdList: any[]): Promise; removeFiles(fileListToRemove: Array): void; unlockRowForSave(manager: EntityManager, entity: string, object: any): Promise; unlockRow(unlockRowRequest: XUnlockRowRequest): Promise; private unlockRowInTransaction; findRowByIdForLocking(manager: EntityManager, entity: string, id: number): Promise; private findRowByIdWithAssoc; userSaveRow(row: SaveRowParam): Promise; postLogin(reqUser: any, xPostLoginRequest: XPostLoginRequest): Promise; getSequenceValue(sequenceName: string): Promise; setSequenceValue(sequenceName: string, value: number): Promise; getParamValueAsInt(paramCode: string): Promise; getParamValueAsDate(paramCode: string): Promise; getParamValue(paramCode: string): Promise; }