org.broadleafcommerce.profile.core.dao
Interface CustomerPhoneDao

All Known Implementing Classes:
CustomerPhoneDaoImpl

public interface CustomerPhoneDao


Method Summary
 CustomerPhone create()
           
 void deleteCustomerPhoneById(Long customerPhoneId)
           
 CustomerPhone findDefaultCustomerPhone(Long customerId)
           
 void makeCustomerPhoneDefault(Long customerPhoneId, Long customerId)
           
 List<CustomerPhone> readActiveCustomerPhonesByCustomerId(Long customerId)
           
 List<CustomerPhone> readAllCustomerPhonesByCustomerId(Long customerId)
           
 CustomerPhone readCustomerPhoneById(Long customerPhoneId)
           
 CustomerPhone save(CustomerPhone customerPhone)
           
 

Method Detail

readActiveCustomerPhonesByCustomerId

List<CustomerPhone> readActiveCustomerPhonesByCustomerId(Long customerId)

save

CustomerPhone save(CustomerPhone customerPhone)

readCustomerPhoneById

CustomerPhone readCustomerPhoneById(Long customerPhoneId)

makeCustomerPhoneDefault

void makeCustomerPhoneDefault(Long customerPhoneId,
                              Long customerId)

deleteCustomerPhoneById

void deleteCustomerPhoneById(Long customerPhoneId)

findDefaultCustomerPhone

CustomerPhone findDefaultCustomerPhone(Long customerId)

readAllCustomerPhonesByCustomerId

List<CustomerPhone> readAllCustomerPhonesByCustomerId(Long customerId)

create

CustomerPhone create()


Copyright © 2013. All Rights Reserved.