org.trails.hibernate
Class SecurePersistenceServiceImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.trails.hibernate.HibernatePersistenceServiceImpl
              extended by org.trails.hibernate.SecurePersistenceServiceImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.trails.persistence.HibernatePersistenceService, org.trails.persistence.PersistenceService

public class SecurePersistenceServiceImpl
extends org.trails.hibernate.HibernatePersistenceServiceImpl


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
SecurePersistenceServiceImpl()
           
 
Method Summary
protected  org.hibernate.criterion.DetachedCriteria alterCriteria(java.lang.Class type, org.hibernate.criterion.DetachedCriteria criteria)
           
<T> T
loadInstance(java.lang.Class<T> type, java.io.Serializable id)
           
 
Methods inherited from class org.trails.hibernate.HibernatePersistenceServiceImpl
count, find, find, find, getAllInstances, getAllTypes, getDescriptorService, getIdentifier, getInstance, getInstance, getInstance, getInstances, getInstances, getInstances, getInstances, getInstances, isTransient, merge, reattach, remove, removeAll, save, saveOrUpdate, setApplicationContext
 
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
 

Constructor Detail

SecurePersistenceServiceImpl

public SecurePersistenceServiceImpl()
Method Detail

alterCriteria

protected org.hibernate.criterion.DetachedCriteria alterCriteria(java.lang.Class type,
                                                                 org.hibernate.criterion.DetachedCriteria criteria)
Overrides:
alterCriteria in class org.trails.hibernate.HibernatePersistenceServiceImpl

loadInstance

public <T> T loadInstance(java.lang.Class<T> type,
                          java.io.Serializable id)
Specified by:
loadInstance in interface org.trails.persistence.PersistenceService
Overrides:
loadInstance in class org.trails.hibernate.HibernatePersistenceServiceImpl


Copyright © 2004-2007. All Rights Reserved.