T
- public class HibernateOpenmrsMetadataDAO<T extends BaseOpenmrsMetadata> extends HibernateOpenmrsObjectDAO<T> implements OpenmrsMetadataDAO<T>
mappedClass, sessionFactory
Constructor and Description |
---|
HibernateOpenmrsMetadataDAO(Class<T> mappedClass) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getAll(boolean includeRetired)
Return a list of metadata objects (optionally retired)
|
List<T> |
getAll(boolean includeRetired,
Integer firstResult,
Integer maxResults)
Return a lists of metadata objects optionally retired, with paging
|
int |
getAllCount(boolean includeRetired)
Returns total number of persistents (optionally retired)
|
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 includeRetired)
OpenmrsMetadataDAO
getAll
in interface OpenmrsMetadataDAO<T extends BaseOpenmrsMetadata>
includeRetired
- if true retired metadata is also returnedOpenmrsMetadataDAO.getAll(boolean)
public List<T> getAll(boolean includeRetired, Integer firstResult, Integer maxResults)
OpenmrsMetadataDAO
getAll
in interface OpenmrsMetadataDAO<T extends BaseOpenmrsMetadata>
OpenmrsMetadataDAO.getAll(boolean, java.lang.Integer, java.lang.Integer)
public int getAllCount(boolean includeRetired)
OpenmrsMetadataDAO
getAllCount
in interface OpenmrsMetadataDAO<T extends BaseOpenmrsMetadata>
OpenmrsMetadataDAO.getAllCount(boolean)
Copyright © 2024 OpenMRS Inc.. All rights reserved.