@Controller
@RequestMapping(value="manager/coreroleauth")
public class CoreAuthController
extends java.lang.Object
构造器和说明 |
---|
CoreAuthController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
addAuth(java.util.ArrayList<CoreRightRes> listCoreAuthRes) |
RetVo |
addRole(CoreRole coreRole) |
RetVo |
addUser(java.util.Map<java.lang.String,java.lang.String> map) |
RetVo |
delRole(java.util.Map<java.lang.String,java.lang.String> map) |
RetVo |
delUser(java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> listmap) |
java.lang.String |
main(javax.servlet.http.HttpServletRequest request)
主页面
|
RetVo |
modifyRole(CoreRole coreRole) |
RetVo |
modifyRoleMx(CoreRole coreRole) |
RetVo |
queryAuth(CoreRightRes coreauthres) |
RetVo |
queryDept(javax.servlet.http.HttpServletRequest request) |
RetVo |
queryOrgddata(java.lang.String resid,
java.lang.Boolean isallorg)
已过时。
|
RetVo |
queryOrgRole(java.lang.Boolean isAllOrg) |
RetVo |
queryRole(java.lang.String orgid,
boolean isall,
java.lang.String resid) |
RetVo |
queryUnuseRole(java.lang.String orgid) |
RetPageVo |
queryUser(javax.servlet.http.HttpServletRequest request) |
RetVo |
removeauth(CoreUserDept coreUserDept)
移除角色用户权限,
|
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
request
- 请求对象@Deprecated @ResponseBody @RequestMapping(value="/queryOrgddata", method=GET) public RetVo queryOrgddata(@RequestParam(value="resid",required=false) java.lang.String resid, @RequestParam(value="isallorg",required=false,defaultValue="true") java.lang.Boolean isallorg)
resid
- 资源idisallorg
- 是否显示所有机构@ResponseBody @RequestMapping(value="/queryUser", method=POST) public RetPageVo queryUser(javax.servlet.http.HttpServletRequest request)
@ResponseBody @RequestMapping(value="/queryDept", method=GET) public RetVo queryDept(javax.servlet.http.HttpServletRequest request)
@ResponseBody @RequestMapping(value="/queryRole", method=GET) public RetVo queryRole(@RequestParam(value="ORGID",required=false) java.lang.String orgid, @RequestParam(value="isall",required=false) boolean isall, @RequestParam(value="resid",required=false) java.lang.String resid)
@ResponseBody @RequestMapping(value="/queryorgRole", method=GET) public RetVo queryOrgRole(@RequestParam(value="isallorg",required=false,defaultValue="true") java.lang.Boolean isAllOrg)
@ResponseBody @RequestMapping(value="/queryUnuseRole", method=GET) public RetVo queryUnuseRole(@RequestParam(value="ORGID") java.lang.String orgid)
@ResponseBody @RequestMapping(value="/queryAuth", method=GET) public RetVo queryAuth(CoreRightRes coreauthres) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/addRole", method=POST) public RetVo addRole(@RequestBody CoreRole coreRole) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/delUser", method=DELETE) public RetVo delUser(@RequestBody java.util.ArrayList<java.util.Map<java.lang.String,java.lang.Object>> listmap) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/addAuth", method=POST) public RetVo addAuth(@RequestBody java.util.ArrayList<CoreRightRes> listCoreAuthRes) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/addUser") public RetVo addUser(@RequestParam java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/delRole") public RetVo delRole(@RequestBody java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/modifyRole") public RetVo modifyRole(@RequestBody CoreRole coreRole) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/modifyRoleMx") public RetVo modifyRoleMx(@RequestBody CoreRole coreRole) throws java.lang.Exception
java.lang.Exception
@ResponseBody @RequestMapping(value="/removeauth") public RetVo removeauth(@RequestBody CoreUserDept coreUserDept)
coreUserDept
- 用户部门实体实例