public interface RoleDAO
限定符和类型 | 方法和说明 |
---|---|
java.util.Set<RoleDataConnectionPrivilege> |
getDataConnectionPrivileges(long id)
返回角色的数据连接权限
|
java.util.Set<RoleDepAndCRolePrivilege> |
getDepAndCrolePrivileges(long id)
返回角色的可管理部门/自定义角色权限
|
java.util.Set<RoleEntryPrivilege> |
getEntryPrivileges(long id)
返回角色的Entry权限
|
java.util.Set<RoleESPrivilege> |
getESPrivileges(long id)
获取角色的excel_submit的权限
|
java.util.Set<RoleHomePagePrivilege> |
getHomePagePrivileges(long id)
返回角色的首页权限
|
java.util.Set<RoleModulePrivilege> |
getModulePrivileges(long id)
返回角色的Module权限
|
java.util.Set<RelationObject> |
getPrivilegesWithPlateName(long id,
java.lang.String plateName)
获取指定板块的权限信息
|
java.util.Set<RoleTemplatePrivilege> |
getTemplatePrivileges(long id)
返回角色的模板权限
|
void |
removeAllTemplatePrivileges()
删除所有模板权限配置
|
void |
removeTemplatePrivileges(long id)
删除指定角色所有相关模板权限配置
|
void |
transferEntryPrivileges(long id,
java.util.Set<RoleEntryPrivilege> waitData)
转移节点信息
|
void |
transferHomePagePrivileges(long id,
java.util.Set<RoleHomePagePrivilege> waitData) |
void |
transferModulePrivileges(long id,
java.util.Set<RoleModulePrivilege> waitData) |
void |
transferRoleDataConnectionPrivileges(long id,
java.util.Set<RoleDataConnectionPrivilege> waitData) |
void |
transferRoleDepAndCRolePrivileges(long id,
java.util.Set<RoleDepAndCRolePrivilege> waitData) |
void |
transferRoleESPrivileges(long id,
java.util.Set<RoleESPrivilege> waitData) |
void |
transferRoleTemplatePrivileges(long id,
java.util.Set<RoleTemplatePrivilege> waitData) |
void |
updateDataConnectionPrivileges(long id,
java.util.List<java.lang.String> addList,
java.util.List<java.lang.String> removeList)
更新数据连接权限信息
|
void |
updateDepAndCrolePrivilege(long id,
java.util.List<java.lang.String> addList,
java.util.List<java.lang.String> removeList)
更新可管理部门/自定义角色的权限信息
|
void |
updateEntryPrivileges(long id,
java.util.List<EntryTypeAndID> addList,
java.util.List<EntryTypeAndID> removeList)
更新entry权限信息
|
void |
updateESPrivileges(long id,
java.util.List<EntryTypeAndID> addList,
java.util.List<EntryTypeAndID> removeList)
更新excel_submit的权限
|
void |
updateHomePagePrivileges(long id,
java.util.List<RoleHomePagePrivilege> addList,
java.util.List<RoleHomePagePrivilege> removeList)
更新首页权限信息
|
void |
updateModulePrivileges(long id,
java.util.List<RoleModulePrivilege> addList,
java.util.List<RoleModulePrivilege> removeList)
更新Module权限信息
|
void |
updatePlatePrivileges(long id,
java.util.List<RoleEntryPrivilege> addList,
java.util.List<RoleEntryPrivilege> removeList,
java.lang.String plateName)
更新指定板块的权限信息
|
void |
updateTemplatePrivileges(long id,
java.util.List<RoleTemplatePrivilege> addList,
java.util.List<RoleTemplatePrivilege> removeList)
更新模板权限信息
|
java.util.Set<RoleEntryPrivilege> getEntryPrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleDepAndCRolePrivilege> getDepAndCrolePrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleTemplatePrivilege> getTemplatePrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleDataConnectionPrivilege> getDataConnectionPrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleESPrivilege> getESPrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleModulePrivilege> getModulePrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RoleHomePagePrivilege> getHomePagePrivileges(long id) throws java.lang.Exception
id
- 角色IDjava.lang.Exception
java.util.Set<RelationObject> getPrivilegesWithPlateName(long id, java.lang.String plateName) throws java.lang.Exception
id
- 角色IDplateName
- 板块名称java.lang.Exception
void updateEntryPrivileges(long id, java.util.List<EntryTypeAndID> addList, java.util.List<EntryTypeAndID> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的Entry权限removeList
- 删除的Entry权限java.lang.Exception
- 异常void updateDepAndCrolePrivilege(long id, java.util.List<java.lang.String> addList, java.util.List<java.lang.String> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的部门/自定义角色权限removeList
- 删除的部门/自定义角色权限java.lang.Exception
- 异常void updateESPrivileges(long id, java.util.List<EntryTypeAndID> addList, java.util.List<EntryTypeAndID> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的ES权限removeList
- 删除的ES权限java.lang.Exception
- 异常void updateModulePrivileges(long id, java.util.List<RoleModulePrivilege> addList, java.util.List<RoleModulePrivilege> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的Module权限removeList
- 删除的Module权限java.lang.Exception
- 异常void updateHomePagePrivileges(long id, java.util.List<RoleHomePagePrivilege> addList, java.util.List<RoleHomePagePrivilege> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的首页权限removeList
- 删除的首页权限java.lang.Exception
- 异常void updateTemplatePrivileges(long id, java.util.List<RoleTemplatePrivilege> addList, java.util.List<RoleTemplatePrivilege> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的Template权限removeList
- 删除的Template权限java.lang.Exception
- 异常void removeAllTemplatePrivileges() throws java.lang.Exception
java.lang.Exception
- 异常void removeTemplatePrivileges(long id) throws java.lang.Exception
java.lang.Exception
- 异常void updateDataConnectionPrivileges(long id, java.util.List<java.lang.String> addList, java.util.List<java.lang.String> removeList) throws java.lang.Exception
id
- 角色IDaddList
- 增加的数据连接权限removeList
- 删除的数据连接权限java.lang.Exception
- 异常void updatePlatePrivileges(long id, java.util.List<RoleEntryPrivilege> addList, java.util.List<RoleEntryPrivilege> removeList, java.lang.String plateName) throws java.lang.Exception
id
- 角色IDaddList
- 增加的Plate权限removeList
- 删除的Plate权限plateName
- plate名字java.lang.Exception
- 异常void transferEntryPrivileges(long id, java.util.Set<RoleEntryPrivilege> waitData) throws java.lang.Exception
id
- 角色IDwaitData
- 待转移的节点集合java.lang.Exception
void transferModulePrivileges(long id, java.util.Set<RoleModulePrivilege> waitData) throws java.lang.Exception
java.lang.Exception
void transferHomePagePrivileges(long id, java.util.Set<RoleHomePagePrivilege> waitData) throws java.lang.Exception
java.lang.Exception
void transferRoleESPrivileges(long id, java.util.Set<RoleESPrivilege> waitData) throws java.lang.Exception
java.lang.Exception
void transferRoleDataConnectionPrivileges(long id, java.util.Set<RoleDataConnectionPrivilege> waitData) throws java.lang.Exception
java.lang.Exception
void transferRoleTemplatePrivileges(long id, java.util.Set<RoleTemplatePrivilege> waitData) throws java.lang.Exception
java.lang.Exception
void transferRoleDepAndCRolePrivileges(long id, java.util.Set<RoleDepAndCRolePrivilege> waitData) throws java.lang.Exception
java.lang.Exception