it.eng.spagobi.kpi.threshold.dao
Class ThresholdDAOImpl
java.lang.Object
it.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.kpi.threshold.dao.ThresholdDAOImpl
- All Implemented Interfaces:
- IThresholdDAO
public class ThresholdDAOImpl
- extends AbstractHibernateDAO
- implements IThresholdDAO
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdDAOImpl
public ThresholdDAOImpl()
loadThresholdById
public Threshold loadThresholdById(java.lang.Integer id)
throws it.eng.spago.error.EMFUserError
- Description copied from interface:
IThresholdDAO
- Returns the Threshold of the referred id
- Specified by:
loadThresholdById
in interface IThresholdDAO
- Parameters:
id
- of the Threshold
- Returns:
- Threshold of the referred id
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred
loadThresholdList
public java.util.List loadThresholdList(java.lang.String fieldOrder,
java.lang.String typeOrder)
throws it.eng.spago.error.EMFUserError
- Description copied from interface:
IThresholdDAO
- Returns the list of Thresholds.
- Specified by:
loadThresholdList
in interface IThresholdDAO
- Parameters:
fieldOrder
- Name of the column in the view to Order.typeOrder
- DESC or ASC.
- Returns:
- the list of Thresholds.
- Throws:
it.eng.spago.error.EMFUserError
- If an Exception occurred.
modifyThreshold
public void modifyThreshold(Threshold threshold)
throws it.eng.spago.error.EMFUserError
- Specified by:
modifyThreshold
in interface IThresholdDAO
- Throws:
it.eng.spago.error.EMFUserError
insertThreshold
public java.lang.Integer insertThreshold(Threshold threshold)
throws it.eng.spago.error.EMFUserError
- Specified by:
insertThreshold
in interface IThresholdDAO
- Throws:
it.eng.spago.error.EMFUserError
deleteThreshold
public boolean deleteThreshold(java.lang.Integer thresholdId)
throws it.eng.spago.error.EMFUserError
- Specified by:
deleteThreshold
in interface IThresholdDAO
- Throws:
it.eng.spago.error.EMFUserError
loadThresholdList
public java.util.List loadThresholdList()
throws it.eng.spago.error.EMFUserError
- Specified by:
loadThresholdList
in interface IThresholdDAO
- Throws:
it.eng.spago.error.EMFUserError
toThreshold
public Threshold toThreshold(SbiThreshold t)
throws it.eng.spago.error.EMFUserError
- Specified by:
toThreshold
in interface IThresholdDAO
- Throws:
it.eng.spago.error.EMFUserError