com.atlassian.confluence.plugin.persistence.hibernate
Class HibernatePluginDataDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.confluence.plugin.persistence.hibernate.HibernatePluginDataDao
- All Implemented Interfaces:
- PluginDataDao, org.springframework.beans.factory.InitializingBean
public class HibernatePluginDataDao
- extends org.springframework.orm.hibernate.support.HibernateDaoSupport
- implements PluginDataDao
Hibernate implementation of a PluginDataDao, which stores plugin JARs in a database
for distribution among clustered application nodes.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
HibernatePluginDataDao
public HibernatePluginDataDao()
getPluginData
public PluginData getPluginData(java.lang.String key)
throws org.springframework.orm.ObjectRetrievalFailureException
- Specified by:
getPluginData
in interface PluginDataDao
- Throws:
org.springframework.orm.ObjectRetrievalFailureException
getAllPluginData
public java.util.Iterator getAllPluginData()
- Specified by:
getAllPluginData
in interface PluginDataDao
getAllPluginDataWithoutBinary
public java.util.Iterator<PluginDataWithoutBinary> getAllPluginDataWithoutBinary()
- Specified by:
getAllPluginDataWithoutBinary
in interface PluginDataDao
saveOrUpdate
public void saveOrUpdate(PluginData pluginData)
- Specified by:
saveOrUpdate
in interface PluginDataDao
remove
public void remove(java.lang.String key)
throws org.springframework.orm.ObjectRetrievalFailureException
- Specified by:
remove
in interface PluginDataDao
- Throws:
org.springframework.orm.ObjectRetrievalFailureException
pluginDataExists
public boolean pluginDataExists(java.lang.String key)
- Specified by:
pluginDataExists
in interface PluginDataDao
Copyright © 2003-2014 Atlassian. All Rights Reserved.