1 |
54525
|
panagiotis
|
package eu.dnetlib.repo.manager.service;
|
2 |
49868
|
panagiotis
|
|
3 |
|
|
|
4 |
49878
|
antonis.le
|
import eu.dnetlib.domain.data.PiwikInfo;
|
5 |
56661
|
ioannis.di
|
import eu.dnetlib.repo.manager.domain.OrderByField;
|
6 |
|
|
import eu.dnetlib.repo.manager.domain.OrderByType;
|
7 |
57741
|
ioannis.di
|
import eu.dnetlib.repo.manager.domain.RepositoryServiceException;
|
8 |
52781
|
panagiotis
|
import org.springframework.http.ResponseEntity;
|
9 |
49868
|
panagiotis
|
|
10 |
|
|
import java.util.List;
|
11 |
|
|
|
12 |
54525
|
panagiotis
|
|
13 |
54690
|
panagiotis
|
public interface PiWikService {
|
14 |
49868
|
panagiotis
|
|
15 |
|
|
PiwikInfo getPiwikSiteForRepo(String repositoryId);
|
16 |
|
|
|
17 |
54525
|
panagiotis
|
PiwikInfo savePiwikInfo(PiwikInfo piwikInfo);
|
18 |
49868
|
panagiotis
|
|
19 |
56661
|
ioannis.di
|
List<PiwikInfo> getPiwikSitesForRepos(OrderByField orderByField, OrderByType orderByType, int from, int quantity, String searchField);
|
20 |
49868
|
panagiotis
|
|
21 |
56828
|
ioannis.di
|
int getPiwikSitesTotals(String searchField);
|
22 |
56683
|
ioannis.di
|
|
23 |
52781
|
panagiotis
|
ResponseEntity<Object> approvePiwikSite(String repositoryId);
|
24 |
49868
|
panagiotis
|
|
25 |
|
|
String getOpenaireId(String repositoryid);
|
26 |
51525
|
panagiotis
|
|
27 |
52781
|
panagiotis
|
ResponseEntity<Object> markPiwikSiteAsValidated(String repositoryId) throws RepositoryServiceException;
|
28 |
51525
|
panagiotis
|
|
29 |
54525
|
panagiotis
|
PiwikInfo enableMetricsForRepository(String officialName, String repoWebsite, PiwikInfo piwikInfo) throws RepositoryServiceException;
|
30 |
49868
|
panagiotis
|
}
|