org.openxma.dsl.reference.service.impl
Class OrderServiceImpl
java.lang.Object
org.openxma.dsl.reference.service.impl.OrderServiceImpl
- All Implemented Interfaces:
- OrderService
@Service(value="orderService")
public class OrderServiceImpl
- extends java.lang.Object
- implements OrderService
| 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
orderDao
protected OrderDao orderDao
customerDao
protected CustomerDao customerDao
orderItemDao
protected OrderItemDao orderItemDao
productDao
protected ProductDao productDao
OrderServiceImpl
public OrderServiceImpl()
setOrderDao
public void setOrderDao(OrderDao orderDao)
setCustomerDao
public void setCustomerDao(CustomerDao customerDao)
setOrderItemDao
public void setOrderItemDao(OrderItemDao orderItemDao)
setProductDao
public void setProductDao(ProductDao productDao)
save
@Transactional
public OrderView save(OrderView orderView)
- Specified by:
save in interface OrderService
loadOrderView
@Transactional(readOnly=true)
public OrderView loadOrderView(java.lang.String oid)
- Specified by:
loadOrderView in interface OrderService
update
@Transactional
public void update(OrderView orderView)
- Specified by:
update in interface OrderService
deleteOrderView
@Transactional
public void deleteOrderView(java.lang.String oid)
- Specified by:
deleteOrderView in interface OrderService
FindByStateAndDate
@Transactional(readOnly=true)
public OrderView FindByStateAndDate(StateAndDateQuery stateAndDateQuery)
- Specified by:
FindByStateAndDate in interface OrderService
findByCustomerLastNameOrOrderNumber
@Transactional(readOnly=true)
public OrderView findByCustomerLastNameOrOrderNumber(CustomerLastNameOrOrderNumberQuery customerLastNameOrOrderNumberQuery)
- Specified by:
findByCustomerLastNameOrOrderNumber in interface OrderService
findByCustomerOrOrderNumber
@Transactional(readOnly=true)
public OrderView findByCustomerOrOrderNumber(CustomerOrOrderNumberQuery customerOrOrderNumberQuery)
- Specified by:
findByCustomerOrOrderNumber in interface OrderService
findByOrderNumber
@Transactional(readOnly=true)
public OrderView findByOrderNumber(OrderNumberQuery orderNumberQuery)
- Specified by:
findByOrderNumber in interface OrderService
findByOrderNumberAndCustomerFirstName
@Transactional(readOnly=true)
public OrderView findByOrderNumberAndCustomerFirstName(OrderNumberAndCustomerFirstNameQuery orderNumberAndCustomerFirstNameQuery)
- Specified by:
findByOrderNumberAndCustomerFirstName in interface OrderService
readOrderStateByCustomerAndDate
@Transactional(readOnly=true)
public java.util.List<OrderStateView> readOrderStateByCustomerAndDate(java.lang.Long customerId,
java.util.Date reportDate)
- Specified by:
readOrderStateByCustomerAndDate in interface OrderService
findAllOrderStatesBetweenDate
@Transactional(readOnly=true)
public java.util.Set<Order> findAllOrderStatesBetweenDate(Order order,
java.util.Date from,
java.util.Date to)
- Specified by:
findAllOrderStatesBetweenDate in interface OrderService
Copyright © 2010. All Rights Reserved.