@eclipse-scout/core
Version:
Eclipse Scout runtime
19 lines • 1.03 kB
TypeScript
import { Code, CodeType, LookupCallModel, LookupRow, Predicate, StaticLookupCall } from '../index';
export declare class CodeLookupCall<TCodeId> extends StaticLookupCall<TCodeId> {
model: CodeLookupCallModel<TCodeId>;
codeType: string | (new () => CodeType<TCodeId>);
constructor();
protected _lookupRowByKey(key: TCodeId): LookupRow<TCodeId>;
protected _lookupRowsByAll(): LookupRow<TCodeId>[];
protected _lookupRowsByText(text: string): LookupRow<TCodeId>[];
protected _lookupRowsByRec(rec: TCodeId): LookupRow<TCodeId>[];
protected _collectLookupRows(predicate?: Predicate<LookupRow<TCodeId>>): LookupRow<TCodeId>[];
protected _createLookupRow(code: Code<TCodeId>): LookupRow<TCodeId>;
}
export interface CodeLookupCallModel<TCodeId> extends LookupCallModel<TCodeId> {
/**
* The property accepts a {@link CodeType} class or a {@link CodeType.id} (see {@link CodeTypeCache.get}).
*/
codeType: string | (new () => CodeType<TCodeId>);
}
//# sourceMappingURL=CodeLookupCall.d.ts.map