From d4d7cbbd6601f210f0608ef21f8b44b342dddc0a Mon Sep 17 00:00:00 2001 From: zhanghaibo Date: Thu, 23 Sep 2021 10:51:16 +0800 Subject: [PATCH] fixed cab380b from https://gitee.com/zhanghaibo0/interface_sdk-js/pulls/83 not implement Signed-off-by: zhanghaibo --- api/@internal/ets/lifecycle.d.ts | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/api/@internal/ets/lifecycle.d.ts b/api/@internal/ets/lifecycle.d.ts index fc4e021a22..a2d13795a5 100644 --- a/api/@internal/ets/lifecycle.d.ts +++ b/api/@internal/ets/lifecycle.d.ts @@ -284,17 +284,6 @@ export declare interface LifecycleData { */ delete?(uri: string, predicates: dataAbility.DataAbilityPredicates): number; - /** - * Performs batch operations on the database. This method should be implemented by a Data ability. - * - * @devices phone, tablet - * @since 7 - * @sysCap AAFwk - * @param ops Indicates the data operation list, which can contain multiple operations on the database. - * @return Returns the result of each operation, in array. - */ - executeBatch?(ops: Array): Array; - /** * Converts the given {@code uri} that refer to the Data ability into a normalized URI. A normalized URI can be * used across devices, persisted, backed up, and restored. It can refer to the same item in the Data ability @@ -377,19 +366,6 @@ export declare interface LifecycleData { */ getFileTypes?(uri: string, mimeTypeFilter: string): Array; - /** - * Defines a method in this Data ability (implementation depending on child classes). - * - * @devices phone, tablet - * @since 7 - * @sysCap AAFwk - * @param method Indicates the method name. - * @param arg Indicates the parameter transferred by the method. - * @param extras Indicates the parameter transferred by the method. - * @return Returns the result of the method. - */ - call?(method: string, arg: string, extras: PacMap): PacMap; - /** * Called to carry {@code AbilityInfo} to this ability after the ability is initialized. * -- Gitee