ar.com.jiji.kaya.dao.hib
Class HibernateCRUDDaoImpl<T>

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by ar.com.jiji.kaya.dao.hib.AbstractHibernateDaoImpl
              extended by ar.com.jiji.kaya.dao.hib.HibernateCRUDDaoImpl<T>
All Implemented Interfaces:
CRUDDAO<T>, org.springframework.beans.factory.InitializingBean

public class HibernateCRUDDaoImpl<T>
extends AbstractHibernateDaoImpl
implements CRUDDAO<T>

Version:
$Revision$ $Date$
Author:
lparra

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateCRUDDaoImpl(java.lang.Class clazz)
           
 
Method Summary
 java.util.List<T> getAll()
          Si no encuentra naranja devuelve una lista vacia
 T load(long id)
          Si no encuentra el objeto, devuelve null
 void remove(long id)
          Si no encuentra el objeto, se queda muzza
 void save(T obj)
           
 
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

HibernateCRUDDaoImpl

public HibernateCRUDDaoImpl(java.lang.Class clazz)
Method Detail

save

public void save(T obj)
Specified by:
save in interface CRUDDAO<T>

load

public T load(long id)
Description copied from interface: CRUDDAO
Si no encuentra el objeto, devuelve null

Specified by:
load in interface CRUDDAO<T>

remove

public void remove(long id)
Description copied from interface: CRUDDAO
Si no encuentra el objeto, se queda muzza

Specified by:
remove in interface CRUDDAO<T>

getAll

public java.util.List<T> getAll()
Description copied from interface: CRUDDAO
Si no encuentra naranja devuelve una lista vacia

Specified by:
getAll in interface CRUDDAO<T>


Copyright © 2006 Kaya. All Rights Reserved.