it.eng.spagobi.kpi.config.dao
Interface IMeasureUnitDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
MeasureUnitDAOImpl

public interface IMeasureUnitDAO
extends ISpagoBIDao


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 interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setTenant, setUserID, setUserProfile
 

Method Detail

loadMeasureUnitById

MeasureUnit loadMeasureUnitById(java.lang.Integer id)
                                throws it.eng.spago.error.EMFUserError
Returns the MeasureUnit of the referred id

Parameters:
id - of the Measure Unit
Returns:
Threshold of the referred id
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadMeasureUnitByCd

MeasureUnit loadMeasureUnitByCd(java.lang.String cd)
                                throws it.eng.spago.error.EMFUserError
Returns the MeasureUnit of the referred code

Parameters:
cd - of the Measure Unit
Returns:
Threshold of the referred cd
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred