com.webstersmalley.picweb.online.db
Class CategoryDaoHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.webstersmalley.picweb.online.db.CategoryDaoHibernate
- All Implemented Interfaces:
- CategoryDao, org.springframework.beans.factory.InitializingBean
public class CategoryDaoHibernate
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
- implements CategoryDao
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
checkDaoConfig, closeSessionIfNecessary, 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 |
CategoryDaoHibernate
public CategoryDaoHibernate()
setPictureDao
public void setPictureDao(PictureDao pictureDao)
loadCategories
public java.util.Collection loadCategories()
- Specified by:
loadCategories
in interface CategoryDao
getCategory
public Category getCategory(java.lang.String name)
- Specified by:
getCategory
in interface CategoryDao
createAndStoreCategory
public void createAndStoreCategory(Category cat)
- Specified by:
createAndStoreCategory
in interface CategoryDao
getCategory
public Category getCategory(int id)
- Specified by:
getCategory
in interface CategoryDao
getRootCategories
public java.util.Collection getRootCategories()
- Specified by:
getRootCategories
in interface CategoryDao
Copyright © 2004-2005-2005 Webster Smalley. All Rights Reserved.