|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.notification.impl.NoteServiceImpl
public class NoteServiceImpl
| Constructor Summary | |
|---|---|
NoteServiceImpl()
Public constructor. |
|
| Method Summary | |
|---|---|
void |
createNote(Note note)
Creates a new note. |
Note |
getNote(java.lang.Integer noteId)
Get note by internal identifier |
java.util.Collection<Note> |
getNotes()
Get all notes from the database. |
java.util.List<Note> |
getNotes(User user)
Get notes by user. |
void |
setNodeDAO(NoteDAO dao)
|
void |
updateNote(Note note)
Update a note. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoteServiceImpl()
| Method Detail |
|---|
public void setNodeDAO(NoteDAO dao)
public java.util.Collection<Note> getNotes()
throws java.lang.Exception
Collection of all notes from the database
java.lang.Exception
public void createNote(Note note)
throws java.lang.Exception
createNote in interface NoteServicenote - to be created
APIException
java.lang.Exception
public Note getNote(java.lang.Integer noteId)
throws java.lang.Exception
getNote in interface NoteServicenoteId - internal note identifier
APIException
java.lang.Exception
public void updateNote(Note note)
throws java.lang.Exception
updateNote in interface NoteServicenote - to be updated
APIException
java.lang.Exception
public java.util.List<Note> getNotes(User user)
throws java.lang.Exception
getNotes in interface NoteServiceuser -
APIException
java.lang.Exception
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||