org.broadleafcommerce.profile.core.dao
Class CustomerPhoneDaoImpl
java.lang.Object
org.broadleafcommerce.profile.core.dao.CustomerPhoneDaoImpl
- All Implemented Interfaces:
- CustomerPhoneDao
@Repository(value="blCustomerPhoneDao")
public class CustomerPhoneDaoImpl
- extends java.lang.Object
- implements CustomerPhoneDao
| 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
CustomerPhoneDaoImpl
public CustomerPhoneDaoImpl()
readActiveCustomerPhonesByCustomerId
public java.util.List<CustomerPhone> readActiveCustomerPhonesByCustomerId(java.lang.Long customerId)
- Specified by:
readActiveCustomerPhonesByCustomerId in interface CustomerPhoneDao
save
public CustomerPhone save(CustomerPhone customerPhone)
- Specified by:
save in interface CustomerPhoneDao
readCustomerPhoneById
public CustomerPhone readCustomerPhoneById(java.lang.Long customerPhoneId)
- Specified by:
readCustomerPhoneById in interface CustomerPhoneDao
makeCustomerPhoneDefault
public void makeCustomerPhoneDefault(java.lang.Long customerPhoneId,
java.lang.Long customerId)
- Specified by:
makeCustomerPhoneDefault in interface CustomerPhoneDao
deleteCustomerPhoneById
public void deleteCustomerPhoneById(java.lang.Long customerPhoneId)
- Specified by:
deleteCustomerPhoneById in interface CustomerPhoneDao
findDefaultCustomerPhone
public CustomerPhone findDefaultCustomerPhone(java.lang.Long customerId)
- Specified by:
findDefaultCustomerPhone in interface CustomerPhoneDao
readAllCustomerPhonesByCustomerId
public java.util.List<CustomerPhone> readAllCustomerPhonesByCustomerId(java.lang.Long customerId)
- Specified by:
readAllCustomerPhonesByCustomerId in interface CustomerPhoneDao
create
public CustomerPhone create()
- Specified by:
create in interface CustomerPhoneDao
Copyright © 2011. All Rights Reserved.