it.eng.spagobi.kpi.model.dao
Class ModelAttrValDAOImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.kpi.model.dao.ModelAttrValDAOImpl
All Implemented Interfaces:
IModelAttrValDAO

public class ModelAttrValDAOImpl
extends AbstractHibernateDAO
implements IModelAttrValDAO


Constructor Summary
ModelAttrValDAOImpl()
           
 
Method Summary
 java.util.List allModelsIdWithAttribute()
           
 ModelAttributeValue loadModelAttrValByAttrIdAndModelId(java.lang.Integer attrId, java.lang.Integer modelId)
           
 ModelAttributeValue toModelAttributeVal(SbiKpiModelAttrVal hibModelAttrVal)
          From the hibernate ModelAttributeVal at input, gives the corrispondent ModelAttributeValue object.
 
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO
getSession, logException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelAttrValDAOImpl

public ModelAttrValDAOImpl()
Method Detail

loadModelAttrValByAttrIdAndModelId

public ModelAttributeValue loadModelAttrValByAttrIdAndModelId(java.lang.Integer attrId,
                                                              java.lang.Integer modelId)
                                                       throws it.eng.spago.error.EMFUserError
Specified by:
loadModelAttrValByAttrIdAndModelId in interface IModelAttrValDAO
Returns:
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

toModelAttributeVal

public ModelAttributeValue toModelAttributeVal(SbiKpiModelAttrVal hibModelAttrVal)
From the hibernate ModelAttributeVal at input, gives the corrispondent ModelAttributeValue object.

Parameters:
hibEngine - The hybernate engine
Returns:
The corrispondent Engine object

allModelsIdWithAttribute

public java.util.List allModelsIdWithAttribute()
                                        throws it.eng.spago.error.EMFUserError
Specified by:
allModelsIdWithAttribute in interface IModelAttrValDAO
Returns:
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred