Class CustomerPhoneServiceImpl
java.lang.Object
org.broadleafcommerce.profile.core.service.CustomerPhoneServiceImpl
- All Implemented Interfaces:
CustomerPhoneService
@Service("blCustomerPhoneService")
public class CustomerPhoneServiceImpl
extends Object
implements CustomerPhoneService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()voiddeleteCustomerPhoneById(Long customerPhoneId) findDefaultCustomerPhone(Long customerId) voidmakeCustomerPhoneDefault(Long customerPhoneId, Long customerId) readActiveCustomerPhonesByCustomerId(Long customerId) readAllCustomerPhonesByCustomerId(Long customerId) readCustomerPhoneById(Long customerPhoneId) saveCustomerPhone(CustomerPhone customerPhone)
-
Field Details
-
customerPhoneDao
-
-
Constructor Details
-
CustomerPhoneServiceImpl
public CustomerPhoneServiceImpl()
-
-
Method Details
-
saveCustomerPhone
@Transactional("blTransactionManager") public CustomerPhone saveCustomerPhone(CustomerPhone customerPhone) - Specified by:
saveCustomerPhonein interfaceCustomerPhoneService
-
readActiveCustomerPhonesByCustomerId
- Specified by:
readActiveCustomerPhonesByCustomerIdin interfaceCustomerPhoneService
-
readCustomerPhoneById
- Specified by:
readCustomerPhoneByIdin interfaceCustomerPhoneService
-
makeCustomerPhoneDefault
@Transactional("blTransactionManager") public void makeCustomerPhoneDefault(Long customerPhoneId, Long customerId) - Specified by:
makeCustomerPhoneDefaultin interfaceCustomerPhoneService
-
deleteCustomerPhoneById
- Specified by:
deleteCustomerPhoneByIdin interfaceCustomerPhoneService
-
findDefaultCustomerPhone
- Specified by:
findDefaultCustomerPhonein interfaceCustomerPhoneService
-
readAllCustomerPhonesByCustomerId
- Specified by:
readAllCustomerPhonesByCustomerIdin interfaceCustomerPhoneService
-
create
- Specified by:
createin interfaceCustomerPhoneService
-