Interface UserService
public interface UserService
- 
Method Summary
Modifier and TypeMethodDescriptionbgsQueryLog(BGSQueryLogParam bgsQueryLogParam, Period period, Page page) org.json.JSONObjectcontractParameters(int parameterTypeId) voiddeleteUser(int userId) getUser(int userId) getUserRightRules(int rightGroupId) groupMenuRestriction(int groupId) voidgroupMenuRestrictionSet(int groupId, List<String> menuIds) loadUserActions(int userId) Загрузка списка действий пользователя.voidupdateUser(User user, List<Integer> groups) updateUserRightRule(UserRightRule userRightRule) userInfoGet(int userId) Получение ид-имя пользователя, можно не боясь по каждому чиху его тянуть, так как реализован через DirectoryItem.userMenuDataGet(int userMenuId) voiduserMenuDataUpdate(int userMenuId, String data) voiduserMenuDelete(int userMenuId) userMenuList(boolean addDefault) userMenuRestriction(int userId) voiduserMenuRestrictionSet(int userId, List<String> menuIds) userMenuUpdate(MenuItem menuItem)  
- 
Method Details
- 
getCurrentUserEmail
- Throws:
 Exception
 - 
findUsers
SearchResult<User> findUsers(String field, String value, int status, int group, Page page, int roleId) throws Exception - Throws:
 Exception
 - 
deleteUser
- Throws:
 Exception
 - 
getUser
- Throws:
 Exception
 - 
updateUser
- Throws:
 Exception
 - 
listUsers
- Throws:
 Exception
 - 
loadUserActions
Загрузка списка действий пользователя.- Parameters:
 userId- код пользователя.- Returns:
 - список действий пользователя.
 - Throws:
 BGExceptionException
 - 
userInfoGet
Получение ид-имя пользователя, можно не боясь по каждому чиху его тянуть, так как реализован через DirectoryItem.
но, при условии что достается только так :getContext().getDirectory( UserInfo.class ). ... иначе если напрямую, то никакого кеширования не будет.- Parameters:
 userId- - код пользователя.- Returns:
 - Throws:
 Exception
 - 
userInfoList
- Throws:
 Exception
 - 
userMenuRestriction
- Throws:
 Exception
 - 
groupMenuRestriction
- Throws:
 Exception
 - 
userMenuRestrictionSet
- Throws:
 Exception
 - 
groupMenuRestrictionSet
- Throws:
 Exception
 - 
userMenuList
- Throws:
 Exception
 - 
userMenuUpdate
- Throws:
 Exception
 - 
userMenuDelete
- Throws:
 Exception
 - 
userMenuDataDefault
- Throws:
 Exception
 - 
userMenuDataGet
- Throws:
 Exception
 - 
userMenuDataUpdate
- Throws:
 Exception
 - 
contractParameters
- Throws:
 Exception
 - 
groupRightTree
- Throws:
 Exception
 - 
getUserRightRules
- Throws:
 Exception
 - 
updateUserRightRule
- Throws:
 Exception
 - 
bgsQueryLog
SearchResult<BGSQueryLogEntry> bgsQueryLog(BGSQueryLogParam bgsQueryLogParam, Period period, Page page) throws Exception - Throws:
 Exception
 
 -