org.kuali.rice.krad.dao.impl
Class NoteDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              extended by 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)

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
NoteDaoOjb()
          Default constructor.
 
Method Summary
 void deleteNote(Note note)
          Deletes a note from the DB using OJB.
 List<Note> findByremoteObjectId(String remoteObjectId)
          Retrieves document associated with a given object using OJB.
 Note getNoteByNoteId(Long noteId)
          Retrieve note by a given noteIdentifier
 void save(Note note)
          Saves a note to the DB using OJB.
 
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
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
 

Constructor Detail

NoteDaoOjb

public NoteDaoOjb()
Default constructor.

Method Detail

save

public void save(Note note)
          throws org.springframework.dao.DataAccessException
Saves a note to the DB using OJB.

Specified by:
save in 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:
deleteNote in 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:
findByremoteObjectId in interface NoteDao
Parameters:
id -
Returns:

getNoteByNoteId

public Note getNoteByNoteId(Long noteId)
Description copied from interface: NoteDao
Retrieve note by a given noteIdentifier

Specified by:
getNoteByNoteId in interface NoteDao
Returns:


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