public class HibernatePluginDataDao extends Object implements PluginDataDao
Constructor and Description |
---|
HibernatePluginDataDao(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
Iterator<PluginData> |
getAllPluginData() |
Iterator<PluginDataWithoutBinary> |
getAllPluginDataWithoutBinary()
Same as calling
PluginDataDao.getAllPluginData() , except that this does not load the plugin binary into memory. |
PluginData |
getPluginData(String key) |
PluginDataWithoutBinary |
getPluginDataWithoutBinary(String key)
Same as calling
PluginDataDao.getPluginData(String) , except that this does not load the plugin binary into memory. |
boolean |
pluginDataExists(String key) |
void |
remove(String key) |
void |
saveOrUpdate(PluginData pluginData) |
public HibernatePluginDataDao(org.hibernate.SessionFactory sessionFactory)
public PluginData getPluginData(String key) throws org.springframework.orm.ObjectRetrievalFailureException
getPluginData
in interface PluginDataDao
org.springframework.orm.ObjectRetrievalFailureException
public PluginDataWithoutBinary getPluginDataWithoutBinary(String key)
PluginDataDao
PluginDataDao.getPluginData(String)
, except that this does not load the plugin binary into memory.getPluginDataWithoutBinary
in interface PluginDataDao
public Iterator<PluginData> getAllPluginData()
getAllPluginData
in interface PluginDataDao
public Iterator<PluginDataWithoutBinary> getAllPluginDataWithoutBinary()
PluginDataDao
PluginDataDao.getAllPluginData()
, except that this does not load the plugin binary into memory.getAllPluginDataWithoutBinary
in interface PluginDataDao
public void saveOrUpdate(PluginData pluginData)
saveOrUpdate
in interface PluginDataDao
public void remove(String key) throws org.springframework.orm.ObjectRetrievalFailureException
remove
in interface PluginDataDao
org.springframework.orm.ObjectRetrievalFailureException
public boolean pluginDataExists(String key)
pluginDataExists
in interface PluginDataDao
Copyright © 2003–2020 Atlassian. All rights reserved.