|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
public class NoteDaoOjb
This class is the OJB implementation of the NoteDao interface.
| Field Summary | |
|---|---|
private static org.apache.log4j.Logger |
LOG
|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
NoteDaoOjb()
Default constructor. |
|
| Method Summary | |
|---|---|
private void |
defaultOrderBy(org.apache.ojb.broker.query.QueryByCriteria query)
This method defines the default sort for notes |
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. |
private Collection<Note> |
findCollection(org.apache.ojb.broker.query.Query query)
Retrieve a Collection of note instances found by a query. |
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 |
| Field Detail |
|---|
private static org.apache.log4j.Logger LOG
| Constructor Detail |
|---|
public NoteDaoOjb()
| Method Detail |
|---|
public void save(Note note)
throws org.springframework.dao.DataAccessException
save in interface NoteDaoline -
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 NoteDaoid -
public Note getNoteByNoteId(Long noteId)
NoteDao
getNoteByNoteId in interface NoteDaoprivate void defaultOrderBy(org.apache.ojb.broker.query.QueryByCriteria query)
query -
private Collection<Note> findCollection(org.apache.ojb.broker.query.Query query)
throws org.springframework.dao.DataAccessException
query -
org.springframework.dao.DataAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||