Class AnonRankService
java.lang.Object
dev.getelements.elements.service.leaderboard.AnonRankService
- All Implemented Interfaces:
RankService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRanksForFriends
(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
getRanksForFriendsRelative
(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
getRanksForGlobal
(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Gets allRank
instances for the suppliedLeaderboard.getId()
getRanksForGlobalRelative
(String leaderboardNameOrId, String profileId, int offset, int count, long leaderboardEpoch) getRanksForGlobalTabular
(String leaderboardNameOrId, long leaderboardEpoch) Gets the global ranks for tabular data.getRanksForMutualFollowers
(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
getRanksForMutualFollowersRelative
(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Gets allRank
instances for the suppliedLeaderboard
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
void
setRankDao
(RankDao rankDao)
-
Constructor Details
-
AnonRankService
public AnonRankService()
-
-
Method Details
-
getRanksForGlobal
public Pagination<Rank> getRanksForGlobal(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
Gets allRank
instances for the suppliedLeaderboard.getId()
- Specified by:
getRanksForGlobal
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
offset
- the offsetcount
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForGlobalRelative
public Pagination<Rank> getRanksForGlobalRelative(String leaderboardNameOrId, String profileId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
- Specified by:
getRanksForGlobalRelative
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
profileId
- the value ofProfile.getId()
offset
-count
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForFriends
public Pagination<Rank> getRanksForFriends(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
- Specified by:
getRanksForFriends
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
offset
- the offsetcount
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForFriendsRelative
public Pagination<Rank> getRanksForFriendsRelative(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
- Specified by:
getRanksForFriendsRelative
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
offset
- the offsetcount
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForMutualFollowers
public Pagination<Rank> getRanksForMutualFollowers(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
Gets allRank
instances for the suppliedLeaderboard.getId()
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
- Specified by:
getRanksForMutualFollowers
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
offset
- the offsetcount
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForMutualFollowersRelative
public Pagination<Rank> getRanksForMutualFollowersRelative(String leaderboardNameOrId, int offset, int count, long leaderboardEpoch) Description copied from interface:RankService
Gets allRank
instances for the suppliedLeaderboard
relative to theProfile
with the supplied id returning onlyRank
instances within the supplied friend list for the givenProfile
- Specified by:
getRanksForMutualFollowersRelative
in interfaceRankService
- Parameters:
leaderboardNameOrId
- the value ofLeaderboard.getId()
orLeaderboard.getName()
offset
- the offsetcount
- the countleaderboardEpoch
- the epoch timestamp- Returns:
- the
Pagination<Rank>
-
getRanksForGlobalTabular
public Tabulation<RankRow> getRanksForGlobalTabular(String leaderboardNameOrId, long leaderboardEpoch) Description copied from interface:RankService
Gets the global ranks for tabular data.- Specified by:
getRanksForGlobalTabular
in interfaceRankService
- Returns:
- the tabular ranks
-
getRankDao
-
setRankDao
-