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
DAOException
void createNote(Note note) throws DAOException
note
- to be createdDAOException
Note getNote(Integer noteId) throws DAOException
noteId
- Internal integer identifier for requested NoteNote
with given internal identifierDAOException
void updateNote(Note note) throws DAOException
note
- Note
to be updatedDAOException
void deleteNote(Note note) throws DAOException
note
- Note
to be deletedDAOException
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.