public class HibernateOrderDAO extends Object implements OrderDAO
OrderService
,
OrderDAO
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
HibernateOrderDAO() |
Modifier and Type | Method and Description |
---|---|
void |
deleteOrder(Order order) |
void |
deleteOrderType(OrderType orderType) |
List<OrderType> |
getAllOrderTypes(boolean includeRetired) |
<Ord extends Order> |
getOrder(Integer orderId,
Class<Ord> orderClassType) |
Order |
getOrderByUuid(String uuid)
Auto generated method comment
|
<Ord extends Order> |
getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
OrderType |
getOrderType(Integer orderTypeId) |
OrderType |
getOrderTypeByUuid(String uuid)
Auto generated method comment
|
Order |
saveOrder(Order order) |
OrderType |
saveOrderType(OrderType orderType) |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set session factory
|
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory
- public OrderType saveOrderType(OrderType orderType) throws DAOException
saveOrderType
in interface OrderDAO
DAOException
OrderDAO.saveOrderType(org.openmrs.OrderType)
,
OrderService.saveOrderType(org.openmrs.OrderType)
public OrderType getOrderType(Integer orderTypeId) throws DAOException
getOrderType
in interface OrderDAO
DAOException
OrderDAO.getOrderType(java.lang.Integer)
,
OrderService.getOrderType(java.lang.Integer)
public List<OrderType> getAllOrderTypes(boolean includeRetired) throws DAOException
getAllOrderTypes
in interface OrderDAO
DAOException
OrderService.getOrderTypes()
public void deleteOrderType(OrderType orderType) throws DAOException
deleteOrderType
in interface OrderDAO
DAOException
OrderDAO.deleteOrderType(org.openmrs.OrderType)
,
OrderService.purgeOrderType(org.openmrs.OrderType)
public Order saveOrder(Order order) throws DAOException
saveOrder
in interface OrderDAO
DAOException
OrderDAO.saveOrder(org.openmrs.Order)
,
OrderService.saveOrder(org.openmrs.Order)
public void deleteOrder(Order order) throws DAOException
deleteOrder
in interface OrderDAO
DAOException
OrderDAO.deleteOrder(org.openmrs.Order)
,
OrderService.purgeOrder(org.openmrs.Order)
public <Ord extends Order> Ord getOrder(Integer orderId, Class<Ord> orderClassType) throws DAOException
getOrder
in interface OrderDAO
DAOException
OrderService.getOrder(java.lang.Integer)
public <Ord extends Order> List<Ord> getOrders(Class<Ord> orderClassType, List<Patient> patients, List<Concept> concepts, OrderService.ORDER_STATUS status, List<User> orderers, List<Encounter> encounters, List<OrderType> orderTypes)
getOrders
in interface OrderDAO
OrderDAO.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)
,
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)
public Order getOrderByUuid(String uuid)
OrderDAO
getOrderByUuid
in interface OrderDAO
OrderDAO.getOrderByUuid(java.lang.String)
public OrderType getOrderTypeByUuid(String uuid)
OrderDAO
getOrderTypeByUuid
in interface OrderDAO
OrderDAO.getOrderTypeByUuid(java.lang.String)
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.