public class UserCacheInfo
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected java.util.Set<CompanyRole> |
companyRoleSet |
protected java.util.Set<java.lang.Long> |
customRoleSet |
protected java.util.Set<EntryTypeAndID> |
entryPrivilegeSet |
protected java.util.Set<Job> |
jobSet |
protected java.util.Set<UserModulePrivilege> |
modulePrivilegeSet |
protected java.util.Set<UserDepAndCRolePrivilege> |
rolePrivilegeSet |
构造器和说明 |
---|
UserCacheInfo()
TODO
carl: 每次遍历所有角色去找权限,性能上还是欠妥,考虑直接把权限在这里做缓存
|
protected java.util.Set<java.lang.Long> customRoleSet
protected java.util.Set<Job> jobSet
protected java.util.Set<CompanyRole> companyRoleSet
protected java.util.Set<EntryTypeAndID> entryPrivilegeSet
protected java.util.Set<UserDepAndCRolePrivilege> rolePrivilegeSet
protected java.util.Set<UserModulePrivilege> modulePrivilegeSet