com.atlassian.bamboo.bandana
Class BandanaItemDaoImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.bamboo.bandana.BandanaItemDaoImpl
All Implemented Interfaces:
BandanaItemDao, org.springframework.beans.factory.InitializingBean

public class BandanaItemDaoImpl
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements BandanaItemDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
BandanaItemDaoImpl()
           
 
Method Summary
 java.util.Collection<BandanaItem> findBandanaItems(BambooBandanaContext bandanaContext)
           
 java.util.Collection<java.lang.String> findBandanaKeys(BambooBandanaContext bandanaContext)
           
 java.util.Collection<BandanaItem> getAllBandanaItems()
           
 BandanaItem getBandanaItem(BambooBandanaContext bandanaContext, java.lang.String key)
           
 void remove(BambooBandanaContext bandanaContext, java.lang.String key)
           
 void removeAllFromContext(BambooBandanaContext bandanaContext)
           
 void save(BandanaItem bandanaItem)
           
 void saveOrUpdate(BambooBandanaContext bandanaContext, java.lang.String key, java.lang.String xStreamData)
           
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
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

BandanaItemDaoImpl

public BandanaItemDaoImpl()
Method Detail

getBandanaItem

public BandanaItem getBandanaItem(BambooBandanaContext bandanaContext,
                                  java.lang.String key)
Specified by:
getBandanaItem in interface BandanaItemDao

findBandanaItems

@NotNull
public java.util.Collection<BandanaItem> findBandanaItems(BambooBandanaContext bandanaContext)
Specified by:
findBandanaItems in interface BandanaItemDao

findBandanaKeys

@NotNull
public java.util.Collection<java.lang.String> findBandanaKeys(BambooBandanaContext bandanaContext)
Specified by:
findBandanaKeys in interface BandanaItemDao

getAllBandanaItems

@NotNull
public java.util.Collection<BandanaItem> getAllBandanaItems()
Specified by:
getAllBandanaItems in interface BandanaItemDao

save

public void save(@NotNull
                 BandanaItem bandanaItem)
Specified by:
save in interface BandanaItemDao

saveOrUpdate

public void saveOrUpdate(BambooBandanaContext bandanaContext,
                         java.lang.String key,
                         java.lang.String xStreamData)
Specified by:
saveOrUpdate in interface BandanaItemDao

removeAllFromContext

public void removeAllFromContext(BambooBandanaContext bandanaContext)
Specified by:
removeAllFromContext in interface BandanaItemDao

remove

public void remove(BambooBandanaContext bandanaContext,
                   java.lang.String key)
Specified by:
remove in interface BandanaItemDao


Copyright © 2012 Atlassian. All Rights Reserved.