|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.confluence.pages.attachments.DefaultImageDetailsDao
public class DefaultImageDetailsDao
Stores and retrieves ImageDetails via Hibernate.
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
DefaultImageDetailsDao()
|
|
| Method Summary | |
|---|---|
ImageDetails |
getImageDetails(Attachment attachment)
Fetch the image details of a specific attachment from the database. |
void |
removeDetailsFor(Attachment attachment)
Remove any stored ImageDetails for the given Attachment. |
void |
save(ImageDetails imageDetails)
Save the image details of an attachment. |
| 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 |
|---|
public DefaultImageDetailsDao()
| Method Detail |
|---|
public ImageDetails getImageDetails(Attachment attachment)
ImageDetailsDao
getImageDetails in interface ImageDetailsDaoattachment - for which the image details will be retrieved
public void save(ImageDetails imageDetails)
ImageDetailsDao
save in interface ImageDetailsDaoimageDetails - to save.public void removeDetailsFor(Attachment attachment)
ImageDetailsDaoImageDetails for the given Attachment.
removeDetailsFor in interface ImageDetailsDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||