@eclipse-scout/core
Version:
Eclipse Scout runtime
23 lines • 1.2 kB
TypeScript
/// <reference types="jquery" />
import { LookupCall, LookupResult, LookupRow } from '../index';
export declare class PrepopulatedLookupCall<TKey> extends LookupCall<TKey> {
lookupRows: LookupRow<TKey>[];
protected _deferred: JQuery.Deferred<LookupResult<TKey>>;
constructor();
abort(): void;
setLookupRows(lookupRows: LookupRow<TKey>[] | LookupRow<TKey>): void;
protected _filterActiveLookupRow(lookupRow: LookupRow<TKey>): boolean;
protected _getAll(): JQuery.Promise<LookupResult<TKey>>;
protected _queryByAll(): void;
protected _lookupRowsByAll(): LookupRow<TKey>[];
protected _getByText(text: string): JQuery.Promise<LookupResult<TKey>>;
protected _queryByText(text: string): void;
protected _lookupRowsByText(text: string): LookupRow<TKey>[];
protected _getByKey(key: TKey): JQuery.Promise<LookupResult<TKey>>;
protected _queryByKey(key: TKey): void;
protected _lookupRowByKey(key: TKey): LookupRow<TKey>;
protected _getByRec(rec: TKey): JQuery.Promise<LookupResult<TKey>>;
protected _queryByRec(rec: TKey): void;
protected _lookupRowsByRec(rec: TKey): LookupRow<TKey>[];
}
//# sourceMappingURL=PrepopulatedLookupCall.d.ts.map