it.eng.spagobi.kpi.config.dao
Class KpiInstanceDAOImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.kpi.config.dao.KpiInstanceDAOImpl
- All Implemented Interfaces:
- IKpiInstanceDAO
public class KpiInstanceDAOImpl
- extends AbstractHibernateDAO
- implements IKpiInstanceDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KpiInstanceDAOImpl
public KpiInstanceDAOImpl()
loadKpiInstanceById
public KpiInstance loadKpiInstanceById(java.lang.Integer id)
throws it.eng.spago.error.EMFUserError
- Description copied from interface:
IKpiInstanceDAO
- Returns the KpiInstance of the referred id
- Specified by:
loadKpiInstanceById
in interface IKpiInstanceDAO
- Parameters:
id
- of the KpiInstance
- Returns:
- KpiInstance of the referred id
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred
getChartType
public java.lang.String getChartType(java.lang.Integer kpiInstanceID)
throws it.eng.spago.error.EMFUserError
- Specified by:
getChartType
in interface IKpiInstanceDAO
- Throws:
it.eng.spago.error.EMFUserError
isKpiInstUnderAlramControl
public java.lang.Boolean isKpiInstUnderAlramControl(java.lang.Integer kpiInstID)
throws it.eng.spago.error.EMFUserError
- Specified by:
isKpiInstUnderAlramControl
in interface IKpiInstanceDAO
- Throws:
it.eng.spago.error.EMFUserError
setKpiInstanceFromKPI
public void setKpiInstanceFromKPI(KpiInstance kpiInstance,
java.lang.Integer kpiId)
throws it.eng.spago.error.EMFUserError
- Specified by:
setKpiInstanceFromKPI
in interface IKpiInstanceDAO
- Throws:
it.eng.spago.error.EMFUserError
loadKpiInstanceByIdFromHistory
public KpiInstance loadKpiInstanceByIdFromHistory(java.lang.Integer id,
java.util.Date d)
throws it.eng.spago.error.EMFUserError
- Description copied from interface:
IKpiInstanceDAO
- Returns the KpiInstance with id 'id' that was valid in date d
- Specified by:
loadKpiInstanceByIdFromHistory
in interface IKpiInstanceDAO
- Parameters:
id
- of the KpiInstance
- Returns:
- KpiInstance of the referred id valid in date d
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred
toKpiInstance
public KpiInstance toKpiInstance(SbiKpiInstance kpiInst)
throws it.eng.spago.error.EMFUserError
- Specified by:
toKpiInstance
in interface IKpiInstanceDAO
- Throws:
it.eng.spago.error.EMFUserError
getThresholds
public java.util.List getThresholds(KpiInstance k)
throws it.eng.spago.error.EMFUserError
- Description copied from interface:
IKpiInstanceDAO
- Returns a List of all the the Threshols of the KpiInstance
- Specified by:
getThresholds
in interface IKpiInstanceDAO
- Returns:
- List of all the the Threshols of the KpiInstance
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred