Class DefaultAddressDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<AddressModel>
-
- de.hybris.platform.servicelayer.user.daos.impl.DefaultAddressDao
-
- All Implemented Interfaces:
GenericDao<AddressModel>
,AddressDao
- Direct Known Subclasses:
ChineseAddressDao
public class DefaultAddressDao extends DefaultGenericDao<AddressModel> implements AddressDao
Default implementation of theAddressDao
.
-
-
Constructor Summary
Constructors Constructor Description DefaultAddressDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<AddressModel>
findAddressesForOwner(ItemModel owner)
Finds all addresses for the given owner.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findAddressesForOwner
public java.util.Collection<AddressModel> findAddressesForOwner(ItemModel owner)
Description copied from interface:AddressDao
Finds all addresses for the given owner.- Specified by:
findAddressesForOwner
in interfaceAddressDao
- Parameters:
owner
- the owner of the address. Mostly it is aUserModel
,CartModel
orOrderModel
.- Returns:
- an empty collection if for the given
owner
noAddressModel
was found.
-
-