Class DefaultUserDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<UserModel>
de.hybris.platform.servicelayer.user.daos.impl.DefaultUserDao
- All Implemented Interfaces:
GenericDao<UserModel>,UserDao
- Direct Known Subclasses:
DefaultChineseUserDao
Default implementation of the
UserDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindUserByUID(String uid) Returns for the givenuidtheUserModel.findUsersByUids(SortParameters.SortOrder order, String... uids) Returns a collection of theUserModelfor the givenuids.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultUserDao
public DefaultUserDao()
-
-
Method Details
-
findUserByUID
Description copied from interface:UserDaoReturns for the givenuidtheUserModel.- Specified by:
findUserByUIDin interfaceUserDao- Parameters:
uid- the unique identifier of the user- Returns:
nullif for the givenuidnoUserModelwas found.
-
findUsersByUids
Description copied from interface:UserDaoReturns a collection of theUserModelfor the givenuids.- Specified by:
findUsersByUidsin interfaceUserDao- 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.
-