org.openmrs.api.db
Interface ActiveListDAO

All Known Implementing Classes:
HibernateActiveListDAO

public interface ActiveListDAO

Database methods for the ActiveListService

See Also:
Context, ActiveListService

Method Summary
<T extends ActiveListItem>
T
getActiveListItem(java.lang.Class<T> clazz, java.lang.Integer activeListItemId)
           
 ActiveListItem getActiveListItemByUuid(java.lang.String uuid)
           
<T extends ActiveListItem>
java.util.List<T>
getActiveListItems(java.lang.Class<T> clazz, Person p, ActiveListType type)
           
 java.util.List<ActiveListItem> getActiveListItems(Person p, ActiveListType type)
           
 ActiveListItem saveActiveListItem(ActiveListItem item)
           
 

Method Detail

getActiveListItems

java.util.List<ActiveListItem> getActiveListItems(Person p,
                                                  ActiveListType type)
                                                  throws DAOException
Throws:
DAOException
See Also:
org.openmrs.api.ActiveListService#getActiveListItems(org.openmrs.Patient, org.openmrs.activelist.ActiveListType)

getActiveListItems

<T extends ActiveListItem> java.util.List<T> getActiveListItems(java.lang.Class<T> clazz,
                                                                Person p,
                                                                ActiveListType type)
                                                            throws DAOException
Throws:
DAOException
See Also:
ActiveListService.getActiveListItems(Class, Person, ActiveListType)

getActiveListItem

<T extends ActiveListItem> T getActiveListItem(java.lang.Class<T> clazz,
                                               java.lang.Integer activeListItemId)
                                           throws DAOException
Throws:
DAOException
See Also:
ActiveListService.getActiveListItem(Class, Integer)

getActiveListItemByUuid

ActiveListItem getActiveListItemByUuid(java.lang.String uuid)
                                       throws DAOException
Throws:
DAOException
See Also:
ActiveListService.getActiveListItemByUuid(String)

saveActiveListItem

ActiveListItem saveActiveListItem(ActiveListItem item)
                                  throws DAOException
Throws:
DAOException
See Also:
ActiveListService.saveActiveListItem(ActiveListItem), ActiveListService.removeActiveListItem(ActiveListItem, java.util.Date), ActiveListService.voidActiveListItem(ActiveListItem, String)

OpenMRS-1.7.x

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