Package | Description |
---|---|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.notification | |
org.openmrs.notification.impl |
Modifier and Type | Method and Description |
---|---|
Note |
NoteDAO.getNote(Integer noteId)
Get note by internal identifier
|
Note |
NoteDAO.voidNote(Note note,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<Note> |
NoteDAO.getNotes()
Get all notes
|
Modifier and Type | Method and Description |
---|---|
void |
NoteDAO.createNote(Note note)
Creates a new note record
|
void |
NoteDAO.deleteNote(Note note)
TODO: Couldn't find a voidNote method Delete note from database.
|
void |
NoteDAO.updateNote(Note note)
Update note
|
Note |
NoteDAO.voidNote(Note note,
String reason) |
Modifier and Type | Method and Description |
---|---|
Note |
HibernateNoteDAO.getNote(Integer id) |
Note |
HibernateNoteDAO.voidNote(Note note,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<Note> |
HibernateNoteDAO.getNotes() |
Modifier and Type | Method and Description |
---|---|
void |
HibernateNoteDAO.createNote(Note note) |
void |
HibernateNoteDAO.deleteNote(Note note) |
void |
HibernateNoteDAO.updateNote(Note note) |
Note |
HibernateNoteDAO.voidNote(Note note,
String reason) |
Modifier and Type | Method and Description |
---|---|
Note |
NoteService.getNote(Integer noteId)
Gets a note by internal primary key identifier
|
Note |
NoteService.voidNote(Note note,
String reason)
Mark a note as voided.
|
Modifier and Type | Method and Description |
---|---|
List<Note> |
NoteService.getNotes(User user)
Get all Notes for a given user, Does not return voided notes.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteService.createNote(Note note)
Creates a Note for a user.
|
void |
NoteService.updateNote(Note note)
Save or update the given
note in the database |
Note |
NoteService.voidNote(Note note,
String reason)
Mark a note as voided.
|
Modifier and Type | Method and Description |
---|---|
Note |
NoteServiceImpl.getNote(Integer noteId)
Get note by internal identifier
|
Note |
NoteServiceImpl.voidNote(Note note,
String reason) |
Modifier and Type | Method and Description |
---|---|
Collection<Note> |
NoteServiceImpl.getNotes()
Get all notes from the database.
|
List<Note> |
NoteServiceImpl.getNotes(User user)
Get notes by user.
|
Modifier and Type | Method and Description |
---|---|
void |
NoteServiceImpl.createNote(Note note)
Creates a new note.
|
void |
NoteServiceImpl.updateNote(Note note)
Update a note.
|
Note |
NoteServiceImpl.voidNote(Note note,
String reason) |
Copyright © 2016 OpenMRS Inc.. All rights reserved.