|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IKpiDAO
Method Summary | |
---|---|
java.lang.Integer |
countKpis()
|
boolean |
deleteKpi(java.lang.Integer kpiId)
|
boolean |
deleteKpiRel(java.lang.Integer kpiRelId)
|
void |
deleteKpiValueFromInterval(java.lang.Integer kpiInstanceId,
java.util.Date from,
java.util.Date to,
Resource r,
OrganizationalUnitGrantNode grantNode)
KpiValue valid for the the KpiInstance selected, ou selected for the resource selected, in the date selected |
KpiValue |
getDisplayKpiValue(java.lang.Integer kpiInstanceId,
java.util.Date d,
Resource r,
OrganizationalUnitGrantNode grantNode)
The last KpiValue for the the KpiInstance selected, for the resource selected, ou and hiererchy selected in the date selected or before |
it.eng.spagobi.tools.dataset.bo.IDataSet |
getDsFromKpiId(java.lang.Integer kpiId)
|
java.lang.Integer |
getKpiTrend(java.lang.Integer resId,
java.lang.Integer kpiInstId,
java.util.Date endDate)
|
org.json.JSONObject |
getKpiTrendJSONResult(java.lang.Integer kpiInstId,
java.util.Date beginDate,
java.util.Date endDate)
Returns a JSONOBject with all the the trend values of the KpiInstance |
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,
OrganizationalUnitGrantNode grantNode)
KpiValue valid for the the KpiInstance selected, for the resource selected, ant the selected grant node associated |
KpiValue |
getKpiValueFromInterval(java.lang.Integer kpiInstanceId,
java.util.Date from,
java.util.Date to,
Resource r,
OrganizationalUnitGrantNode grantNode)
KpiValue valid for the the KpiInstance selected, for the resource selected,ou selected in the date selected |
java.lang.Integer |
insertKpi(Kpi toCreate)
|
java.lang.Integer |
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 |
KpiDocuments |
loadKpiDocByKpiIdAndDocId(java.lang.Integer kpiId,
java.lang.Integer docId)
|
java.util.List |
loadKpiList()
Returns the list of Kpi. |
java.util.List |
loadKpiList(java.lang.String fieldOrder,
java.lang.String typeOrder)
|
java.util.List |
loadKpiListFiltered(java.lang.String hsql,
java.lang.Integer offset,
java.lang.Integer fetchSize)
Returns the list of Kpi filtered by hsql query string. |
java.util.List |
loadKpiRelListByParentId(java.lang.Integer kpiParentId)
|
java.lang.String |
loadKPIValueXml(java.lang.Integer kpiValueId)
|
java.util.List |
loadPagedKpiList(java.lang.Integer offset,
java.lang.Integer fetchSize)
|
void |
modifyKpi(Kpi kpi)
|
java.lang.Integer |
setKpiRel(java.lang.Integer kpiParentId,
java.lang.Integer kpiChildId,
java.lang.String parameter)
|
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Method Detail |
---|
java.lang.String loadKPIValueXml(java.lang.Integer kpiValueId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.Integer insertKpiValue(KpiValue value) throws it.eng.spago.error.EMFUserError
KpiValue
- to insert
it.eng.spago.error.EMFUserError
- If an Exception occurredKpiDocuments loadKpiDocByKpiIdAndDocId(java.lang.Integer kpiId, java.lang.Integer docId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.String getKpiTrendXmlResult(java.lang.Integer resId, java.lang.Integer kpiInstId, java.util.Date endDate) throws it.eng.spago.base.SourceBeanException
Integer
- resId, Integer kpiInstId, String endDate
it.eng.spago.error.EMFUserError
- If an Exception occurred
it.eng.spago.base.SourceBeanException
org.json.JSONObject getKpiTrendJSONResult(java.lang.Integer kpiInstId, java.util.Date beginDate, java.util.Date endDate) throws it.eng.spago.base.SourceBeanException
Integer
- kpiInstId, Date beginDate, Date endDate
it.eng.spago.error.EMFUserError
- If an Exception occurred
it.eng.spago.base.SourceBeanException
it.eng.spagobi.tools.dataset.bo.IDataSet getDsFromKpiId(java.lang.Integer kpiId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
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
Integer
- resId, Integer kpiInstId, String endDate
it.eng.spago.error.EMFUserError
- If an Exception occurred
it.eng.spago.base.SourceBeanException
Kpi loadKpiById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
- of the Kpi
it.eng.spago.error.EMFUserError
- If an Exception occurredKpi loadKpiDefinitionById(java.lang.Integer id) throws it.eng.spago.error.EMFUserError
id
- of the Kpi
it.eng.spago.error.EMFUserError
- If an Exception occurredKpiValue getKpiValue(java.lang.Integer kpiInstanceId, java.util.Date d, Resource r, OrganizationalUnitGrantNode grantNode) throws it.eng.spago.error.EMFUserError
KpiValue
-
it.eng.spago.error.EMFUserError
- if an Exception occursKpiValue getKpiValueFromInterval(java.lang.Integer kpiInstanceId, java.util.Date from, java.util.Date to, Resource r, OrganizationalUnitGrantNode grantNode) throws it.eng.spago.error.EMFUserError
KpiValue
-
it.eng.spago.error.EMFUserError
- if an Exception occursvoid deleteKpiValueFromInterval(java.lang.Integer kpiInstanceId, java.util.Date from, java.util.Date to, Resource r, OrganizationalUnitGrantNode grantNode) throws it.eng.spago.error.EMFUserError
KpiValue
-
it.eng.spago.error.EMFUserError
- if an Exception occursKpiValue getDisplayKpiValue(java.lang.Integer kpiInstanceId, java.util.Date d, Resource r, OrganizationalUnitGrantNode grantNode) throws it.eng.spago.error.EMFUserError
kpiInstanceId
- d
- r
- grantNode
-
it.eng.spago.error.EMFUserError
java.util.List loadKpiList() throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
- if an Exception occursjava.util.List loadKpiList(java.lang.String fieldOrder, java.lang.String typeOrder) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.util.List loadPagedKpiList(java.lang.Integer offset, java.lang.Integer fetchSize) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.Integer countKpis() throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
void modifyKpi(Kpi kpi) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.Integer insertKpi(Kpi toCreate) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
boolean deleteKpi(java.lang.Integer kpiId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.lang.Integer setKpiRel(java.lang.Integer kpiParentId, java.lang.Integer kpiChildId, java.lang.String parameter) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.util.List loadKpiRelListByParentId(java.lang.Integer kpiParentId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
boolean deleteKpiRel(java.lang.Integer kpiRelId) throws it.eng.spago.error.EMFUserError
it.eng.spago.error.EMFUserError
java.util.List loadKpiListFiltered(java.lang.String hsql, java.lang.Integer offset, java.lang.Integer fetchSize) throws it.eng.spago.error.EMFUserError
hsql
- query string
it.eng.spago.error.EMFUserError
- if an Exception occursjava.lang.Integer getKpiTrend(java.lang.Integer resId, java.lang.Integer kpiInstId, java.util.Date endDate) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |