org.broadleafcommerce.profile.core.dao
Class CustomerAddressDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.CustomerAddressDaoImpl
- All Implemented Interfaces:
- CustomerAddressDao
@Repository(value="blCustomerAddressDao")
public class CustomerAddressDaoImpl
- extends java.lang.Object
- implements CustomerAddressDao
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
em
protected javax.persistence.EntityManager em
entityConfiguration
protected EntityConfiguration entityConfiguration
CustomerAddressDaoImpl
public CustomerAddressDaoImpl()
readActiveCustomerAddressesByCustomerId
public java.util.List<CustomerAddress> readActiveCustomerAddressesByCustomerId(java.lang.Long customerId)
- Specified by:
readActiveCustomerAddressesByCustomerId in interface CustomerAddressDao
save
public CustomerAddress save(CustomerAddress customerAddress)
- Specified by:
save in interface CustomerAddressDao
create
public CustomerAddress create()
- Specified by:
create in interface CustomerAddressDao
readCustomerAddressById
public CustomerAddress readCustomerAddressById(java.lang.Long customerAddressId)
- Specified by:
readCustomerAddressById in interface CustomerAddressDao
makeCustomerAddressDefault
public void makeCustomerAddressDefault(java.lang.Long customerAddressId,
java.lang.Long customerId)
- Specified by:
makeCustomerAddressDefault in interface CustomerAddressDao
deleteCustomerAddressById
public void deleteCustomerAddressById(java.lang.Long customerAddressId)
- Specified by:
deleteCustomerAddressById in interface CustomerAddressDao
findDefaultCustomerAddress
public CustomerAddress findDefaultCustomerAddress(java.lang.Long customerId)
- Specified by:
findDefaultCustomerAddress in interface CustomerAddressDao
Copyright © 2011. All Rights Reserved.