|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HL7DAO
OpenMRS HL7 database related methods This class shouldn't be instantiated by itself. Use the
Context
HL7Service
Method Summary | ||
---|---|---|
java.lang.Integer |
countHL7s(java.lang.Class clazz,
java.lang.Integer messageState,
java.lang.String query)
Returns the amount of HL7 items in the database |
|
void |
deleteHL7InArchive(HL7InArchive hl7InArchive)
|
|
void |
deleteHL7InError(HL7InError hl7InError)
|
|
void |
deleteHL7InQueue(HL7InQueue hl7InQueue)
|
|
void |
deleteHL7Source(HL7Source hl7Source)
|
|
void |
garbageCollect()
|
|
java.util.List<HL7InArchive> |
getAllHL7InArchives()
|
|
java.util.List<HL7InArchive> |
getAllHL7InArchives(java.lang.Integer maxResults)
Returns hl7 in archives but with a limited resultset size to save memory |
|
java.util.List<HL7InError> |
getAllHL7InErrors()
|
|
java.util.List<HL7InQueue> |
getAllHL7InQueues()
|
|
java.util.List<HL7Source> |
getAllHL7Sources()
|
|
|
getHL7Batch(java.lang.Class clazz,
int start,
int length,
java.lang.Integer messageState,
java.lang.String query)
Returns hl7s based on batch settings and filtered by a query |
|
HL7InArchive |
getHL7InArchive(java.lang.Integer hl7InArchiveId)
|
|
java.util.List<HL7InArchive> |
getHL7InArchiveByState(java.lang.Integer state)
|
|
HL7InArchive |
getHL7InArchiveByUuid(java.lang.String uuid)
|
|
java.util.List<HL7InArchive> |
getHL7InArchivesToMigrate()
provides a list of archives to be migrated |
|
HL7InError |
getHL7InError(java.lang.Integer hl7InErrorId)
|
|
HL7InQueue |
getHL7InQueue(java.lang.Integer hl7InQueueId)
|
|
java.util.List<HL7InQueue> |
getHL7InQueueByState(java.lang.Integer stateId)
|
|
HL7Source |
getHL7Source(java.lang.Integer hl7SourceId)
|
|
HL7Source |
getHL7SourceByName(java.lang.String name)
|
|
HL7InQueue |
getNextHL7InQueue()
|
|
HL7InArchive |
saveHL7InArchive(HL7InArchive hl7InArchive)
|
|
HL7InError |
saveHL7InError(HL7InError hl7InError)
|
|
HL7InQueue |
saveHL7InQueue(HL7InQueue hl7InQueue)
|
|
HL7Source |
saveHL7Source(HL7Source hl7Source)
|
Method Detail |
---|
HL7Source saveHL7Source(HL7Source hl7Source) throws DAOException
DAOException
HL7Service.saveHL7Source(org.openmrs.hl7.HL7Source)
HL7Source getHL7Source(java.lang.Integer hl7SourceId) throws DAOException
DAOException
HL7Service.getHL7Source(Integer)
HL7Source getHL7SourceByName(java.lang.String name) throws DAOException
DAOException
HL7Service.getHL7SourceByName(String)
java.util.List<HL7Source> getAllHL7Sources() throws DAOException
DAOException
HL7Service.getAllHL7Sources()
void deleteHL7Source(HL7Source hl7Source) throws DAOException
DAOException
HL7Service.deleteHL7Source(org.openmrs.hl7.HL7Source)
HL7InQueue saveHL7InQueue(HL7InQueue hl7InQueue) throws DAOException
DAOException
HL7Service.saveHL7InQueue(org.openmrs.hl7.HL7InQueue)
HL7InQueue getHL7InQueue(java.lang.Integer hl7InQueueId) throws DAOException
DAOException
HL7Service.getHL7InQueue(Integer)
java.util.List<HL7InQueue> getAllHL7InQueues() throws DAOException
DAOException
HL7Service.getAllHL7InQueues()
HL7InQueue getNextHL7InQueue() throws DAOException
DAOException
HL7Service.getNextHL7InQueue()
void deleteHL7InQueue(HL7InQueue hl7InQueue) throws DAOException
DAOException
HL7Service.deleteHL7InQueue(org.openmrs.hl7.HL7InQueue)
<T> java.util.List<T> getHL7Batch(java.lang.Class clazz, int start, int length, java.lang.Integer messageState, java.lang.String query)
T
- clazz
- start
- length
- query
-
java.lang.Integer countHL7s(java.lang.Class clazz, java.lang.Integer messageState, java.lang.String query)
clazz
- messageState
- query
-
HL7InArchive saveHL7InArchive(HL7InArchive hl7InArchive) throws DAOException
DAOException
HL7Service.saveHL7InArchive(org.openmrs.hl7.HL7InArchive)
HL7InArchive getHL7InArchive(java.lang.Integer hl7InArchiveId) throws DAOException
DAOException
HL7Service.getHL7InArchive(Integer)
HL7InArchive getHL7InArchiveByUuid(java.lang.String uuid) throws DAOException
DAOException
HL7Service.getHL7InArchiveByUuid(String)
java.util.List<HL7InArchive> getHL7InArchiveByState(java.lang.Integer state) throws DAOException
DAOException
HL7Service.getHL7InArchiveByState(Integer state)
java.util.List<HL7InQueue> getHL7InQueueByState(java.lang.Integer stateId) throws DAOException
DAOException
HL7Service.getHL7InQueueByState(Integer stateId)
java.util.List<HL7InArchive> getAllHL7InArchives() throws DAOException
DAOException
HL7Service.getAllHL7InArchives()
java.util.List<HL7InArchive> getAllHL7InArchives(java.lang.Integer maxResults)
maxResults
- the maximum number of rows to be returned from the database
void deleteHL7InArchive(HL7InArchive hl7InArchive) throws DAOException
DAOException
HL7Service.deleteHL7InArchive(org.openmrs.hl7.HL7InArchive)
java.util.List<HL7InArchive> getHL7InArchivesToMigrate()
HL7InError saveHL7InError(HL7InError hl7InError) throws DAOException
DAOException
HL7Service.saveHL7InError(org.openmrs.hl7.HL7InError)
HL7InError getHL7InError(java.lang.Integer hl7InErrorId) throws DAOException
DAOException
HL7Service.getHL7InError(Integer)
java.util.List<HL7InError> getAllHL7InErrors() throws DAOException
DAOException
HL7Service.getAllHL7InErrors()
void deleteHL7InError(HL7InError hl7InError) throws DAOException
DAOException
HL7Service.deleteHL7InError(org.openmrs.hl7.HL7InError)
void garbageCollect()
HL7Service.garbageCollect()
|
OpenMRS-1.7.x | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |