org.kuali.rice.kns.dao.impl
Class AttachmentDaoJpa

java.lang.Object
  extended by org.kuali.rice.kns.dao.impl.AttachmentDaoJpa
All Implemented Interfaces:
AttachmentDao

public class AttachmentDaoJpa
extends Object
implements AttachmentDao

This class is the JPA implementation of the NoteDao interface.

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private  javax.persistence.EntityManager entityManager
           
private static org.apache.log4j.Logger LOG
           
 
Constructor Summary
AttachmentDaoJpa()
           
 
Method Summary
 Attachment getAttachmentByNoteId(Long noteId)
          Retrieve attachment by a given noteIdentifier
 javax.persistence.EntityManager getEntityManager()
           
 void setEntityManager(javax.persistence.EntityManager entityManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static org.apache.log4j.Logger LOG

entityManager

private javax.persistence.EntityManager entityManager
Constructor Detail

AttachmentDaoJpa

public AttachmentDaoJpa()
Method Detail

getAttachmentByNoteId

public Attachment getAttachmentByNoteId(Long noteId)
Description copied from interface: AttachmentDao
Retrieve attachment by a given noteIdentifier

Specified by:
getAttachmentByNoteId in interface AttachmentDao
Returns:

getEntityManager

public javax.persistence.EntityManager getEntityManager()
Returns:
the entityManager

setEntityManager

public void setEntityManager(javax.persistence.EntityManager entityManager)
Parameters:
entityManager - the entityManager to set


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.