Interface UserDao
- All Known Implementing Classes:
DefaultChineseUserDao,DefaultUserDao
public interface UserDao
Dao for
UserModel access.- Since:
- 4.3
- Spring Bean ID:
- userDao
-
Method Summary
Modifier and TypeMethodDescriptionfindUserByUID(String uid) Returns for the givenuidtheUserModel.findUsersByUids(SortParameters.SortOrder order, String... uids) Returns a collection of theUserModelfor the givenuids.
-
Method Details
-
findUserByUID
Returns for the givenuidtheUserModel.- Parameters:
uid- the unique identifier of the user- Returns:
nullif for the givenuidnoUserModelwas found.- Throws:
AmbiguousIdentifierException- if more than one User was found for the givenuid
-
findUsersByUids
Returns a collection of theUserModelfor the givenuids.- Parameters:
order- collection is sorted by uid, by default it is ascending however it can be changed by this parameteruids- list of identifier of users- Returns:
- collection of
UserModelobjects.
-