net.uidl.carsales
Class MakeManager

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by net.uidl.carsales.MakeManager
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class MakeManager
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport

MakeManager implementation for carsales example application

Version:
1.0
Author:
Dominic Cioccarelli (uidl.net)

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
MakeManager()
           
 
Method Summary
 java.util.List<Make> getAllMakes()
           
 Make getMake(java.lang.String name)
           
 void saveMake(Make m)
           
 
Methods inherited from class org.springframework.orm.hibernate3.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

MakeManager

public MakeManager()
Method Detail

getMake

public Make getMake(java.lang.String name)
             throws java.lang.Exception
Throws:
java.lang.Exception

saveMake

public void saveMake(Make m)

getAllMakes

public java.util.List<Make> getAllMakes()
                                 throws java.lang.Exception
Throws:
java.lang.Exception