org.alfresco.repo.domain.hibernate
Class HibernateSessionHelper
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.alfresco.repo.domain.hibernate.HibernateSessionHelper
- All Implemented Interfaces:
- HibernateSessionSupport, org.springframework.beans.factory.InitializingBean
public class HibernateSessionHelper
- extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
- implements HibernateSessionSupport
Utililty support against hibernate sessions. Supported by a super event listener which is registered on the even
listener of the hibernate session.
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
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 |
HibernateSessionHelper
public HibernateSessionHelper()
mark
public void mark()
- Specified by:
mark
in interface HibernateSessionSupport
mark
public void mark(java.lang.String label)
- Specified by:
mark
in interface HibernateSessionSupport
reset
public void reset()
- Specified by:
reset
in interface HibernateSessionSupport
reset
public void reset(java.lang.String label)
- Specified by:
reset
in interface HibernateSessionSupport
removeMark
public void removeMark()
- Specified by:
removeMark
in interface HibernateSessionSupport
removeMark
public void removeMark(java.lang.String label)
- Specified by:
removeMark
in interface HibernateSessionSupport
resetAndRemoveMark
public void resetAndRemoveMark()
- Specified by:
resetAndRemoveMark
in interface HibernateSessionSupport
resetAndRemoveMark
public void resetAndRemoveMark(java.lang.String label)
- Specified by:
resetAndRemoveMark
in interface HibernateSessionSupport
getMarks
public java.util.List getMarks()
- Specified by:
getMarks
in interface HibernateSessionSupport
getCurrentMark
public java.lang.String getCurrentMark()
- Specified by:
getCurrentMark
in interface HibernateSessionSupport
getResource
public static HibernateSessionHelperResourceProvider getResource()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.