|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.analiticalmodel.document.dao.BIObjectRatingDAOHibImpl
public class BIObjectRatingDAOHibImpl
Constructor Summary | |
---|---|
BIObjectRatingDAOHibImpl()
|
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 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 |
---|
public BIObjectRatingDAOHibImpl()
Method Detail |
---|
public void voteBIObject(BIObject obj, java.lang.String userid, java.lang.String rating) throws it.eng.spago.error.EMFUserError
IBIObjectRating
voteBIObject
in interface IBIObjectRating
obj
- the objuserid
- the useridrating
- the rating
it.eng.spago.error.EMFUserError
- If an Exception occurredpublic java.lang.Double calculateBIObjectRating(BIObject obj) throws it.eng.spago.error.EMFUserError
IBIObjectRating
calculateBIObjectRating
in interface IBIObjectRating
obj
- the obj
it.eng.spago.error.EMFUserError
- If an Exception occurred
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |