|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProfileKudosLogic
An interface for dealing with kudos in Profile2
| Method Summary | |
|---|---|
int |
getKudos(String userUuid)
Get the kudos rating for a user |
BigDecimal |
getRawKudos(String userUuid)
Get the kudos rating for a user |
boolean |
updateKudos(String userUuid,
int score,
BigDecimal percentage)
Update a user's kudos rating |
| Method Detail |
|---|
int getKudos(String userUuid)
userUuid - user to get the rating for
This is the adjusted score, an integer out of ten.
BigDecimal getRawKudos(String userUuid)
userUuid - user to get the rating for
This is the more accurate score.
boolean updateKudos(String userUuid,
int score,
BigDecimal percentage)
userUuid - uuid for the userscore - score, already calculated out of ten.percentage - value out of 100, more accurate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||