public interface ProfileKudosLogic
| Modifier and Type | Method and Description |
|---|---|
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
|
int getKudos(String userUuid)
userUuid - user to get the rating forThis is the adjusted score, an integer out of ten.
BigDecimal getRawKudos(String userUuid)
userUuid - user to get the rating forThis 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.Copyright © 2008–2014 The Sakai Foundation. All rights reserved.