UNPKG

@ctodev/cclibrary-typings

Version:

Library typings for use with CLARC INFINITY

31 lines (30 loc) 1.57 kB
import { TccET_BIZOBJ } from '../../../odata/models/bizobj.model'; import { TccODataServiceFactory } from '../../../odata/factories/tcc-odata-service/tcc-odata-service.factory'; import { Observable } from 'rxjs'; import { TccSnackBarService } from '../../../core/services/tcc-snackbar/tcc-snackbar.service'; import { TccSingleton } from '../../../core/models/tcc-singleton.model'; import { TccManageSingletonsService } from '../../../core/services/tcc-manage-singletons/tcc-manage-singletons.service'; export declare class TccGetUserExitConfigService implements TccSingleton { private factory; private snackbar; private boservice; private UEMap; constructor(factory: TccODataServiceFactory, snackbar: TccSnackBarService, manageSingletons: TccManageSingletonsService); init(): void; reset(): void; resetMaps(): void; /** * * @param businessObjectId id of the businessObject * @param userexitId id of the UserExit * @param disableErrorAbort if true: no snackbar error will be shown and the observable flow will not be canceled. The error will still be forwarded * @returns the userexit or null */ getUserExit(businessObjectId: string, userexitId: string, disableErrorAbort?: boolean): Observable<TccET_BIZOBJ.Userexit>; /** * removes a UserExit from this Service and saves it as not existing. Does NOT delete the UserExit from the Server. * @param userExitId userExit id */ removeUserExit(userExitId: string): void; getLoadedUserexit(userexitId: string): TccET_BIZOBJ.Userexit; }