org.kuali.rice.kew.notes.dao.impl
Class NoteDAOJpaImpl

java.lang.Object
  extended by org.kuali.rice.kew.notes.dao.impl.NoteDAOJpaImpl
All Implemented Interfaces:
NoteDAO

public class NoteDAOJpaImpl
extends Object
implements NoteDAO


Constructor Summary
NoteDAOJpaImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoteDAOJpaImpl

public NoteDAOJpaImpl()
Method Detail

getNoteByNoteId

public Note getNoteByNoteId(String noteId)
Specified by:
getNoteByNoteId in interface NoteDAO

getNotesByDocumentId

public List getNotesByDocumentId(String documentId)
Specified by:
getNotesByDocumentId in interface NoteDAO

saveNote

public void saveNote(Note note)
Specified by:
saveNote in interface NoteDAO

deleteNote

public void deleteNote(Note note)
Specified by:
deleteNote in interface NoteDAO

deleteAttachment

public void deleteAttachment(Attachment attachment)
Specified by:
deleteAttachment in interface NoteDAO

findAttachment

public Attachment findAttachment(String attachmentId)
Specified by:
findAttachment in interface NoteDAO

getEntityManager

public javax.persistence.EntityManager getEntityManager()

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.