A single entry in one of MyRewardInfo's leaderboards: a participant and their points total for the containing reward. Wraps either a ProfileBean or OrgData for the participant, chosen based on whether they are a profile or an organisation, and honours the enclosing MyRewardInfo's extendedProfiles setting for profile entries.


Properties

PropertyReturnsDescription
memberEntityBeanThe participant this leaderboard entry represents.
mostPointsDoubleThe greatest points total earned by any member of the leaderboard this entry belongs to. The same value is shared by every entry in the list, so it can be used to calculate a relative percentage.
numPointsDoubleThe points total this participant earned within the leaderboard's date bounds.
percentlongThis entry's points total as a percentage of the leaderboard's top points total.

Methods

getMember()

Returns: EntityBean

The participant this leaderboard entry represents.

getNumPoints()

Returns: Double

The points total this participant earned within the leaderboard's date bounds.

getMostPoints()

Returns: Double

The greatest points total earned by any member of the leaderboard this entry belongs to. The same value is shared by every entry in the list, so it can be used to calculate a relative percentage.

getPercent()

Returns: long

This entry's points total as a percentage of the leaderboard's top points total.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.