org.openmrs.api.db
Interface OrderDAO

All Known Implementing Classes:
HibernateOrderDAO

public interface OrderDAO

Order-related database functions

This class should never be used directly. It should only be used through the OrderService

See Also:
OrderService

Method Summary
 void deleteOrder(Order order)
           
 void deleteOrderType(OrderType orderType)
           
 java.util.List<OrderType> getAllOrderTypes(boolean includeRetired)
           
<Ord extends Order>
Ord
getOrder(java.lang.Integer orderId, java.lang.Class<Ord> classType)
           
 Order getOrderByUuid(java.lang.String uuid)
          Auto generated method comment
<Ord extends Order>
java.util.List<Ord>
getOrders(java.lang.Class<Ord> orderClassType, java.util.List<Patient> patients, java.util.List<Concept> concepts, OrderService.ORDER_STATUS status, java.util.List<User> orderers, java.util.List<Encounter> encounters, java.util.List<OrderType> orderTypes)
           
 OrderType getOrderType(java.lang.Integer orderTypeId)
           
 OrderType getOrderTypeByUuid(java.lang.String uuid)
          Auto generated method comment
 Order saveOrder(Order order)
           
 OrderType saveOrderType(OrderType orderType)
           
 

Method Detail

saveOrderType

OrderType saveOrderType(OrderType orderType)
                        throws DAOException
Throws:
DAOException
See Also:
OrderService.saveOrderType(OrderType)

deleteOrderType

void deleteOrderType(OrderType orderType)
                     throws DAOException
Throws:
DAOException
See Also:
OrderService.purgeOrderType(OrderType)

getAllOrderTypes

java.util.List<OrderType> getAllOrderTypes(boolean includeRetired)
                                           throws DAOException
Throws:
DAOException
See Also:
OrderService.getAllOrderTypes(boolean)

getOrderType

OrderType getOrderType(java.lang.Integer orderTypeId)
                       throws DAOException
Throws:
DAOException
See Also:
OrderService.getOrderType(Integer)

saveOrder

Order saveOrder(Order order)
                throws DAOException
Throws:
DAOException
See Also:
OrderService.saveOrder(Order)

deleteOrder

void deleteOrder(Order order)
                 throws DAOException
Throws:
DAOException
See Also:
OrderService.purgeOrder(Order)

getOrder

<Ord extends Order> Ord getOrder(java.lang.Integer orderId,
                                 java.lang.Class<Ord> classType)
                           throws DAOException
Throws:
DAOException
See Also:
OrderService.getOrder(Integer, Class), OrderService.getOrder(Integer), OrderService.getDrugOrder(Integer)

getOrders

<Ord extends Order> java.util.List<Ord> getOrders(java.lang.Class<Ord> orderClassType,
                                                  java.util.List<Patient> patients,
                                                  java.util.List<Concept> concepts,
                                                  OrderService.ORDER_STATUS status,
                                                  java.util.List<User> orderers,
                                                  java.util.List<Encounter> encounters,
                                                  java.util.List<OrderType> orderTypes)
See Also:
OrderService.getOrders(java.lang.Class, java.util.List, java.util.List, org.openmrs.api.OrderService.ORDER_STATUS, java.util.List, java.util.List, java.util.List)

getOrderByUuid

Order getOrderByUuid(java.lang.String uuid)
Auto generated method comment

Parameters:
uuid -
Returns:

getOrderTypeByUuid

OrderType getOrderTypeByUuid(java.lang.String uuid)
Auto generated method comment

Parameters:
uuid -
Returns:

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change