Class CustomerAddressDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.CustomerAddressDaoImpl
- All Implemented Interfaces:
CustomerAddressDao
@Repository("blCustomerAddressDao")
public class CustomerAddressDaoImpl
extends Object
implements CustomerAddressDao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jakarta.persistence.EntityManagerprotected EntityConfiguration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearDefaultAddressForCustomer(Long customerId) create()voiddeleteCustomerAddressById(Long customerAddressId) findDefaultCustomerAddress(Long customerId) voidhardDeleteCustomerAddressesForCustomer(Long customerId) voidmakeCustomerAddressDefault(Long customerAddressId, Long customerId) readActiveCustomerAddressesByCustomerId(Long customerId) readBatchCustomerAddresses(int start, int pageSize) readCustomerAddressById(Long customerAddressId) readCustomerAddressByIdAndCustomerId(Long customerAddressId, Long customerId) save(CustomerAddress customerAddress)
-
Field Details
-
em
protected jakarta.persistence.EntityManager em -
entityConfiguration
-
-
Constructor Details
-
CustomerAddressDaoImpl
public CustomerAddressDaoImpl()
-
-
Method Details
-
readActiveCustomerAddressesByCustomerId
- Specified by:
readActiveCustomerAddressesByCustomerIdin interfaceCustomerAddressDao
-
save
- Specified by:
savein interfaceCustomerAddressDao
-
create
- Specified by:
createin interfaceCustomerAddressDao
-
readBatchCustomerAddresses
- Specified by:
readBatchCustomerAddressesin interfaceCustomerAddressDao
-
readNumberOfAddresses
- Specified by:
readNumberOfAddressesin interfaceCustomerAddressDao
-
readCustomerAddressById
- Specified by:
readCustomerAddressByIdin interfaceCustomerAddressDao
-
makeCustomerAddressDefault
- Specified by:
makeCustomerAddressDefaultin interfaceCustomerAddressDao
-
readCustomerAddressByIdAndCustomerId
public CustomerAddress readCustomerAddressByIdAndCustomerId(Long customerAddressId, Long customerId) - Specified by:
readCustomerAddressByIdAndCustomerIdin interfaceCustomerAddressDao
-
clearDefaultAddressForCustomer
-
deleteCustomerAddressById
- Specified by:
deleteCustomerAddressByIdin interfaceCustomerAddressDao
-
findDefaultCustomerAddress
- Specified by:
findDefaultCustomerAddressin interfaceCustomerAddressDao
-
hardDeleteCustomerAddressesForCustomer
- Specified by:
hardDeleteCustomerAddressesForCustomerin interfaceCustomerAddressDao
-