public class AuthorityRoleDAOManager
extends java.lang.Object
构造器和说明 |
---|
AuthorityRoleDAOManager() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addAuthorityRole(AuthorityControlFilter pf,
Authority auth,
Allocation allocation,
boolean cover,
boolean diskSyn)
添加用户权限
|
static java.util.Iterator |
authorityAllocationIterator(AuthorityControlFilter pf)
获取权限迭代器
|
static Allocation |
changeAuthorityRoleName(AuthorityControlFilter pf,
java.lang.String oldName,
java.lang.String newName,
boolean diskSyn)
修改权限编辑角色名称
|
static void |
doEnd(AuthorityControlFilter pf)
结束事件
|
static AuthorityControlFilter |
getAuthControlFilter(boolean create) |
static AuthorityAllocation |
getAuthorityAllocation(AuthorityControlFilter pf,
java.lang.String authorityName) |
static boolean |
removeAuthorityRole(AuthorityControlFilter pf,
Authority auth,
boolean diskSyn)
删除角色权限
|
public static void addAuthorityRole(AuthorityControlFilter pf, Authority auth, Allocation allocation, boolean cover, boolean diskSyn) throws java.lang.Exception
diskSyn
- 是否保存到磁盘pf
- 权限过滤器auth
- 角色allocation
- 用户文件权限cover
- 是否覆盖java.lang.Exception
public static boolean removeAuthorityRole(AuthorityControlFilter pf, Authority auth, boolean diskSyn) throws java.lang.Exception
auth
- 用户角色pf
- 权限过滤器diskSyn
- 是否保存到磁盘java.lang.Exception
public static Allocation changeAuthorityRoleName(AuthorityControlFilter pf, java.lang.String oldName, java.lang.String newName, boolean diskSyn) throws java.lang.Exception
pf
- 权限过滤器diskSyn
- 是否保存到磁盘newName
- 新的名称oldName
- 老的名称java.lang.Exception
public static AuthorityAllocation getAuthorityAllocation(AuthorityControlFilter pf, java.lang.String authorityName) throws java.lang.Exception
java.lang.Exception
public static java.util.Iterator authorityAllocationIterator(AuthorityControlFilter pf) throws java.lang.Exception
pf
- 权限过滤器java.lang.Exception
public static AuthorityControlFilter getAuthControlFilter(boolean create)
public static void doEnd(AuthorityControlFilter pf) throws java.lang.Exception
pf
- 权限过滤器java.lang.Exception