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 Details

    • identityManager

      protected org.exoplatform.social.core.manager.IdentityManager identityManager
    • realizationService

      protected RealizationService realizationService
    • relationshipManager

      protected org.exoplatform.social.core.manager.RelationshipManager relationshipManager
    • spaceService

      protected org.exoplatform.social.core.space.spi.SpaceService spaceService
    • programService

      protected ProgramService 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

      public javax.ws.rs.core.Response getIdentityStats(@Context javax.servlet.http.HttpServletRequest request, String identityId, String period)