it.eng.spagobi.kpi.config.dao
Class MeasureUnitDAOImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.kpi.config.dao.MeasureUnitDAOImpl
All Implemented Interfaces:
IMeasureUnitDAO

public class MeasureUnitDAOImpl
extends AbstractHibernateDAO
implements IMeasureUnitDAO


Constructor Summary
MeasureUnitDAOImpl()
           
 
Method Summary
 MeasureUnit loadMeasureUnitByCd(java.lang.String cd)
          Returns the MeasureUnit of the referred code
 MeasureUnit loadMeasureUnitById(java.lang.Integer id)
          Returns the MeasureUnit of the referred id
 
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

MeasureUnitDAOImpl

public MeasureUnitDAOImpl()
Method Detail

loadMeasureUnitById

public MeasureUnit loadMeasureUnitById(java.lang.Integer id)
                                throws it.eng.spago.error.EMFUserError
Description copied from interface: IMeasureUnitDAO
Returns the MeasureUnit of the referred id

Specified by:
loadMeasureUnitById in interface IMeasureUnitDAO
Parameters:
id - of the Measure Unit
Returns:
Threshold of the referred id
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadMeasureUnitByCd

public MeasureUnit loadMeasureUnitByCd(java.lang.String cd)
                                throws it.eng.spago.error.EMFUserError
Description copied from interface: IMeasureUnitDAO
Returns the MeasureUnit of the referred code

Specified by:
loadMeasureUnitByCd in interface IMeasureUnitDAO
Parameters:
cd - of the Measure Unit
Returns:
Threshold of the referred cd
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred