magoffin.matt.ma2.dao.hbm
Class HibernateTimeZoneDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by magoffin.matt.dao.hbm.GenericHibernateDao<T,PK>
              extended by magoffin.matt.dao.hbm.GenericIndexableHibernateDao<TimeZone,java.lang.String>
                  extended by magoffin.matt.ma2.dao.hbm.HibernateTimeZoneDao
All Implemented Interfaces:
magoffin.matt.dao.GenericDao<TimeZone,java.lang.String>, magoffin.matt.dao.IndexableDao<java.lang.String>, TimeZoneDao, org.springframework.beans.factory.InitializingBean

public class HibernateTimeZoneDao
extends magoffin.matt.dao.hbm.GenericIndexableHibernateDao<TimeZone,java.lang.String>
implements TimeZoneDao

Hibernate implementation of TimeZoneDao.

info

Version:
$Revision: 43 $ $Date: 2007-10-21 11:10:01 +1300 (Sun, 21 Oct 2007) $
Author:
Matt Magoffin (spamsqr@msqr.us)

Nested Class Summary
 
Nested classes/interfaces inherited from class magoffin.matt.dao.hbm.GenericHibernateDao
magoffin.matt.dao.hbm.GenericHibernateDao.UpdateMode
 
Field Summary
static java.lang.String QUERY_TIME_ZONE_ALL
          Find all time zones.
 
Fields inherited from class magoffin.matt.dao.hbm.GenericIndexableHibernateDao
DEFAULT_INDEX_BATCH_SIZE
 
Fields inherited from class magoffin.matt.dao.hbm.GenericHibernateDao
DEFAULT_BATCH_FLUSH_COUNT, log
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateTimeZoneDao()
          Default constructor.
 
Method Summary
 java.util.List<TimeZone> findAllTimeZones()
          Get all available time zones.
protected  java.lang.String getPrimaryKey(TimeZone domainObject)
           
 
Methods inherited from class magoffin.matt.dao.hbm.GenericIndexableHibernateDao
getIndexBatchSize, getIndexObjectIdColumnName, getIndexObjectTableAlias, getIndexRowMapper, getIndexTimeZone, getJdbcTemplate, getSqlIndexAll, getSqlIndexDateRange, getSqlParamIdxWithDateRange, index, populateIndexRow, setIndexBatchSize, setIndexObjectIdColumnName, setIndexObjectTableAlias, setIndexRowMapper, setIndexTimeZone, setJdbcTemplate, setSqlIndexAll, setSqlIndexDateRange, setSqlParamIdxWithDateRange
 
Methods inherited from class magoffin.matt.dao.hbm.GenericHibernateDao
delete, executeLiveCriteriaBatchCallback, executeNamedQueryBatchCallback, executeStatelessCriteriaBatchCallback, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, findByNamedQuery, get, getBatchFlushCount, getType, getUpdateMode, save, setBatchFlushCount, setUpdateMode, store, update
 
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
 
Methods inherited from interface magoffin.matt.dao.GenericDao
delete, get, store
 

Field Detail

QUERY_TIME_ZONE_ALL

public static final java.lang.String QUERY_TIME_ZONE_ALL
Find all time zones.

See Also:
Constant Field Values
Constructor Detail

HibernateTimeZoneDao

public HibernateTimeZoneDao()
Default constructor.

Method Detail

getPrimaryKey

protected java.lang.String getPrimaryKey(TimeZone domainObject)
Specified by:
getPrimaryKey in class magoffin.matt.dao.hbm.GenericHibernateDao<TimeZone,java.lang.String>

findAllTimeZones

public java.util.List<TimeZone> findAllTimeZones()
Description copied from interface: TimeZoneDao
Get all available time zones.

Specified by:
findAllTimeZones in interface TimeZoneDao
Returns:
the available time zones