Interface UserService

All Known Implementing Classes:
UserServiceImpl

public interface UserService
Author:
Tuyen Nguyen The.
  • Method Details

    • loadUser

      User loadUser(String username)
    • findUserByName

      org.exoplatform.commons.utils.ListAccess<User> findUserByName(String keyword, boolean excludeExternal)
      For now, this method is used only for search user in assignee, permission or mention. These function use username, fullName and avatar, so some other infos will be null to avoid recall organizationService
      Parameters:
      keyword - name of the user
      excludeExternal - if true, exclude external users from search
      Returns:
      List of users
    • getUserSetting

      UserSetting getUserSetting(String username)
    • showHiddenProject

      void showHiddenProject(String username, boolean show)
    • showHiddenLabel

      void showHiddenLabel(String username, boolean show)
    • hideProject

      void hideProject(org.exoplatform.services.security.Identity identity, Long projectId, boolean hide) throws EntityNotFoundException, NotAllowedOperationOnEntityException
      Throws:
      EntityNotFoundException
      NotAllowedOperationOnEntityException
    • getUserTimezone

      TimeZone getUserTimezone(String username)