it.eng.spagobi.commons.initializers.metadata
Class SpagoBIInitializer

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.commons.initializers.metadata.SpagoBIInitializer
All Implemented Interfaces:
it.eng.spago.init.InitializerIFace
Direct Known Subclasses:
ChecksInitializer, ConfigurationsInitializer, DomainsInitializer, EnginesInitializer, ExportersInitializer, FunctionalitiesInitializer, KpiPeriodicityInitializer, LovsInitializer, MetadataInitializer, UnitGrantInitializer

public abstract class SpagoBIInitializer
extends AbstractHibernateDAO
implements it.eng.spago.init.InitializerIFace

Author:
Andrea Gioia (andrea.gioia@eng.it)

Field Summary
protected  java.lang.String configurationFileName
           
protected  java.lang.String targetComponentName
          The name of the component affected by the initialization procedure
 
Method Summary
protected  SbiDomains findDomain(org.hibernate.Session aSession, java.lang.String valueCode, java.lang.String domainCode)
           
protected  SbiEngines findEngine(org.hibernate.Session aSession, java.lang.String label)
           
 it.eng.spago.base.SourceBean getConfig()
           
 java.lang.String getTargetComponentName()
           
 void init(it.eng.spago.base.SourceBean config)
           
abstract  void init(it.eng.spago.base.SourceBean config, org.hibernate.Session hibernateSession)
           
 
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO
commitIfActiveAndClose, getSession, getUserProfile, logException, rollbackIfActiveAndClose, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

targetComponentName

protected java.lang.String targetComponentName
The name of the component affected by the initialization procedure


configurationFileName

protected java.lang.String configurationFileName
Method Detail

getTargetComponentName

public java.lang.String getTargetComponentName()

getConfig

public it.eng.spago.base.SourceBean getConfig()
Specified by:
getConfig in interface it.eng.spago.init.InitializerIFace

init

public void init(it.eng.spago.base.SourceBean config)
Specified by:
init in interface it.eng.spago.init.InitializerIFace

init

public abstract void init(it.eng.spago.base.SourceBean config,
                          org.hibernate.Session hibernateSession)

findDomain

protected SbiDomains findDomain(org.hibernate.Session aSession,
                                java.lang.String valueCode,
                                java.lang.String domainCode)

findEngine

protected SbiEngines findEngine(org.hibernate.Session aSession,
                                java.lang.String label)