public interface NoteDAO
| Modifier and Type | Method and Description |
|---|---|
void |
createNote(Note note)
Creates a new note record
|
void |
deleteNote(Note note)
TODO: Couldn't find a voidNote method Delete note from database.
|
Note |
getNote(Integer noteId)
Get note by internal identifier
|
List<Note> |
getNotes()
Get all notes
|
void |
updateNote(Note note)
Update note
|
List<Note> getNotes() throws DAOException
DAOExceptionvoid createNote(Note note) throws DAOException
note - to be createdDAOExceptionNote getNote(Integer noteId) throws DAOException
noteId - Internal integer identifier for requested NoteNote with given internal identifierDAOExceptionvoid updateNote(Note note) throws DAOException
note - Note to be updatedDAOExceptionvoid deleteNote(Note note) throws DAOException
note - Note to be deletedDAOExceptionCopyright © 2018 OpenMRS LLC.. All Rights Reserved.