org.telscenter.sail.webapp.dao.portal.impl
Class HibernatePortalDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by net.sf.sail.webapp.dao.impl.AbstractHibernateDao<Portal>
              extended by org.telscenter.sail.webapp.dao.portal.impl.HibernatePortalDao
All Implemented Interfaces:
SimpleDao<Portal>, org.springframework.beans.factory.InitializingBean, PortalDao<Portal>

public class HibernatePortalDao
extends AbstractHibernateDao<Portal>
implements PortalDao<Portal>

Version:
$Id:$
Author:
hirokiterashima

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernatePortalDao()
           
 
Method Summary
protected  Class<? extends Portal> getDataObjectClass()
          Gets the class of the persistent entity.
protected  String getFindAllQuery()
          Gets a string that will perform a query to retrieve all available objects from the persistent data store.
 
Methods inherited from class net.sf.sail.webapp.dao.impl.AbstractHibernateDao
delete, getById, getList, save
 
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
 
Methods inherited from interface net.sf.sail.webapp.dao.SimpleDao
delete, getById, getList, save
 

Constructor Detail

HibernatePortalDao

public HibernatePortalDao()
Method Detail

getDataObjectClass

protected Class<? extends Portal> getDataObjectClass()
Description copied from class: AbstractHibernateDao
Gets the class of the persistent entity.

Specified by:
getDataObjectClass in class AbstractHibernateDao<Portal>
Returns:
the Class
See Also:
AbstractHibernateDao.getDataObjectClass()

getFindAllQuery

protected String getFindAllQuery()
Description copied from class: AbstractHibernateDao
Gets a string that will perform a query to retrieve all available objects from the persistent data store.

Specified by:
getFindAllQuery in class AbstractHibernateDao<Portal>
Returns:
String query
See Also:
AbstractHibernateDao.getFindAllQuery()


Copyright © 2012. All Rights Reserved.