public interface AppManager
Title: 应用模块中间件
Description: 3.0 新增总线注入方法
Copyright: Copyright (c) 2003-2014
Company: www.justdos.net
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addModule2Person(String personId,
String moduleId)
为用户添加服务
|
App |
getAppByID(String appId)
根据应用的ID(标识)取得该应用的实例。
|
List<App> |
getAppList()
取得所有应用菜单,只取得菜单的基本信息,忽略其他等信息
|
Module |
getModuleByID(String moduleId)
根据模块的ID(标识)取得该模块的实例。
|
Module |
getModuleByServiceID(String serviceId)
根据模块的ID(标识)取得该模块的实例。
|
List<Module> |
getModuleList() |
List<Person> |
getPersonByAppId(String moduleId)
根据模块的ID(标识)取得该模块的授权人员
|
List<Person> |
getPersonByModuleId(String moduleId)
根据模块的ID(标识)取得该模块的实例。
|
List<Role> |
getRoleByAppId(String moduleId)
根据模块的ID(标识)取得该应用授权角色
|
List<Role> |
getRoleByModuleId(String moduleId)
根据模块的ID(标识)取得该模块授权角色
|
List<App> |
getTopApps()
取得所有应用菜单,只取得菜单的基本信息,忽略其他等信息
|
void |
init(ConfigCode subSystemId)
初始化子系统
|
void |
removeModule4Person(String personId,
String moduleId)
为用户移除服务
|
void |
resumeModule(String personId,
String moduleId)
恢复服务
|
void |
suspendModule(String personId,
String moduleId)
挂起服务
|
void init(ConfigCode subSystemId)
subSystemId - App getAppByID(String appId) throws AppNotFoundException
appId - AppNotFoundExceptionModule getModuleByServiceID(String serviceId) throws ModuleNotFoundException
serviceId - ModuleNotFoundExceptionModule getModuleByID(String moduleId) throws ModuleNotFoundException
moduleId - ModuleNotFoundExceptionList<Role> getRoleByModuleId(String moduleId) throws ModuleNotFoundException
moduleId - ModuleNotFoundExceptionList<Person> getPersonByModuleId(String moduleId) throws ModuleNotFoundException
moduleId - ModuleNotFoundExceptionList<Role> getRoleByAppId(String moduleId) throws ModuleNotFoundException
moduleId - ModuleNotFoundExceptionList<Person> getPersonByAppId(String moduleId) throws ModuleNotFoundException
moduleId - ModuleNotFoundExceptionvoid addModule2Person(String personId, String moduleId) throws ModuleNotFoundException, PersonNotFoundException
personId - moduleId - ModuleNotFoundExceptionPersonNotFoundExceptionvoid removeModule4Person(String personId, String moduleId) throws ModuleNotFoundException, PersonNotFoundException
personId - moduleId - PersonNotFoundExceptionModuleNotFoundExceptionvoid suspendModule(String personId, String moduleId) throws ModuleNotFoundException, PersonNotFoundException
personId - moduleId - ModuleNotFoundExceptionPersonNotFoundExceptionvoid resumeModule(String personId, String moduleId) throws ModuleNotFoundException, PersonNotFoundException
personId - moduleId - ModuleNotFoundExceptionPersonNotFoundExceptionCopyright © 2023 onecode. All rights reserved.