UNPKG

51timapi

Version:

TimApi is a traffic related plugin for WdpApi.

21 lines (20 loc) 770 B
import { Basic } from './common/basic'; import { ResultType } from './common/data-type'; import { StartTransactionType } from './common/interface/transaction'; declare class TransactionController extends Basic { private apiClassName; private per; private RequestEntity; constructor(obj: any); SetEnable(bEnableTransaction?: boolean): Promise<ResultType>; Start(opt: StartTransactionType): Promise<ResultType>; Commit(): Promise<ResultType>; Rollback(): Promise<ResultType>; Undo(): Promise<ResultType>; Redo(): Promise<ResultType>; CanUndo(): Promise<ResultType>; CanRedo(): Promise<ResultType>; Clear(): Promise<ResultType>; Get(): Promise<ResultType>; } export default TransactionController;