org.bejug.javacareers.jobs.dao.hibernate
Class EducationServiceOfferDaoHibernateImpl

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended byorg.bejug.javacareers.jobs.dao.hibernate.OfferDaoHibernateImpl
              extended byorg.bejug.javacareers.jobs.dao.hibernate.EducationServiceOfferDaoHibernateImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, OfferDao

public class EducationServiceOfferDaoHibernateImpl
extends OfferDaoHibernateImpl

Version:
$Revision: 1.2 $ - $Date: 2005/09/13 08:11:17 $
Author:
Bart Meyers (Last modified by $Author: schauwvliege $)

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
EducationServiceOfferDaoHibernateImpl()
           
 
Method Summary
 org.bejug.javacareers.jobs.model.Offer getOffer(java.lang.Integer id)
          Gets an Offer by id.
 int getOfferCount()
          Get the total number of offers.
 java.util.List getOffers()
          Todo: look for a way to implement this method??? Lists all offers.
 
Methods inherited from class org.bejug.javacareers.jobs.dao.hibernate.OfferDaoHibernateImpl
deleteOffer, deleteOffer, deleteOffersByUrl, getOfferCount, store
 
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
 

Constructor Detail

EducationServiceOfferDaoHibernateImpl

public EducationServiceOfferDaoHibernateImpl()
Method Detail

getOffers

public java.util.List getOffers()
                         throws org.springframework.dao.DataAccessException
Todo: look for a way to implement this method??? Lists all offers.

Specified by:
getOffers in interface OfferDao
Overrides:
getOffers in class OfferDaoHibernateImpl
Throws:
org.springframework.dao.DataAccessException

getOffer

public org.bejug.javacareers.jobs.model.Offer getOffer(java.lang.Integer id)
                                                throws org.springframework.dao.DataAccessException
Gets an Offer by id.

Specified by:
getOffer in interface OfferDao
Overrides:
getOffer in class OfferDaoHibernateImpl
Throws:
org.springframework.dao.DataAccessException

getOfferCount

public int getOfferCount()
                  throws org.springframework.dao.DataAccessException
Get the total number of offers.

Returns:
an int indicating the number of offers available.
Throws:
org.springframework.dao.DataAccessException - thrown when something goes wrong


Copyright © 2005-2006 BeJUG. All Rights Reserved.