|
Clearspace API (1.7.0) Core Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StatusLevelCalculator
Defines methods need to calculate status levels and leaders.
| Method Summary | |
|---|---|
java.util.Map<java.lang.Long,java.lang.Long> |
getAllPointLevels(User user)
Returns the status level points for a user for all communities the user has points in |
long[] |
getLeaderIds(Community community,
int startIndex,
int numResults)
Returns a long array of user ids of community leaders given a start index and desired number of results. |
long |
getPointLevel(User user,
Community community)
Returns the status level points for a user in regards to a specific community |
| Method Detail |
|---|
long getPointLevel(User user,
Community community)
user - user user to get status level points forcommunity - community to filter by
java.util.Map<java.lang.Long,java.lang.Long> getAllPointLevels(User user)
user - user user to get status level points for
long[] getLeaderIds(Community community,
int startIndex,
int numResults)
community - community that the leaders leadstartIndex - the start index for results.numResults - the desired number of results to return.
|
Clearspace Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||