Class SpaceLeaderboardEndpoint
- java.lang.Object
-
- org.exoplatform.addons.gamification.rest.SpaceLeaderboardEndpoint
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
@RolesAllowed("users") public class SpaceLeaderboardEndpoint extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected GamificationServicegamificationServiceprotected org.exoplatform.social.core.manager.IdentityManageridentityManagerprotected org.exoplatform.social.core.space.spi.SpaceServicespaceService
-
Constructor Summary
Constructors Constructor Description SpaceLeaderboardEndpoint(GamificationService gamificationService, org.exoplatform.social.core.manager.IdentityManager identityManager, org.exoplatform.social.core.space.spi.SpaceService spaceService)
-
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 url, String capacity)javax.ws.rs.core.ResponsegetAllLeadersByRank(javax.ws.rs.core.UriInfo uriInfo, String url)
-
-
-
Field Detail
-
gamificationService
protected GamificationService gamificationService
-
identityManager
protected org.exoplatform.social.core.manager.IdentityManager identityManager
-
spaceService
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
-
-
Constructor Detail
-
SpaceLeaderboardEndpoint
public SpaceLeaderboardEndpoint(GamificationService gamificationService, org.exoplatform.social.core.manager.IdentityManager identityManager, 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 url)
-
-