public class NoteDAOJpaImpl extends Object implements NoteDAO
Constructor and Description |
---|
NoteDAOJpaImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteAttachment(Attachment attachment) |
void |
deleteNote(Note note) |
Attachment |
findAttachment(String attachmentId) |
javax.persistence.EntityManager |
getEntityManager() |
Note |
getNoteByNoteId(String noteId) |
List |
getNotesByDocumentId(String documentId) |
void |
saveNote(Note note) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public NoteDAOJpaImpl()
public Note getNoteByNoteId(String noteId)
getNoteByNoteId
in interface NoteDAO
public List getNotesByDocumentId(String documentId)
getNotesByDocumentId
in interface NoteDAO
public void deleteNote(Note note)
deleteNote
in interface NoteDAO
public void deleteAttachment(Attachment attachment)
deleteAttachment
in interface NoteDAO
public Attachment findAttachment(String attachmentId)
findAttachment
in interface NoteDAO
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.