public class ControllerFactory
extends java.lang.Object
构造器和说明 |
---|
ControllerFactory() |
public static ControllerFactory getInstance()
public static java.util.List<Authority> filterAuthoritiesWithAuthorityType(AuthorityType authorityType, java.util.List<Authority> originAuthorities)
authorityType
- 指定权限类型originAuthorities
- 原始权限集合public static java.util.List<PrivilegeDetailBean> transferAuthorityDetails2PrivilegeDetails(java.util.List<AuthorityDetail> details)
details
- 数据库层权限细节集合public static java.util.List<PrivilegeDetailBean> transferAuthorityRecords2PrivilegeDetails(java.util.List<AuthorityRecord> records)
records
- 数据库层权限细节集合public static PrivilegeBean transferAuthorityDetails2PrivilegeBean(java.util.List<AuthorityDetail> details)
details
- 数据库层权限细节集合public static void setDepartmentPrivilegeDetails(DepartmentPostBean departmentBean, java.util.List<AuthorityDetail> authorityDetailList)
departmentBean
- 部门authorityDetailList
- 权限细节集合public AuthenticController getAuthenticController(java.lang.String userId)
public UserController getUserController(java.lang.String userId)
public DepartmentController getDepartmentController(java.lang.String userId)
public PostController getPostController(java.lang.String userId)
public CustomRoleController getCustomRoleController(java.lang.String userId)
public EntryController getEntryController(java.lang.String userId)
public DecisionMgrModuleController getDecisionMgrModuleController(java.lang.String userId)
public ConnectionController getConnectionController(java.lang.String userId)
public PrivilegeController getPrivilegeController(java.lang.String userId)