Class LeaderboardEndpoint
- java.lang.Object
-
- org.exoplatform.addons.gamification.rest.LeaderboardEndpoint
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
@RolesAllowed("users") public class LeaderboardEndpoint extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLeaderboardEndpoint.LeaderboardInfo
-
Field Summary
Fields Modifier and Type Field Description protected GamificationServicegamificationServiceprotected org.exoplatform.social.core.manager.IdentityManageridentityManagerprotected org.exoplatform.social.core.manager.RelationshipManagerrelationshipManagerprotected org.exoplatform.social.core.space.spi.SpaceServicespaceService
-
Constructor Summary
Constructors Constructor Description LeaderboardEndpoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Responsefilter(javax.ws.rs.core.UriInfo uriInfo, String domain, String period, String capacity)javax.ws.rs.core.ResponsegetAllLeadersByRank(javax.ws.rs.core.UriInfo uriInfo, String earnerType, int limit, String period, boolean loadCapacity)javax.ws.rs.core.Responsestats(javax.ws.rs.core.UriInfo uriInfo, String userSocialId, String period)
-
-
-
Field Detail
-
identityManager
protected org.exoplatform.social.core.manager.IdentityManager identityManager
-
gamificationService
protected GamificationService gamificationService
-
relationshipManager
protected org.exoplatform.social.core.manager.RelationshipManager relationshipManager
-
spaceService
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
-
-
Method Detail
-
getAllLeadersByRank
@RolesAllowed("users") public javax.ws.rs.core.Response getAllLeadersByRank(@Context javax.ws.rs.core.UriInfo uriInfo, String earnerType, int limit, String period, boolean loadCapacity)
-
filter
@RolesAllowed("users") public javax.ws.rs.core.Response filter(@Context javax.ws.rs.core.UriInfo uriInfo, String domain, String period, String capacity)
-
-