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 -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GamificationServiceprotected org.exoplatform.social.core.manager.IdentityManagerprotected org.exoplatform.social.core.manager.RelationshipManagerprotected org.exoplatform.social.core.space.spi.SpaceService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Responsejavax.ws.rs.core.ResponsegetAllLeadersByRank(javax.ws.rs.core.UriInfo uriInfo, String earnerType, int limit, String period, boolean loadCapacity) javax.ws.rs.core.Response
-
Field Details
-
identityManager
protected org.exoplatform.social.core.manager.IdentityManager identityManager -
gamificationService
-
relationshipManager
protected org.exoplatform.social.core.manager.RelationshipManager relationshipManager -
spaceService
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
-
-
Constructor Details
-
LeaderboardEndpoint
public LeaderboardEndpoint()
-
-
Method Details
-
getAllLeadersByRank
-
filter
-
stats
-