|
||||||||||
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.kpi.config.dao.KpiDAOImpl
public class KpiDAOImpl
Constructor Summary | |
---|---|
KpiDAOImpl()
|
Method Summary | |
---|---|
boolean |
deleteKpi(java.lang.Integer kpiId)
|
KpiValue |
getDisplayKpiValue(java.lang.Integer kpiInstanceId,
java.util.Date d,
Resource r)
The last KpiValue for the the KpiInstance selected, for the resource selected, in the date selected or before |
it.eng.spagobi.tools.dataset.bo.IDataSet |
getDsFromKpiId(java.lang.Integer kpiId)
|
java.lang.String |
getKpiTrendXmlResult(java.lang.Integer resId,
java.lang.Integer kpiInstId,
java.util.Date endDate)
Returns a List of all the the Threshols of the KpiInstance |
java.lang.String |
getKpiTrendXmlResult(java.lang.Integer resId,
java.lang.Integer kpiInstId,
java.util.Date beginDate,
java.util.Date endDate)
Returns a List of all the the Threshols of the KpiInstance |
KpiValue |
getKpiValue(java.lang.Integer kpiInstanceId,
java.util.Date d,
Resource r)
KpiValue valid for the the KpiInstance selected, for the resource selected, in the date selected |
java.util.List |
getKpiValue(SbiKpiInstance kpi,
java.util.Date d)
|
java.lang.Integer |
insertKpi(Kpi kpi)
|
void |
insertKpiValue(KpiValue value)
Inserts a new KPI Value with its date, value period and thresholds |
Kpi |
loadKpiById(java.lang.Integer id)
Returns the Kpi of the referred id |
Kpi |
loadKpiDefinitionById(java.lang.Integer id)
Returns the Kpi Definition of the referred id |
java.util.List |
loadKpiList()
Returns the list of Kpi. |
java.util.List |
loadKpiList(java.lang.String fieldOrder,
java.lang.String typeOrder)
|
void |
modifyKpi(Kpi kpi)
|
Kpi |
toKpi(SbiKpi kpi)
|
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 |
---|
public KpiDAOImpl()
Method Detail |
---|
public Kpi loadKpiDefinitionById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IKpiDAO
loadKpiDefinitionById
in interface IKpiDAO
id
- of the Kpi
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic Kpi loadKpiById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
IKpiDAO
loadKpiById
in interface IKpiDAO
id
- of the Kpi
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.lang.String getKpiTrendXmlResult(java.lang.Integer resId, java.lang.Integer kpiInstId, java.util.Date endDate) throws it.eng.spago.base.SourceBeanException
IKpiDAO
getKpiTrendXmlResult
in interface IKpiDAO
it.eng.spago.base.SourceBeanException
public java.lang.String getKpiTrendXmlResult(java.lang.Integer resId, java.lang.Integer kpiInstId, java.util.Date beginDate, java.util.Date endDate) throws it.eng.spago.base.SourceBeanException
IKpiDAO
getKpiTrendXmlResult
in interface IKpiDAO
it.eng.spago.base.SourceBeanException
public java.util.List getKpiValue(SbiKpiInstance kpi, java.util.Date d) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public void insertKpiValue(KpiValue value) throws it.eng.spago.error.EMFUserError
IKpiDAO
insertKpiValue
in interface IKpiDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic KpiValue getKpiValue(java.lang.Integer kpiInstanceId, java.util.Date d, Resource r) throws it.eng.spago.error.EMFUserError
IKpiDAO
getKpiValue
in interface IKpiDAO
it.eng.spago.error.EMFUserError
- if an Exception occurspublic KpiValue getDisplayKpiValue(java.lang.Integer kpiInstanceId, java.util.Date d, Resource r) throws it.eng.spago.error.EMFUserError
IKpiDAO
getDisplayKpiValue
in interface IKpiDAO
it.eng.spago.error.EMFUserError
- if an Exception occurspublic Kpi toKpi(SbiKpi kpi) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
public java.util.List loadKpiList(java.lang.String fieldOrder, java.lang.String typeOrder) throws it.eng.spago.error.EMFUserError
loadKpiList
in interface IKpiDAO
it.eng.spago.error.EMFUserError
public java.util.List loadKpiList() throws it.eng.spago.error.EMFUserError
IKpiDAO
loadKpiList
in interface IKpiDAO
it.eng.spago.error.EMFUserError
- if an Exception occurspublic void modifyKpi(Kpi kpi) throws it.eng.spago.error.EMFUserError
modifyKpi
in interface IKpiDAO
it.eng.spago.error.EMFUserError
public java.lang.Integer insertKpi(Kpi kpi) throws it.eng.spago.error.EMFUserError
insertKpi
in interface IKpiDAO
it.eng.spago.error.EMFUserError
public boolean deleteKpi(java.lang.Integer kpiId) throws it.eng.spago.error.EMFUserError
deleteKpi
in interface IKpiDAO
it.eng.spago.error.EMFUserError
public it.eng.spagobi.tools.dataset.bo.IDataSet getDsFromKpiId(java.lang.Integer kpiId) throws it.eng.spago.error.EMFUserError
getDsFromKpiId
in interface IKpiDAO
it.eng.spago.error.EMFUserError
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |