| | |
| | | package com.vci.frameworkcore.compatibility; |
| | | |
| | | import com.vci.corba.common.PLException; |
| | | import com.vci.frameworkcore.pagemodel.SmRoleVO; |
| | | import com.vci.starter.web.exception.VciBaseException; |
| | | import com.vci.starter.web.pagemodel.DataGrid; |
| | |
| | | * @param pageHelper 分页和排序对象,老平台不支持使用角色编号来排序 |
| | | * @return 角色的显示对象 |
| | | */ |
| | | DataGrid<SmRoleVO> gridRoleByUserOid(String userOid, Map<String, String> queryMap, PageHelper pageHelper); |
| | | DataGrid<SmRoleVO> gridRoleByUserOid(String userOid, Map<String, String> queryMap, PageHelper pageHelper); |
| | | |
| | | /** |
| | | * 获取未关联某个用户的角色 |
| | |
| | | * @throws VciBaseException 参数为空的时候会抛出异常 |
| | | */ |
| | | List<Tree> refTreeRoles(TreeQueryObject treeQueryObject) throws VciBaseException; |
| | | |
| | | /** |
| | | * 该方法只支持一次只允许单个用户分配多个角色,一对多 |
| | | * @param userOid |
| | | * @param roleIds |
| | | * @return |
| | | */ |
| | | boolean saveRights(String userOid, String[] roleIds) throws PLException; |
| | | |
| | | } |