T
- public class HibernateOpenmrsDataDAO<T extends BaseOpenmrsData> extends HibernateOpenmrsObjectDAO<T> implements OpenmrsDataDAO<T>
mappedClass, sessionFactory
Constructor and Description |
---|
HibernateOpenmrsDataDAO(Class<T> mappedClass) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getAll(boolean includeVoided)
Return a list of persistents (optionally voided)
|
List<T> |
getAll(boolean includeVoided,
Integer firstResult,
Integer maxResults)
Return a lists of persistents optionally voided, with paging
|
int |
getAllCount(boolean includeVoided)
Returns total number of persistents (optionally voided)
|
delete, getById, getByUuid, saveOrUpdate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
delete, getById, getByUuid, saveOrUpdate
public List<T> getAll(boolean includeVoided)
OpenmrsDataDAO
getAll
in interface OpenmrsDataDAO<T extends BaseOpenmrsData>
includeVoided
- if true voided persistents are also returnedOpenmrsDataDAO.getAll(boolean)
public List<T> getAll(boolean includeVoided, Integer firstResult, Integer maxResults)
OpenmrsDataDAO
getAll
in interface OpenmrsDataDAO<T extends BaseOpenmrsData>
OpenmrsDataDAO.getAll(boolean, java.lang.Integer, java.lang.Integer)
public int getAllCount(boolean includeVoided)
OpenmrsDataDAO
getAllCount
in interface OpenmrsDataDAO<T extends BaseOpenmrsData>
OpenmrsDataDAO.getAllCount(boolean)
Copyright © 2024 OpenMRS Inc.. All rights reserved.