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 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 List<CustomerAddress> readActiveCustomerAddressesByCustomerId(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(Long customerAddressId)
- Specified by:
readCustomerAddressById in interface CustomerAddressDao
makeCustomerAddressDefault
public void makeCustomerAddressDefault(Long customerAddressId,
Long customerId)
- Specified by:
makeCustomerAddressDefault in interface CustomerAddressDao
deleteCustomerAddressById
public void deleteCustomerAddressById(Long customerAddressId)
- Specified by:
deleteCustomerAddressById in interface CustomerAddressDao
findDefaultCustomerAddress
public CustomerAddress findDefaultCustomerAddress(Long customerId)
- Specified by:
findDefaultCustomerAddress in interface CustomerAddressDao
Copyright © 2012. All Rights Reserved.