| | |
| | | |
| | | import com.vci.common.exception.VciException; |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.dto.RoleInfoDTO; |
| | | import com.vci.dto.RoleRightDTO; |
| | | import com.vci.dto.RoleRightParamDTO; |
| | | import com.vci.frameworkcore.enumpck.ResourceControlTypeEnum; |
| | | import com.vci.pagemodel.MenuVO; |
| | | import com.vci.pagemodel.SmFunctionVO; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | | import com.vci.starter.web.pagemodel.PageHelper; |
| | | import com.vci.starter.web.pagemodel.Tree; |
| | | import com.vci.starter.web.pagemodel.TreeQueryObject; |
| | | import com.vci.starter.web.pagemodel.*; |
| | | import com.vci.pagemodel.UIContentVO; |
| | | import com.vci.web.service.OsBaseServiceI; |
| | | |
| | |
| | | * @throws VciBaseException |
| | | */ |
| | | List<MenuVO> getSysModelTreeMenuByPID(String parentId,String modeType,boolean isAll) throws VciBaseException; |
| | | /** |
| | | * 通过模块ID获取子级列表 |
| | | * @param isAll 是否包括无效的模块,true则包括 |
| | | * @return |
| | | * @throws VciBaseException |
| | | */ |
| | | List<MenuVO> getSysModelAuthTreeMenuByPID(boolean isAll) throws VciBaseException, PLException; |
| | | |
| | | int checkChildObject(String moduleId) throws VciException; |
| | | |
| | |
| | | DataGrid<SmFunctionVO> gridFunctionByRoleOids(Collection<String> roleOidCollection, Map<String, String> queryMap, PageHelper pageHelper, ResourceControlTypeEnum resourceControlTypeEnum); |
| | | |
| | | UIContentVO getUIContentByBtmTypeAndId(TreeQueryObject treeQueryObject, ResourceControlTypeEnum bs) throws PLException; |
| | | /** |
| | | * 获取授权的模块 |
| | | * @param roleId 角色主键 |
| | | * @return 所具有权限的主键 |
| | | * @throws PLException |
| | | */ |
| | | List<String> getSysModelAuth(String roleId) throws PLException; |
| | | |
| | | /** |
| | | * 保存授权的模块 |
| | | * @param roleRightDTOS 用户选择授权模块信息 |
| | | * @param roleId 角色主键 |
| | | * @return 授权结果 |
| | | * @throws PLException |
| | | */ |
| | | BaseResult saveRoleRight(List<RoleRightParamDTO> roleRightDTOS, String roleId) throws PLException; |
| | | /** |
| | | * 获取所授权的模块权限 |
| | | * @param roleName 搜索的角色 |
| | | * @return 角色列表 |
| | | */ |
| | | List<RoleInfoDTO> getRoleList(String roleName) throws PLException; |
| | | } |