类的使用
com.iplatform.base.util.menu.SystemMenu
使用SystemMenu的程序包
程序包
说明
-
com.iplatform.base.cache中SystemMenu的使用
返回变量类型为SystemMenu的类型的com.iplatform.base.cache中的方法修饰符和类型方法说明MenuCacheProvider.getChildPerms(List<SystemMenu> list, String parentId) 根据父节点的ID获取所有子节点MenuCacheProvider.getMenuList(List<String> roleIdList, int menuScope) 返回菜单集合列表(不是树结构),目前该方法在代码生成功能中使用,展示选择生成在哪个菜单模块。MenuCacheProvider.getMenuTree(List<String> menuIdList, boolean containButton, boolean showAll, int menuScope) 返回菜单树形结果,列表中包含多个菜单根节点。MenuCacheProvider.getMenuTreeAll(List<String> menuIdList, boolean containButton, int menuScope) 返回菜单树形结果,列表中包含多个菜单根节点,menuIdList 为空时,允许返回所有的。MenuCacheProvider.toSystemMenuList(List<S_menu> srcMenuList) 类型变量类型为SystemMenu的com.iplatform.base.cache中的方法参数修饰符和类型方法说明MenuCacheProvider.buildMenus(List<SystemMenu> menus) 已过时。MenuCacheProvider.getChildPerms(List<SystemMenu> list, String parentId) 根据父节点的ID获取所有子节点 -
com.iplatform.base.callback中SystemMenu的使用
返回变量类型为SystemMenu的类型的com.iplatform.base.callback中的方法修饰符和类型方法说明SecurityCallback.loadUserMenu(S_user_core userCore, List<String> roleIdList) 用户自定义加载菜单列表,平台会回调该函数。 -
com.iplatform.base.util中SystemMenu的使用
参数类型为SystemMenu的com.iplatform.base.util中的方法修饰符和类型方法说明static StringMenuUtils.getComponent(SystemMenu menu) 已过时。static StringMenuUtils.getRouteName(SystemMenu menu) 获取路由名称static StringMenuUtils.getRouterPath(SystemMenu menu) 已过时。static booleanMenuUtils.isInnerLink(SystemMenu menu) 是否为内链组件static booleanMenuUtils.isMenuFrame(SystemMenu menu) 是否为菜单内部跳转。static booleanMenuUtils.isParentView(SystemMenu menu) 已过时。类型变量类型为SystemMenu的com.iplatform.base.util中的方法参数