it.eng.spagobi.kpi.threshold.dao
Class ThresholdValueDAOImpl

java.lang.Object
  extended by it.eng.spagobi.commons.dao.AbstractHibernateDAO
      extended by it.eng.spagobi.kpi.threshold.dao.ThresholdValueDAOImpl
All Implemented Interfaces:
IThresholdValueDAO

public class ThresholdValueDAOImpl
extends AbstractHibernateDAO
implements IThresholdValueDAO


Constructor Summary
ThresholdValueDAOImpl()
           
 
Method Summary
 boolean deleteThresholdValue(java.lang.Integer thresholdValueId)
           
 java.util.List getThresholdValues(KpiInstance k)
           
 java.lang.Integer insertThresholdValue(ThresholdValue toCreate)
           
 ThresholdValue loadThresholdValueById(java.lang.Integer id)
           
 java.util.List loadThresholdValueList(java.lang.Integer thresholdId, java.lang.String fieldOrder, java.lang.String typeOrder)
           
 java.util.List loadThresholdValuesByThresholdId(java.lang.Integer id)
           
 void modifyThresholdValue(ThresholdValue thresholdValue)
           
 ThresholdValue toThresholdValue(SbiThresholdValue t)
           
 
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

ThresholdValueDAOImpl

public ThresholdValueDAOImpl()
Method Detail

loadThresholdValuesByThresholdId

public java.util.List loadThresholdValuesByThresholdId(java.lang.Integer id)
                                                throws it.eng.spago.error.EMFUserError
Specified by:
loadThresholdValuesByThresholdId in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

getThresholdValues

public java.util.List getThresholdValues(KpiInstance k)
                                  throws it.eng.spago.error.EMFUserError
Specified by:
getThresholdValues in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

loadThresholdValueList

public java.util.List loadThresholdValueList(java.lang.Integer thresholdId,
                                             java.lang.String fieldOrder,
                                             java.lang.String typeOrder)
                                      throws it.eng.spago.error.EMFUserError
Specified by:
loadThresholdValueList in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

loadThresholdValueById

public ThresholdValue loadThresholdValueById(java.lang.Integer id)
                                      throws it.eng.spago.error.EMFUserError
Specified by:
loadThresholdValueById in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

modifyThresholdValue

public void modifyThresholdValue(ThresholdValue thresholdValue)
                          throws it.eng.spago.error.EMFUserError
Specified by:
modifyThresholdValue in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

insertThresholdValue

public java.lang.Integer insertThresholdValue(ThresholdValue toCreate)
                                       throws it.eng.spago.error.EMFUserError
Specified by:
insertThresholdValue in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

deleteThresholdValue

public boolean deleteThresholdValue(java.lang.Integer thresholdValueId)
                             throws it.eng.spago.error.EMFUserError
Specified by:
deleteThresholdValue in interface IThresholdValueDAO
Throws:
it.eng.spago.error.EMFUserError

toThresholdValue

public ThresholdValue toThresholdValue(SbiThresholdValue t)
Specified by:
toThresholdValue in interface IThresholdValueDAO