Package ru.bgcrm.cache
Class UserCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidflush(Connection con) static Collection<User> static List<PermissionNode> getGroupPath(int id) static ParameterMapstatic UsergetUser(int id) static Userstatic GroupgetUserGroup(int groupId) static intgetUserGroupChildCount(int groupId) getUserGroupChildFullSet(int groupId) getUserGroupChildSet(int groupId) getUserGroupList(int id) getUserGroupList(int id, int parentId, Date actualDate) getUserGroupList(int id, Date actualDate) static StringgetUserGroupWithPath(Map<Integer, Group> groupMap, int id, boolean withId) "Возвращает полный путь к корневой группе в виде строки (например: Администратор -> Помощник -> Помощник помощника)"getUserList(Set<Integer> groupIds) protected UserCache
-
Constructor Details
-
UserCache
public UserCache()
-
-
Method Details
-
getUser
-
getUserMap
-
getUser
-
getUserList
-
getActiveUsers
-
getUserGroup
-
getUserGroupChildCount
public static int getUserGroupChildCount(int groupId) -
getPerm
-
getUserList
-
getUserGroupChildSet
-
getUserGroupChildFullSet
-
getUserGroupList
-
getUserGroupFullTitledList
-
getUserGroupMap
-
getUserGroupFullTitledMap
-
getUserPermsetList
-
getUserPermsetMap
-
getAllPermTree
-
flush
-
getGroupPath
-
getUserGroupWithPath
"Возвращает полный путь к корневой группе в виде строки (например: Администратор -> Помощник -> Помощник помощника)"- Parameters:
id- группы- Returns:
- Строка с полным путем к корневой группе, либо title группы, если нет родительской группы
-
getUserGroupList
-
getUserGroupList
-
getUserGroupList
-
newInstance
- Specified by:
newInstancein classCache<UserCache>
-