接口 IModuleRepository
public interface IModuleRepository
模组持久化
- 作者:
- KevinHuangwl
-
方法概要
修饰符和类型方法说明voiddeleteRuntimeByName(String moduleName) 移除模组运行状态信息voiddeleteSettingsByName(String moduleName) 移除模组配置信息findAllDealRecords(String moduleName) 查询模组全部交易记录查询所有模组配置信息findRuntimeByName(String moduleName) 获取模组运行状态信息findSettingsByName(String moduleName) 查询模组配置信息voidremoveAllDealRecords(String moduleName) 删除模组全部交易记录voidsaveDealRecord(ModuleDealRecord dealRecord) 保存模组交易记录voidsaveRuntime(ModuleRuntimeDescription moduleRtDescription) 保存模组运行状态信息voidsaveSettings(ModuleDescription moduleDescription) 保存模组配置信息
-
方法详细资料
-
saveSettings
保存模组配置信息- 参数:
moduleDescription-
-
findSettingsByName
查询模组配置信息- 参数:
moduleName-- 返回:
-
findAllSettings
List<ModuleDescription> findAllSettings()查询所有模组配置信息- 返回:
-
deleteSettingsByName
移除模组配置信息- 参数:
moduleName-
-
saveRuntime
保存模组运行状态信息- 参数:
moduleRtDescription-
-
findRuntimeByName
获取模组运行状态信息- 参数:
moduleName-- 返回:
-
deleteRuntimeByName
移除模组运行状态信息- 参数:
moduleName-
-
saveDealRecord
保存模组交易记录- 参数:
record-
-
findAllDealRecords
查询模组全部交易记录- 参数:
moduleName-- 返回:
-
removeAllDealRecords
删除模组全部交易记录- 参数:
moduleName-
-