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
DAOExceptionvoid createNote(Note note) throws DAOException
note - to be createdDAOExceptionNote getNote(java.lang.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 Inc.. All Rights Reserved.