org.kuali.rice.krad.dao.impl
Class NoteDaoOjb
java.lang.Object
   org.springframework.dao.support.DaoSupport
org.springframework.dao.support.DaoSupport
       org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
           org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
               org.kuali.rice.krad.dao.impl.NoteDaoOjb
org.kuali.rice.krad.dao.impl.NoteDaoOjb
- All Implemented Interfaces: 
- PlatformAwareDao, NoteDao, org.springframework.beans.factory.InitializingBean
- public class NoteDaoOjb 
- extends PlatformAwareDaoBaseOjb- implements NoteDao
This class is the OJB implementation of the NoteDao interface.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
| Fields inherited from class org.springframework.dao.support.DaoSupport | 
| logger | 
 
| Constructor Summary | 
| NoteDaoOjb()Default constructor.
 | 
 
 
 
| Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport | 
| checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate | 
 
| Methods inherited from class org.springframework.dao.support.DaoSupport | 
| afterPropertiesSet, initDao | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NoteDaoOjb
public NoteDaoOjb()
- Default constructor.
 
save
public void save(Note note)
          throws org.springframework.dao.DataAccessException
- Saves a note to the DB using OJB.
 
- 
- Specified by:
- savein interface- NoteDao
 
- 
- Parameters:
- line-
- Throws:
- org.springframework.dao.DataAccessException
 
deleteNote
public void deleteNote(Note note)
                throws org.springframework.dao.DataAccessException
- Deletes a note from the DB using OJB.
 
- 
- Specified by:
- deleteNotein interface- NoteDao
 
- 
- Throws:
- org.springframework.dao.DataAccessException
 
findByremoteObjectId
public List<Note> findByremoteObjectId(String remoteObjectId)
- Retrieves document associated with a given object using OJB.
 
- 
- Specified by:
- findByremoteObjectIdin interface- NoteDao
 
- 
- Parameters:
- id-
- Returns:
 
getNoteByNoteId
public Note getNoteByNoteId(Long noteId)
- Description copied from interface: NoteDao
- Retrieve note by a given noteIdentifier
 
- 
- Specified by:
- getNoteByNoteIdin interface- NoteDao
 
- 
- Returns:
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.