@RolesAllowed(value="users") public class LeaderboardEndpoint extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Modifier and Type | Class and Description |
|---|---|
static class |
LeaderboardEndpoint.LeaderboardInfo |
| Modifier and Type | Field and Description |
|---|---|
protected GamificationService |
gamificationService |
protected org.exoplatform.social.core.manager.IdentityManager |
identityManager |
protected org.exoplatform.social.core.manager.RelationshipManager |
relationshipManager |
protected org.exoplatform.social.core.space.spi.SpaceService |
spaceService |
| Constructor and Description |
|---|
LeaderboardEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
filter(javax.ws.rs.core.UriInfo uriInfo,
String domain,
String period,
String capacity) |
javax.ws.rs.core.Response |
getAllLeadersByRank(javax.ws.rs.core.UriInfo uriInfo,
String earnerType,
int limit,
String period,
boolean loadCapacity) |
javax.ws.rs.core.Response |
stats(javax.ws.rs.core.UriInfo uriInfo,
String userSocialId,
String period) |
protected org.exoplatform.social.core.manager.IdentityManager identityManager
protected GamificationService gamificationService
protected org.exoplatform.social.core.manager.RelationshipManager relationshipManager
protected org.exoplatform.social.core.space.spi.SpaceService spaceService
@RolesAllowed(value="users") public javax.ws.rs.core.Response getAllLeadersByRank(@Context javax.ws.rs.core.UriInfo uriInfo, String earnerType, int limit, String period, boolean loadCapacity)
@RolesAllowed(value="users") public javax.ws.rs.core.Response filter(@Context javax.ws.rs.core.UriInfo uriInfo, String domain, String period, String capacity)
@RolesAllowed(value="users") public javax.ws.rs.core.Response stats(@Context javax.ws.rs.core.UriInfo uriInfo, String userSocialId, String period)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.