|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jivesoftware.forum.database.RewardStatusLevelCalculator
public class RewardStatusLevelCalculator
Provides a status level calculator implementation that ties in with the rewards system.
| Constructor Summary | |
|---|---|
RewardStatusLevelCalculator()
|
|
| Method Summary | |
|---|---|
long[] |
getLeaderIds(ForumCategory category,
int startIndex,
int numResults)
Returns a long array of user ids of forum category leaders given a start index and desired number of results. |
long[] |
getLeaderIds(Forum forum,
int startIndex,
int numResults)
Returns a long array of user ids of forum leaders |
long[] |
getLeaderIds(int startIndex,
int numResults)
Returns a long array of user ids of system leaders given a start index and desired number of results. |
int |
getPointLevel(User user)
Returns the point level for a user system wide. |
int |
getPointLevel(User user,
Forum forum)
Returns the status level points for a user in regards to a specific forum |
int |
getPointLevel(User user,
ForumCategory category)
Returns the status level points for a user in regards to a specific category |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RewardStatusLevelCalculator()
| Method Detail |
|---|
public int getPointLevel(User user)
StatusLevelCalculator
getPointLevel in interface StatusLevelCalculatoruser - user to get status level points for
public int getPointLevel(User user,
Forum forum)
StatusLevelCalculator
getPointLevel in interface StatusLevelCalculatoruser - user user to get status level points forforum - forum to filter by
public int getPointLevel(User user,
ForumCategory category)
StatusLevelCalculator
getPointLevel in interface StatusLevelCalculatoruser - user user to get status level points forcategory - category to filter by
public long[] getLeaderIds(int startIndex,
int numResults)
StatusLevelCalculator
getLeaderIds in interface StatusLevelCalculatorstartIndex - the start index for results.numResults - the desired number of results to return.
public long[] getLeaderIds(ForumCategory category,
int startIndex,
int numResults)
StatusLevelCalculator
getLeaderIds in interface StatusLevelCalculatorcategory - category that the leaders leadstartIndex - the start index for results.numResults - the desired number of results to return.
public long[] getLeaderIds(Forum forum,
int startIndex,
int numResults)
StatusLevelCalculator
getLeaderIds in interface StatusLevelCalculatorforum - forum that the leaders belong tostartIndex - the start index for results.numResults - the desired number of results to return.
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||