2020-12-30 14:56:37 +01:00
|
|
|
package eu.dnetlib.usagestats.services;
|
|
|
|
|
|
|
|
import eu.dnetlib.usagestats.portal.CountryRepositories;
|
|
|
|
import eu.dnetlib.usagestats.portal.CountryUsageStats;
|
|
|
|
import eu.dnetlib.usagestats.portal.CountryUsageStatsAll;
|
|
|
|
import eu.dnetlib.usagestats.portal.MonthlyUsageStats;
|
|
|
|
import eu.dnetlib.usagestats.portal.TotalStats;
|
|
|
|
import eu.dnetlib.usagestats.portal.TotalStatsReposViewsDownloads;
|
|
|
|
import eu.dnetlib.usagestats.portal.UsageStats;
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface UsageStatsService {
|
|
|
|
UsageStats getDatasourceClicks(String id);
|
|
|
|
UsageStats getProjectClicks(String id);
|
|
|
|
UsageStats getResultClicks(String id);
|
2022-09-15 10:16:22 +02:00
|
|
|
UsageStats getResultClicksByPID(String resultPID);
|
2020-12-30 14:56:37 +01:00
|
|
|
//UsageStats getOrganizationClicks(String id);
|
|
|
|
TotalStats getTotalStats();
|
|
|
|
List<MonthlyUsageStats> getMonthlyUsageStats();
|
|
|
|
List<MonthlyUsageStats> getMonthlyUsageStatsForRepo(String id);
|
|
|
|
CountryUsageStatsAll getCountryUsageStatsAll();
|
|
|
|
CountryUsageStats getCountryUsageStats(String country);
|
|
|
|
List<CountryRepositories> getCountryRepositories();
|
|
|
|
TotalStatsReposViewsDownloads getTotalStatsReposViewsDownloads();
|
|
|
|
}
|