|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.engines.config.dao.EngineDAOHibImpl
public class EngineDAOHibImpl
Defines the Hibernate implementations for all DAO methods, for an engine.
Constructor Summary | |
---|---|
EngineDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseEngine(Engine aEngine)
Erase engine. |
java.util.List |
getAssociatedExporters(Engine engine)
Get all the associated Exporters |
boolean |
hasBIObjAssociated(java.lang.String engineId)
Checks for bi obj associated. |
void |
insertEngine(Engine aEngine)
Insert engine. |
java.util.List |
loadAllEngines()
Load all engines. |
java.util.List<Engine> |
loadAllEnginesForBIObjectType(java.lang.String biobjectType)
Load all engines for bi object type. |
Engine |
loadEngineByID(java.lang.Integer engineID)
Load engine by id. |
Engine |
loadEngineByLabel(java.lang.String engineLabel)
Load engine by label. |
void |
modifyEngine(Engine aEngine)
Modify engine. |
Engine |
toEngine(SbiEngines hibEngine)
From the hibernate Engine at input, gives the corrispondent Engine object. |
Exporters |
toExporter(SbiExporters hibExps)
From the hibernate Exporter at input, gives the corrispondent Engine object. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
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 |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Constructor Detail |
---|
public EngineDAOHibImpl()
Method Detail |
---|
public Engine loadEngineByID(java.lang.Integer engineID) throws it.eng.spago.error.EMFUserError
loadEngineByID
in interface IEngineDAO
engineID
- the engine id
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.loadEngineByID(java.lang.Integer)
public Engine loadEngineByLabel(java.lang.String engineLabel) throws it.eng.spago.error.EMFUserError
loadEngineByLabel
in interface IEngineDAO
engineLabel
- the engine label
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.loadEngineByID(java.lang.Integer)
public java.util.List loadAllEngines() throws it.eng.spago.error.EMFUserError
loadAllEngines
in interface IEngineDAO
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.loadAllEngines()
public java.util.List<Engine> loadAllEnginesForBIObjectType(java.lang.String biobjectType) throws it.eng.spago.error.EMFUserError
loadAllEnginesForBIObjectType
in interface IEngineDAO
biobjectType
- the biobject type
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.loadAllEnginesForBIObjectType(java.lang.String)
public void modifyEngine(Engine aEngine) throws it.eng.spago.error.EMFUserError
modifyEngine
in interface IEngineDAO
aEngine
- the a engine
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.modifyEngine(it.eng.spagobi.engines.config.bo.Engine)
public void insertEngine(Engine aEngine) throws it.eng.spago.error.EMFUserError
insertEngine
in interface IEngineDAO
aEngine
- the a engine
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.insertEngine(it.eng.spagobi.engines.config.bo.Engine)
public void eraseEngine(Engine aEngine) throws it.eng.spago.error.EMFUserError
eraseEngine
in interface IEngineDAO
aEngine
- the a engine
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.eraseEngine(it.eng.spagobi.engines.config.bo.Engine)
public Engine toEngine(SbiEngines hibEngine)
Engine
object.
hibEngine
- The hybernate engine
Engine
objectpublic Exporters toExporter(SbiExporters hibExps)
Engine
object.
hibEngine
- The hybernate engine
Engine
objectpublic boolean hasBIObjAssociated(java.lang.String engineId) throws it.eng.spago.error.EMFUserError
hasBIObjAssociated
in interface IEngineDAO
engineId
- the engine id
it.eng.spago.error.EMFUserError
- the EMF user errorIEngineDAO.hasBIObjAssociated(java.lang.String)
public java.util.List getAssociatedExporters(Engine engine) throws it.eng.spago.error.EMFUserError
IEngineDAO
getAssociatedExporters
in interface IEngineDAO
engine
- The engine identifier
it.eng.spago.error.EMFUserError
- If any exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |