|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openmrs.api.db.hibernate.HibernateNoteDAO
public class HibernateNoteDAO
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
|
| Constructor Summary | |
|---|---|
HibernateNoteDAO()
|
|
| Method Summary | |
|---|---|
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 id)
Get note by internal identifier |
java.util.List<Note> |
getNotes()
Get all notes |
void |
setSessionFactory(org.hibernate.SessionFactory sessionFactory)
Set session factory |
void |
updateNote(Note note)
Update note |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public HibernateNoteDAO()
| Method Detail |
|---|
public void setSessionFactory(org.hibernate.SessionFactory sessionFactory)
sessionFactory - public java.util.List<Note> getNotes()
NoteDAO
getNotes in interface NoteDAOpublic Note getNote(java.lang.Integer id)
NoteDAO
getNote in interface NoteDAOid - Internal integer identifier for requested Note
Note with given internal identifierNoteDAO.getNote(Integer)public void createNote(Note note)
NoteDAO
createNote in interface NoteDAOnote - to be createdpublic void updateNote(Note note)
NoteDAO
updateNote in interface NoteDAOnote - Note to be updated
public void deleteNote(Note note)
throws DAOException
NoteDAO
deleteNote in interface NoteDAOnote - Note to be deleted
DAOException
|
OpenMRS-1.7.x | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||