Interface UserDao

All Known Implementing Classes:
DefaultChineseUserDao, DefaultUserDao

public interface UserDao
Dao for UserModel access.
Since:
4.3
Spring Bean ID:
userDao
  • Method Details

    • findUserByUID

      UserModel findUserByUID(String uid)
      Returns for the given uid the UserModel.
      Parameters:
      uid - the unique identifier of the user
      Returns:
      null if for the given uid no UserModel was found.
      Throws:
      AmbiguousIdentifierException - if more than one User was found for the given uid
    • findUsersByUids

      Collection<UserModel> findUsersByUids(SortParameters.SortOrder order, String... uids)
      Returns a collection of the UserModel for the given uids.
      Parameters:
      order - collection is sorted by uid, by default it is ascending however it can be changed by this parameter
      uids - list of identifier of users
      Returns:
      collection of UserModel objects.