public class NoteDaoJpa extends Object implements NoteDao
| Constructor and Description |
|---|
NoteDaoJpa() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteNote(Note note)
Deletes a note from the DB using JPA.
|
List<Note> |
findByremoteObjectId(String remoteObjectId)
Retrieves document associated with a given object using JPA.
|
javax.persistence.EntityManager |
getEntityManager() |
Note |
getNoteByNoteId(Long noteId)
Retrieve note by a given noteIdentifier
|
void |
save(Note note)
Saves a note to the DB using JPA.
|
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public NoteDaoJpa()
public void save(Note note) throws org.springframework.dao.DataAccessException
public void deleteNote(Note note) throws org.springframework.dao.DataAccessException
deleteNote in interface NoteDaoorg.springframework.dao.DataAccessExceptionpublic List<Note> findByremoteObjectId(String remoteObjectId)
findByremoteObjectId in interface NoteDaopublic Note getNoteByNoteId(Long noteId)
NoteDaogetNoteByNoteId in interface NoteDaopublic javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager - the entityManager to setCopyright © 2005–2016 The Kuali Foundation. All rights reserved.