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 Detail

      • getUserProfileImageHref

        String getUserProfileImageHref​(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​(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​(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

        List<UserConfig> findUsers​(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 users
        includeFrameworkUsers - indicates if framework users must also be returned
        maxResults - 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)