Liferay 7.0-ga1 portal-impl

com.liferay.portal.dao.orm.hibernate
Class PortletSessionFactoryImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
      extended by com.liferay.portal.dao.orm.hibernate.PortletSessionFactoryImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory

public class PortletSessionFactoryImpl
extends SessionFactoryImpl


Constructor Summary
PortletSessionFactoryImpl()
           
 
Method Summary
 void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
           
protected  org.hibernate.SessionFactory createSessionFactory(DataSource dataSource)
           
protected  DataSource getDataSource()
           
protected  org.hibernate.SessionFactory getSessionFactory()
           
 com.liferay.portal.kernel.dao.orm.Session openSession()
           
 void setDataSource(DataSource dataSource)
           
protected  com.liferay.portal.kernel.dao.orm.Session wrapSession(org.hibernate.Session session)
           
 
Methods inherited from class com.liferay.portal.dao.orm.hibernate.SessionFactoryImpl
getCurrentSession, getDialect, getPreloadClassLoaderClasses, getSessionFactoryClassLoader, getSessionFactoryImplementor, openNewSession, setSessionFactoryClassLoader, setSessionFactoryImplementor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSessionFactoryImpl

public PortletSessionFactoryImpl()
Method Detail

closeSession

public void closeSession(com.liferay.portal.kernel.dao.orm.Session session)
                  throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
closeSession in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Overrides:
closeSession in class SessionFactoryImpl
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

openSession

public com.liferay.portal.kernel.dao.orm.Session openSession()
                                                      throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
openSession in interface com.liferay.portal.kernel.dao.orm.SessionFactory
Overrides:
openSession in class SessionFactoryImpl
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

setDataSource

public void setDataSource(DataSource dataSource)

createSessionFactory

protected org.hibernate.SessionFactory createSessionFactory(DataSource dataSource)

getDataSource

protected DataSource getDataSource()

getSessionFactory

protected org.hibernate.SessionFactory getSessionFactory()

wrapSession

protected com.liferay.portal.kernel.dao.orm.Session wrapSession(org.hibernate.Session session)
Overrides:
wrapSession in class SessionFactoryImpl

Liferay 7.0-ga1 portal-impl