org.openxma.dsl.reference.service.impl
Class CustomerServiceImpl
java.lang.Object
org.openxma.dsl.reference.service.impl.CustomerServiceImpl
- All Implemented Interfaces:
- CustomerService
@Service(value="customerService")
public class CustomerServiceImpl
- extends java.lang.Object
- implements CustomerService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
mapper
protected org.openxma.dsl.platform.service.Mapper mapper
customerDao
protected CustomerDao customerDao
addressDao
protected AddressDao addressDao
orderDao
protected OrderDao orderDao
orderItemDao
protected OrderItemDao orderItemDao
productDao
protected ProductDao productDao
CustomerServiceImpl
public CustomerServiceImpl()
setCustomerDao
public void setCustomerDao(CustomerDao customerDao)
setAddressDao
public void setAddressDao(AddressDao addressDao)
setOrderDao
public void setOrderDao(OrderDao orderDao)
setOrderItemDao
public void setOrderItemDao(OrderItemDao orderItemDao)
setProductDao
public void setProductDao(ProductDao productDao)
save
@Transactional
public CustomerView save(CustomerView customerView)
- Specified by:
save in interface CustomerService
loadCustomerView
@Transactional(readOnly=true)
public CustomerView loadCustomerView(java.lang.String oid)
- Specified by:
loadCustomerView in interface CustomerService
update
@Transactional
public void update(CustomerView customerView)
- Specified by:
update in interface CustomerService
deleteCustomerView
@Transactional
public void deleteCustomerView(java.lang.String oid)
- Specified by:
deleteCustomerView in interface CustomerService
findAllByFirstNameAndLastName
@Transactional(readOnly=true)
public java.util.List<CustomerView> findAllByFirstNameAndLastName(FirstNameAndLastNameQuery firstNameAndLastNameQuery)
- Specified by:
findAllByFirstNameAndLastName in interface CustomerService
findAllByEmailAdressOrBirthDate
@Transactional(readOnly=true)
public java.util.List<CustomerView> findAllByEmailAdressOrBirthDate(EmailAdressOrBirthDateQuery emailAdressOrBirthDateQuery)
- Specified by:
findAllByEmailAdressOrBirthDate in interface CustomerService
findByFirstOrLastNameJoinOrder
@Transactional(readOnly=true)
public CustomerView findByFirstOrLastNameJoinOrder(FirstOrLastNameJoinOrderQuery firstOrLastNameJoinOrderQuery)
- Specified by:
findByFirstOrLastNameJoinOrder in interface CustomerService
findAllByLastNameJoinOrdersDate
@Transactional(readOnly=true)
public java.util.List<CustomerView> findAllByLastNameJoinOrdersDate(LastNameJoinOrdersDateQuery lastNameJoinOrdersDateQuery)
- Specified by:
findAllByLastNameJoinOrdersDate in interface CustomerService
findByNamedQueryCustomerLastName
@Transactional(readOnly=true)
public java.util.List<Customer> findByNamedQueryCustomerLastName(java.lang.String lastName)
- Specified by:
findByNamedQueryCustomerLastName in interface CustomerService
Copyright © 2010. All Rights Reserved.