org.broadleafcommerce.profile.core.service
Class CustomerAddressServiceImpl

java.lang.Object
  extended by org.broadleafcommerce.profile.core.service.CustomerAddressServiceImpl
All Implemented Interfaces:
CustomerAddressService

@Service(value="blCustomerAddressService")
public class CustomerAddressServiceImpl
extends java.lang.Object
implements CustomerAddressService


Field Summary
protected  CustomerAddressDao customerAddressDao
           
 
Constructor Summary
CustomerAddressServiceImpl()
           
 
Method Summary
 CustomerAddress create()
           
 void deleteCustomerAddressById(java.lang.Long customerAddressId)
           
 CustomerAddress findDefaultCustomerAddress(java.lang.Long customerId)
           
 void makeCustomerAddressDefault(java.lang.Long customerAddressId, java.lang.Long customerId)
           
 java.util.List<CustomerAddress> readActiveCustomerAddressesByCustomerId(java.lang.Long customerId)
           
 CustomerAddress readCustomerAddressById(java.lang.Long customerAddressId)
           
 CustomerAddress saveCustomerAddress(CustomerAddress customerAddress)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

customerAddressDao

protected CustomerAddressDao customerAddressDao
Constructor Detail

CustomerAddressServiceImpl

public CustomerAddressServiceImpl()
Method Detail

saveCustomerAddress

public CustomerAddress saveCustomerAddress(CustomerAddress customerAddress)
Specified by:
saveCustomerAddress in interface CustomerAddressService

readActiveCustomerAddressesByCustomerId

public java.util.List<CustomerAddress> readActiveCustomerAddressesByCustomerId(java.lang.Long customerId)
Specified by:
readActiveCustomerAddressesByCustomerId in interface CustomerAddressService

readCustomerAddressById

public CustomerAddress readCustomerAddressById(java.lang.Long customerAddressId)
Specified by:
readCustomerAddressById in interface CustomerAddressService

makeCustomerAddressDefault

public void makeCustomerAddressDefault(java.lang.Long customerAddressId,
                                       java.lang.Long customerId)
Specified by:
makeCustomerAddressDefault in interface CustomerAddressService

deleteCustomerAddressById

public void deleteCustomerAddressById(java.lang.Long customerAddressId)
Specified by:
deleteCustomerAddressById in interface CustomerAddressService

findDefaultCustomerAddress

public CustomerAddress findDefaultCustomerAddress(java.lang.Long customerId)
Specified by:
findDefaultCustomerAddress in interface CustomerAddressService

create

public CustomerAddress create()
Specified by:
create in interface CustomerAddressService


Copyright © 2011. All Rights Reserved.