org.broadleafcommerce.profile.core.service
Class CustomerPhoneServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.service.CustomerPhoneServiceImpl
All Implemented Interfaces:
CustomerPhoneService

@Service(value="blCustomerPhoneService")
public class CustomerPhoneServiceImpl
extends java.lang.Object
implements CustomerPhoneService


Field Summary
protected  CustomerPhoneDao customerPhoneDao
           
 
Constructor Summary
CustomerPhoneServiceImpl()
           
 
Method Summary
 CustomerPhone create()
           
 void deleteCustomerPhoneById(java.lang.Long customerPhoneId)
           
 CustomerPhone findDefaultCustomerPhone(java.lang.Long customerId)
           
 void makeCustomerPhoneDefault(java.lang.Long customerPhoneId, java.lang.Long customerId)
           
 java.util.List<CustomerPhone> readActiveCustomerPhonesByCustomerId(java.lang.Long customerId)
           
 java.util.List<CustomerPhone> readAllCustomerPhonesByCustomerId(java.lang.Long customerId)
           
 CustomerPhone readCustomerPhoneById(java.lang.Long customerPhoneId)
           
 CustomerPhone saveCustomerPhone(CustomerPhone customerPhone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customerPhoneDao

protected CustomerPhoneDao customerPhoneDao
Constructor Detail

CustomerPhoneServiceImpl

public CustomerPhoneServiceImpl()
Method Detail

saveCustomerPhone

public CustomerPhone saveCustomerPhone(CustomerPhone customerPhone)
Specified by:
saveCustomerPhone in interface CustomerPhoneService

readActiveCustomerPhonesByCustomerId

public java.util.List<CustomerPhone> readActiveCustomerPhonesByCustomerId(java.lang.Long customerId)
Specified by:
readActiveCustomerPhonesByCustomerId in interface CustomerPhoneService

readCustomerPhoneById

public CustomerPhone readCustomerPhoneById(java.lang.Long customerPhoneId)
Specified by:
readCustomerPhoneById in interface CustomerPhoneService

makeCustomerPhoneDefault

public void makeCustomerPhoneDefault(java.lang.Long customerPhoneId,
                                     java.lang.Long customerId)
Specified by:
makeCustomerPhoneDefault in interface CustomerPhoneService

deleteCustomerPhoneById

public void deleteCustomerPhoneById(java.lang.Long customerPhoneId)
Specified by:
deleteCustomerPhoneById in interface CustomerPhoneService

findDefaultCustomerPhone

public CustomerPhone findDefaultCustomerPhone(java.lang.Long customerId)
Specified by:
findDefaultCustomerPhone in interface CustomerPhoneService

readAllCustomerPhonesByCustomerId

public java.util.List<CustomerPhone> readAllCustomerPhonesByCustomerId(java.lang.Long customerId)
Specified by:
readAllCustomerPhonesByCustomerId in interface CustomerPhoneService

create

public CustomerPhone create()
Specified by:
create in interface CustomerPhoneService


Copyright © 2011. All Rights Reserved.