|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate3.support.HibernateDaoSupport magoffin.matt.dao.hbm.GenericHibernateDao<T,PK> magoffin.matt.dao.hbm.GenericIndexableHibernateDao<Theme,java.lang.Long> magoffin.matt.ma2.dao.hbm.HibernateThemeDao
public class HibernateThemeDao
Hibernate impolementation of ThemeDao.
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_THEME_ALL
Find all themes. |
static java.lang.String |
QUERY_THEME_BY_NAME
Find a theme by name. |
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 | |
---|---|
HibernateThemeDao()
Default constructor. |
Method Summary | |
---|---|
java.util.List<Theme> |
findAllThemes()
Get all available themes. |
protected java.lang.Long |
getPrimaryKey(Theme domainObject)
|
Theme |
getThemeForName(java.lang.String name)
Get a Theme by its name. |
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 |
---|
public static final java.lang.String QUERY_THEME_ALL
public static final java.lang.String QUERY_THEME_BY_NAME
Constructor Detail |
---|
public HibernateThemeDao()
Method Detail |
---|
protected java.lang.Long getPrimaryKey(Theme domainObject)
getPrimaryKey
in class magoffin.matt.dao.hbm.GenericHibernateDao<Theme,java.lang.Long>
public java.util.List<Theme> findAllThemes()
ThemeDao
findAllThemes
in interface ThemeDao
public Theme getThemeForName(java.lang.String name)
ThemeDao
getThemeForName
in interface ThemeDao
name
- the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |