it.eng.spagobi.kpi.config.dao
Class KpiErrorDAOImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.kpi.config.dao.KpiErrorDAOImpl
- All Implemented Interfaces:
- ISpagoBIDao, IKpiErrorDAO
public class KpiErrorDAOImpl
- extends AbstractHibernateDAO
- implements IKpiErrorDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KpiErrorDAOImpl
public KpiErrorDAOImpl()
insertKpiError
public java.lang.Integer insertKpiError(it.eng.spagobi.tools.dataset.exceptions.DatasetException exception,
java.lang.Integer modelInstanceId,
java.lang.String resourceName)
throws it.eng.spago.error.EMFUserError
- Takes as input a datasetException and converts it to a KpiError
- Specified by:
insertKpiError
in interface IKpiErrorDAO
- Parameters:
exception
- modelInstanceId
- parameters
-
- Returns:
-
- Throws:
it.eng.spago.error.EMFUserError
insertKpiError
public java.lang.Integer insertKpiError(SbiKpiError sbiKpiError)
throws it.eng.spago.error.EMFUserError
- Specified by:
insertKpiError
in interface IKpiErrorDAO
- Parameters:
kpiError
-
- Returns:
-
- Throws:
it.eng.spago.error.EMFUserError
loadAllKpiErrors
public java.util.List<KpiError> loadAllKpiErrors()
throws it.eng.spago.error.EMFUserError
- Specified by:
loadAllKpiErrors
in interface IKpiErrorDAO
- Returns:
-
- Throws:
it.eng.spago.error.EMFUserError
loadKpiErrorById
public KpiError loadKpiErrorById(java.lang.Integer id)
throws it.eng.spago.error.EMFUserError
- Specified by:
loadKpiErrorById
in interface IKpiErrorDAO
- Returns:
-
- Throws:
it.eng.spago.error.EMFUserError
updateKpiError
public void updateKpiError(SbiKpiError sbiKpiError)
throws it.eng.spago.error.EMFUserError
- Specified by:
updateKpiError
in interface IKpiErrorDAO
- Parameters:
kpiError
-
- Throws:
it.eng.spago.error.EMFUserError
toKpiError
public KpiError toKpiError(SbiKpiError sbiKpiError)
toSbiKpiError
public SbiKpiError toSbiKpiError(it.eng.spagobi.tools.dataset.exceptions.DatasetException dsException,
java.lang.Integer modelInstanceId,
java.lang.String parameters,
org.hibernate.Session session)