Interface UserService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService
- Author:
- Tim Urmancheev
-
Method Summary
Modifier and TypeMethodDescriptionbindGroupByUser
(String userId, String groupId, String userWhoBindId) void
void
delete
(Collection<String> userIds) get
(Collection<String> userIds) get
(LoadOptions options) getByEmail
(String email) getByUsername
(String username) getGroups
(String userId, LoadOptions options) getRoleNamesInOrg
(String orgUnitCode) getRoles
(String userId, LoadOptions options) getUserGroupLinks
(String userId, LoadOptions options) getUserSourceByUserId
(String userId) getUsersWithAuthorityIn
(Collection<String> authorityIds) getUsersWithGroupIn
(Collection<String> groupIds) getUsersWithRoleIn
(Collection<String> roleIds) getUsersWithRoleInOrg
(String roleName, String orgUnitCode) boolean
void
unbindGroup
(String userId, String groupId) void
unbindGroupByUser
(String userId, String groupId, String userWhoUnbindId) void
void
updateGroups
(String userId, Collection<String> addedGroupIds, Collection<String> deletedGroupIds) void
updateLockedAndEmailConfirmed
(String userId, boolean locked, boolean emailConfirmed)
-
Method Details
-
get
-
get
-
getLdapUsers
-
get
-
getByUsername
-
getByEmail
-
create
-
update
-
updateLockedAndEmailConfirmed
-
delete
-
delete
-
getGroups
-
getUserGroupLinks
-
updateGroups
void updateGroups(String userId, Collection<String> addedGroupIds, Collection<String> deletedGroupIds) -
bindGroup
-
bindGroupByUser
-
unbindGroup
-
unbindGroupByUser
-
getRoles
-
getUsersWithRoleInOrg
-
getRoleNamesInOrg
-
getSuperAdmin
User getSuperAdmin() -
getUserWithMaxAccessLevel
User getUserWithMaxAccessLevel() -
isCurrentUserSuperAdmin
boolean isCurrentUserSuperAdmin() -
getUserSourceByUserId
-
getUsersWithAuthorityIn
-
getUsersWithRoleIn
-
getUsersWithGroupIn
-