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(java.lang.Integer noteId)
Get note by internal identifier
|
java.util.List<Note> |
getNotes()
Get all notes
|
void |
updateNote(Note note)
Update note
|
java.util.List<Note> getNotes() throws DAOException
DAOException
void createNote(Note note) throws DAOException
note
- to be createdDAOException
Note getNote(java.lang.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 Inc.. All Rights Reserved.