it.eng.spagobi.analiticalmodel.document.dao
Interface IBIObjectRating

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
BIObjectRatingDAOHibImpl

public interface IBIObjectRating
extends ISpagoBIDao


Method Summary
 java.lang.Double calculateBIObjectRating(BIObject obj)
          Implements the query to calculate the medium rating for a BI Object.
 void voteBIObject(BIObject obj, java.lang.String userid, java.lang.String rating)
          Implements the query to insert a rating for a BI Object.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

voteBIObject

void voteBIObject(BIObject obj,
                  java.lang.String userid,
                  java.lang.String rating)
                  throws it.eng.spago.error.EMFUserError
Implements the query to insert a rating for a BI Object.

Parameters:
obj - the obj
userid - the userid
rating - the rating
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

calculateBIObjectRating

java.lang.Double calculateBIObjectRating(BIObject obj)
                                         throws it.eng.spago.error.EMFUserError
Implements the query to calculate the medium rating for a BI Object.

Parameters:
obj - the obj
Returns:
The BI object medium rating
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred