it.eng.qbe.datasource
Interface IHibernateDataSource

All Superinterfaces:
IDataSource
All Known Implementing Classes:
AbstractHibernateDataSource, BasicHibernateDataSource, CompositeHibernateDataSource

public interface IHibernateDataSource
extends IDataSource

The Interface IHibernateDataSource.


Field Summary
 
Fields inherited from interface it.eng.qbe.datasource.IDataSource
COMPOSITE_HIBERNATE_DS_TYPE, HIBERNATE_DS_TYPE
 
Method Summary
 org.hibernate.cfg.Configuration getConfiguration()
          Gets the configuration.
 DBConnection getConnection()
          Gets the connection.
 java.lang.String getDatamartName()
          Gets the datamart name.
 java.util.List getDatamartNames()
          Gets the datamart names.
 Formula getFormula()
          Gets the formula.
 org.hibernate.SessionFactory getSessionFactory()
          Gets the session factory.
 org.hibernate.SessionFactory getSessionFactory(java.lang.String dmName)
          Gets the session factory.
 void refresh()
          Refresh.
 void refreshDatamartViews()
          Refresh datamart views.
 void refreshSharedView(java.lang.String sharedViewName)
          Refresh shared view.
 void refreshSharedViews()
          Refresh shared views.
 void setFormula(Formula formula)
          Sets the formula.
 
Methods inherited from interface it.eng.qbe.datasource.IDataSource
getName, getProperties, getType, setProperties
 

Method Detail

getDatamartName

java.lang.String getDatamartName()
Gets the datamart name.

Returns:
the datamart name

getDatamartNames

java.util.List getDatamartNames()
Gets the datamart names.

Returns:
the datamart names

getConnection

DBConnection getConnection()
Gets the connection.

Returns:
the connection

getConfiguration

org.hibernate.cfg.Configuration getConfiguration()
Gets the configuration.

Returns:
the configuration

getSessionFactory

org.hibernate.SessionFactory getSessionFactory()
Gets the session factory.

Returns:
the session factory

getSessionFactory

org.hibernate.SessionFactory getSessionFactory(java.lang.String dmName)
Gets the session factory.

Parameters:
dmName - the dm name
Returns:
the session factory

getFormula

Formula getFormula()
Gets the formula.

Returns:
the formula

setFormula

void setFormula(Formula formula)
Sets the formula.

Parameters:
formula - the new formula

refreshDatamartViews

void refreshDatamartViews()
Refresh datamart views.


refreshSharedViews

void refreshSharedViews()
Refresh shared views.


refreshSharedView

void refreshSharedView(java.lang.String sharedViewName)
Refresh shared view.

Parameters:
sharedViewName - the shared view name

refresh

void refresh()
Refresh.