public interface ModuleExecutor extends CacheExecutor
限定符和类型 | 方法和说明 |
---|---|
void |
cache(PlatformManageModule platformManageModule)
缓存module
|
void |
clearModuleCache()
清空模块缓存
|
java.util.List<PlatformManageModule> |
getAllModules() |
java.util.List<PlatformManageModule> |
getAllModules(boolean clone) |
JSONArray |
getAuthorizedModuleItemsFromPrivilegeSet(java.util.Set<AbstractModulePrivilege> privilegeSet) |
java.util.List<PlatformManageModule> |
getClonedAllModules() |
JSONArray |
getModuleRootShowInfo(long userid) |
JSONObject |
getNodeInfo(long moduleid,
long userid,
java.util.Locale locale) |
JSONArray |
getRootNodeInfo() |
void |
removeCache(long moduleid)
从缓存中删除指定模块
|
buildCache, clearCache, getClassKey, rebuildCache
void clearModuleCache()
JSONArray getModuleRootShowInfo(long userid) throws java.lang.Exception
java.lang.Exception
JSONArray getRootNodeInfo() throws JSONException
JSONException
JSONObject getNodeInfo(long moduleid, long userid, java.util.Locale locale) throws java.lang.Exception
java.lang.Exception
JSONArray getAuthorizedModuleItemsFromPrivilegeSet(java.util.Set<AbstractModulePrivilege> privilegeSet) throws JSONException
JSONException
java.util.List<PlatformManageModule> getAllModules()
java.util.List<PlatformManageModule> getClonedAllModules()
java.util.List<PlatformManageModule> getAllModules(boolean clone)
void cache(PlatformManageModule platformManageModule)
platformManageModule
- 被缓存的模块void removeCache(long moduleid)
moduleid
- 被删除模块的ID