it.eng.spagobi.commons.initializers.metadata
Class SpagoBIInitializer
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
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, TenantsInitializer, UnitGrantInitializer
public abstract class SpagoBIInitializer
- extends AbstractHibernateDAO
- implements it.eng.spago.init.InitializerIFace
- Author:
- Andrea Gioia (andrea.gioia@eng.it)
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,
SbiTenant tenant)
|
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, disableTenantFilter, enableTenantFilter, getSession, getTenant, getUserProfile, logException, rollbackIfActiveAndClose, setTenant, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetComponentName
protected java.lang.String targetComponentName
- The name of the component affected by the initialization procedure
configurationFileName
protected java.lang.String configurationFileName
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,
SbiTenant tenant)