org.broadleafcommerce.profile.core.service
@Service(value="blCustomerAddressService") public class CustomerAddressServiceImpl extends Object implements CustomerAddressService
| Modifier and Type | Field and Description |
|---|---|
protected CustomerAddressDao |
customerAddressDao |
| Constructor and Description |
|---|
CustomerAddressServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
CustomerAddress |
create() |
void |
deleteCustomerAddressById(Long customerAddressId) |
CustomerAddress |
findDefaultCustomerAddress(Long customerId) |
void |
makeCustomerAddressDefault(Long customerAddressId,
Long customerId) |
List<CustomerAddress> |
readActiveCustomerAddressesByCustomerId(Long customerId) |
CustomerAddress |
readCustomerAddressById(Long customerAddressId) |
CustomerAddress |
saveCustomerAddress(CustomerAddress customerAddress) |
protected CustomerAddressDao customerAddressDao
public CustomerAddress saveCustomerAddress(CustomerAddress customerAddress)
saveCustomerAddress in interface CustomerAddressServicepublic List<CustomerAddress> readActiveCustomerAddressesByCustomerId(Long customerId)
readActiveCustomerAddressesByCustomerId in interface CustomerAddressServicepublic CustomerAddress readCustomerAddressById(Long customerAddressId)
readCustomerAddressById in interface CustomerAddressServicepublic void makeCustomerAddressDefault(Long customerAddressId, Long customerId)
makeCustomerAddressDefault in interface CustomerAddressServicepublic void deleteCustomerAddressById(Long customerAddressId)
deleteCustomerAddressById in interface CustomerAddressServicepublic CustomerAddress findDefaultCustomerAddress(Long customerId)
findDefaultCustomerAddress in interface CustomerAddressServicepublic CustomerAddress create()
create in interface CustomerAddressServiceCopyright © 2015. All Rights Reserved.