Interface UserService
- All Known Implementing Classes:
UserServiceImpl
public interface UserService
- Author:
- Tim Urmancheev
-
Method Summary
Modifier and TypeMethodDescriptionbindGroupByUser(String userId, String groupId, String userWhoBindId) voidvoiddelete(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) booleanvoidunbindGroup(String userId, String groupId) voidunbindGroupByUser(String userId, String groupId, String userWhoUnbindId) voidvoidupdateGroups(String userId, Collection<String> addedGroupIds, Collection<String> deletedGroupIds) voidupdateLockedAndEmailConfirmed(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
-