Package lumis.portal.user
Interface IUserManagerSPI
-
- All Superinterfaces:
IConfigDeleter
,IUserManager
- All Known Implementing Classes:
UserManager
public interface IUserManagerSPI extends IUserManager
Class interface responsible for managing internal operations on the portal users.- Since:
- 8.0.0
- Version:
- $Revision: 22845 $ $Date: 2019-06-19 16:14:36 -0300 (Wed, 19 Jun 2019) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.util.List<UserConfig>
findUsers(java.lang.String query)
Find the first five users which are not framework users, given a search query for user login or user name.java.util.List<UserConfig>
findUsers(java.lang.String query, boolean includeFrameworkUsers, int maxResults)
Find users by user login or user name, given a search query.IFile
getUserProfileImageContentTypeFile(java.lang.String userId)
Returns the user's profile image content type file.IFile
getUserProfileImageFile(java.lang.String userId)
Returns the user's profile image file.java.lang.String
getUserProfileImageHref(java.lang.String userId)
Get user profile image href by user identifierjava.util.Collection<UserConfig>
getUsersByLogins(java.util.Set<java.lang.String> logins)
Get users with the given logins.-
Methods inherited from interface lumis.portal.serialization.operation.IConfigDeleter
deleteConfig
-
Methods inherited from interface lumis.portal.user.IUserManager
add, addAlternativeLogin, addOrUpdate, delete, deleteAlternativeLogin, get, getAlternativeLogins, getByChannelId, getByOrigin, getUserId, getUserIdByLogin, setPassword, update
-
-
-
-
Method Detail
-
getUserProfileImageHref
java.lang.String getUserProfileImageHref(java.lang.String userId)
Get user profile image href by user identifier- Parameters:
userId
- the user identifier- Returns:
- user profile image href
- Since:
- 8.0.0
-
getUserProfileImageContentTypeFile
IFile getUserProfileImageContentTypeFile(java.lang.String userId)
Returns the user's profile image content type file.- Parameters:
userId
- the user identifier.- Returns:
- the user's profile image content type file.
- Since:
- 8.0.0
-
getUserProfileImageFile
IFile getUserProfileImageFile(java.lang.String userId)
Returns the user's profile image file.- Parameters:
userId
- the user identifier.- Returns:
- the user's profile image file.
- Since:
- 8.0.0
-
findUsers
default java.util.List<UserConfig> findUsers(java.lang.String query) throws PortalException
Find the first five users which are not framework users, given a search query for user login or user name.- Parameters:
query
- query used to search users- Returns:
- List of users which matches the search query.
- Throws:
PortalException
- Since:
- 10.1.0
- See Also:
findUsers(String, boolean, int)
-
findUsers
java.util.List<UserConfig> findUsers(java.lang.String query, boolean includeFrameworkUsers, int maxResults) throws PortalException
Find users by user login or user name, given a search query.- Parameters:
query
- query used to search usersincludeFrameworkUsers
- indicates if framework users must also be returnedmaxResults
- amount of users to return- Returns:
- List of users which matches the search query with the given parameters.
- Throws:
PortalException
- Since:
- 10.1.0
- See Also:
IUserDao.findUsers(String, boolean, int)
-
getUsersByLogins
java.util.Collection<UserConfig> getUsersByLogins(java.util.Set<java.lang.String> logins) throws PortalException
Get users with the given logins.- Parameters:
logins
- logins for getting users- Returns:
- List of users with the given logins.
- Throws:
PortalException
- Since:
- 10.1.0
- See Also:
IUserDao.getUsersByLogins(Set)
-
-