xsy-breeze-ui-rpa > BreezeDataModelExtensionPoint
BreezeDataModelExtensionPoint class
Breeze DataModel 扩展点
Signature:
export declare class BreezeDataModelExtensionPoint extends ExtensionPointSDKBase<BreezeDataModelExtensionPointInterface>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(id) | Constructs a new instance of the BreezeDataModelExtensionPoint class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| addFieldValidateRules | (value: { path: string; rule: { uuid: string; expr: string; message: string; }; }[]) => Promise<any> | 新增字段的数据校验规则 | |
| getValue | (value: any) => Promise<any> | 获取完整数据模型数据 | |
| setValue | (value: { path: string; value: any; ignoreDataModelValidation?: boolean | undefined; }) => Promise<any> | 给指定数据模型字段路径设值 | |
| setValues | (value: { data: { path: string; value: any; }[]; ignoreDataModelValidation?: boolean | undefined; }) => Promise<any> | 给指定数据模型字段路径数组批量设值 |
