Class StatisticsEndpoint

java.lang.Object
org.opencastproject.adminui.endpoint.StatisticsEndpoint

@Path("/admin-ng/statistics") public class StatisticsEndpoint extends Object
  • Constructor Details

    • StatisticsEndpoint

      public StatisticsEndpoint()
  • Method Details

    • setSecurityService

      public void setSecurityService(org.opencastproject.security.api.SecurityService securityService)
    • setIndexService

      public void setIndexService(org.opencastproject.index.service.api.IndexService indexService)
    • setSearchIndex

      public void setSearchIndex(org.opencastproject.elasticsearch.index.ElasticsearchIndex searchIndex)
    • setStatisticsService

      public void setStatisticsService(org.opencastproject.statistics.api.StatisticsService statisticsService)
    • setStatisticsExportService

      public void setStatisticsExportService(org.opencastproject.statistics.export.api.StatisticsExportService statisticsExportService)
    • getProviders

      @GET @Path("providers.json") @Produces("application/json") public javax.ws.rs.core.Response getProviders(@QueryParam("resourceType") String resourceTypeStr)
    • getProviderData

      @POST @Path("data.json") @Produces("application/json") public javax.ws.rs.core.Response getProviderData(@FormParam("data") String data)
    • getCSVData

      @GET @Path("export.csv") @Produces("text/plain") public javax.ws.rs.core.Response getCSVData(@QueryParam("providerId") String providerId, @QueryParam("resourceId") String resourceId, @QueryParam("from") String fromStr, @QueryParam("to") String toStr, @QueryParam("dataResolution") String dataResolutionStr)