public interface IUserManagerSPI extends IUserManager
Modifier and Type | Method and Description |
---|---|
default List<UserConfig> |
findUsers(String query)
Find the first five users which are not framework users, given a search query for user login or user name.
|
List<UserConfig> |
findUsers(String query,
boolean includeFrameworkUsers,
int maxResults)
Find users by user login or user name, given a search query.
|
UserConfig |
getByMonitorUserId(String monitorUserId)
Returns the user that corresponds to the given monitor user identifier.
|
String |
getMonitorUserId(UserConfig user)
Returns the identifier of the monitor user associated with the given user.
|
IFile |
getUserProfileImageContentTypeFile(String userId)
Returns the user's profile image content type file.
|
IFile |
getUserProfileImageFile(String userId)
Returns the user's profile image file.
|
String |
getUserProfileImageHref(String userId)
Get user profile image href by user identifier
|
Collection<UserConfig> |
getUsersByLogins(Set<String> logins)
Get users with the given logins.
|
add, addAlternativeLogin, addOrUpdate, delete, deleteAlternativeLogin, get, getAlternativeLogins, getByChannelId, getByOrigin, getUserId, getUserIdByLogin, setPassword, update
deleteConfig
String getUserProfileImageHref(String userId)
userId
- the user identifierIFile getUserProfileImageContentTypeFile(String userId)
userId
- the user identifier.IFile getUserProfileImageFile(String userId)
userId
- the user identifier.default List<UserConfig> findUsers(String query) throws PortalException
query
- query used to search usersPortalException
findUsers(String, boolean, int)
List<UserConfig> findUsers(String query, boolean includeFrameworkUsers, int maxResults) throws PortalException
query
- query used to search usersincludeFrameworkUsers
- indicates if framework users must also be returnedmaxResults
- amount of users to returnPortalException
IUserDao.findUsers(String, boolean, int)
Collection<UserConfig> getUsersByLogins(Set<String> logins) throws PortalException
logins
- logins for getting usersPortalException
IUserDao.getUsersByLogins(Set)
UserConfig getByMonitorUserId(String monitorUserId) throws PortalException
monitorUserId
- the monitor user identifier.null
if no such user was found.PortalException
String getMonitorUserId(UserConfig user)
user
- the user.null
if the user is guest.Lumisportal 11.0.0.180924 - Copyright © 2006–2018 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.