public interface MedicationDispenseDAO
Modifier and Type | Method and Description |
---|---|
void |
deleteMedicationDispense(MedicationDispense medicationDispense)
Remove a MedicationDispense from the database.
|
MedicationDispense |
getMedicationDispense(Integer medicationDispenseId)
Gets a MedicationDispense by id
|
List<MedicationDispense> |
getMedicationDispenseByCriteria(MedicationDispenseCriteria criteria)
Gets all MedicationDispense results that match the given criteria
|
MedicationDispense |
getMedicationDispenseByUuid(String uuid)
Gets a MedicationDispense based on the uuid
|
MedicationDispense |
saveMedicationDispense(MedicationDispense medicationDispense)
Saves a MedicationDispense
|
MedicationDispense getMedicationDispense(Integer medicationDispenseId)
medicationDispenseId
- the id of the MedicationDispense to retrieveMedicationDispense getMedicationDispenseByUuid(String uuid)
uuid
- - uuid of the MedicationDispense to be returnedList<MedicationDispense> getMedicationDispenseByCriteria(MedicationDispenseCriteria criteria)
criteria
- - the criteria for the returned MedicationDispense resultsMedicationDispense saveMedicationDispense(MedicationDispense medicationDispense)
medicationDispense
- - the MedicationDispense to be savedvoid deleteMedicationDispense(MedicationDispense medicationDispense)
medicationDispense
- the MedicationDispense to be purgedCopyright © 2024 OpenMRS Inc.. All rights reserved.