|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.confluence.setup.bandana.persistence.dao.hibernate.HibernateConfluenceBandanaRecordDao
public class HibernateConfluenceBandanaRecordDao
Created by IntelliJ IDEA. User: Tomd Date: 20/04/2006 Time: 14:09:32 To change this template use File | Settings | File Templates.
| Field Summary |
|---|
| Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateConfluenceBandanaRecordDao()
|
|
| Method Summary | |
|---|---|
Collection |
findForContext(String context)
Return all the records for the given context. |
ConfluenceBandanaRecord |
getRecord(String context,
String key)
Retrieve a record for the given key, return null if no record exists |
void |
remove(ConfluenceBandanaRecord record)
Remove a record by matching its key (context, key) |
void |
removeAllInContext(String context)
Remove all the records belonging to the given context |
void |
saveOrUpdate(ConfluenceBandanaRecord record)
Save the record, updating it if it already exists. |
| Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport |
|---|
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateConfluenceBandanaRecordDao()
| Method Detail |
|---|
public void saveOrUpdate(ConfluenceBandanaRecord record)
ConfluenceBandanaRecordDao
saveOrUpdate in interface ConfluenceBandanaRecordDaorecord - the ConfluenceBandanaRecord to update
public ConfluenceBandanaRecord getRecord(String context,
String key)
ConfluenceBandanaRecordDao
getRecord in interface ConfluenceBandanaRecordDaopublic void remove(ConfluenceBandanaRecord record)
ConfluenceBandanaRecordDao
remove in interface ConfluenceBandanaRecordDaopublic void removeAllInContext(String context)
ConfluenceBandanaRecordDao
removeAllInContext in interface ConfluenceBandanaRecordDaopublic Collection findForContext(String context)
ConfluenceBandanaRecordDao
findForContext in interface ConfluenceBandanaRecordDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||