org.kuali.rice.krad.dao.impl
Class NoteDaoOjb
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
org.kuali.rice.krad.dao.impl.NoteDaoOjb
- All Implemented Interfaces:
- org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, NoteDao, org.springframework.beans.factory.InitializingBean
public class NoteDaoOjb
- extends org.kuali.rice.core.framework.persistence.ojb.dao.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. |
Method Summary |
void |
deleteNote(org.kuali.rice.krad.bo.Note note)
Deletes a note from the DB using OJB. |
List<org.kuali.rice.krad.bo.Note> |
findByremoteObjectId(String remoteObjectId)
Retrieves document associated with a given object using OJB. |
org.kuali.rice.krad.bo.Note |
getNoteByNoteId(Long noteId)
Retrieve note by a given noteIdentifier |
void |
save(org.kuali.rice.krad.bo.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 |
NoteDaoOjb
public NoteDaoOjb()
- Default constructor.
save
public void save(org.kuali.rice.krad.bo.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(org.kuali.rice.krad.bo.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<org.kuali.rice.krad.bo.Note> findByremoteObjectId(String remoteObjectId)
- Retrieves document associated with a given object using OJB.
- Specified by:
findByremoteObjectId
in interface NoteDao
- Parameters:
id
-
- Returns:
getNoteByNoteId
public org.kuali.rice.krad.bo.Note getNoteByNoteId(Long noteId)
- Description copied from interface:
NoteDao
- Retrieve note by a given noteIdentifier
- Specified by:
getNoteByNoteId
in interface NoteDao
- Returns:
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.