Package io.meeds.gamification.rest
Class LeaderboardRest
java.lang.Object
io.meeds.gamification.rest.LeaderboardRest
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class LeaderboardRest
extends Object
implements org.exoplatform.services.rest.resource.ResourceContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.social.core.manager.IdentityManagerprotected ProgramServiceprotected RealizationServiceprotected org.exoplatform.social.core.manager.RelationshipManagerprotected io.meeds.portal.security.service.SecuritySettingServiceprotected org.exoplatform.social.core.space.spi.SpaceServiceprotected io.meeds.social.translation.service.TranslationService -
Constructor Summary
ConstructorsConstructorDescriptionLeaderboardRest(org.exoplatform.social.core.manager.IdentityManager identityManager, RealizationService realizationService, org.exoplatform.social.core.manager.RelationshipManager relationshipManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, ProgramService programService, io.meeds.social.translation.service.TranslationService translationService, io.meeds.portal.security.service.SecuritySettingService securitySettingService) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetIdentityLeaderboard(Long programId, IdentityType identityType, Long identityId, String period, int offset, int limit) javax.ws.rs.core.ResponsegetIdentityStats(javax.servlet.http.HttpServletRequest request, String identityId, String period)
-
Field Details
-
identityManager
protected org.exoplatform.social.core.manager.IdentityManager identityManager -
realizationService
-
relationshipManager
protected org.exoplatform.social.core.manager.RelationshipManager relationshipManager -
spaceService
protected org.exoplatform.social.core.space.spi.SpaceService spaceService -
programService
-
translationService
protected io.meeds.social.translation.service.TranslationService translationService -
securitySettingService
protected io.meeds.portal.security.service.SecuritySettingService securitySettingService
-
-
Constructor Details
-
LeaderboardRest
public LeaderboardRest(org.exoplatform.social.core.manager.IdentityManager identityManager, RealizationService realizationService, org.exoplatform.social.core.manager.RelationshipManager relationshipManager, org.exoplatform.social.core.space.spi.SpaceService spaceService, ProgramService programService, io.meeds.social.translation.service.TranslationService translationService, io.meeds.portal.security.service.SecuritySettingService securitySettingService)
-
-
Method Details
-
getIdentityLeaderboard
public javax.ws.rs.core.Response getIdentityLeaderboard(Long programId, IdentityType identityType, Long identityId, String period, int offset, int limit) -
getIdentityStats
-