Class StatisticsEndpoint
java.lang.Object
org.opencastproject.adminui.endpoint.StatisticsEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsegetCSVData(String providerId, String resourceId, String fromStr, String toStr, String dataResolutionStr) javax.ws.rs.core.ResponsegetProviderData(String data) javax.ws.rs.core.ResponsegetProviders(String resourceTypeStr) voidsetIndexService(org.opencastproject.index.service.api.IndexService indexService) voidsetSearchIndex(org.opencastproject.elasticsearch.index.ElasticsearchIndex searchIndex) voidsetSecurityService(org.opencastproject.security.api.SecurityService securityService) voidsetStatisticsExportService(org.opencastproject.statistics.export.api.StatisticsExportService statisticsExportService) voidsetStatisticsService(org.opencastproject.statistics.api.StatisticsService statisticsService)
-
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)
-