Project

General

Profile

« Previous | Next » 

Revision 49691

View differences:

RepositoryService.java
4 4
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
5 5
import eu.dnetlib.domain.data.Repository;
6 6
import eu.dnetlib.domain.data.RepositoryInterface;
7
import eu.dnetlib.domain.functionality.UserProfile;
7 8
import eu.dnetlib.repo.manager.shared.*;
8 9

  
9 10
import java.util.List;
......
55 56

  
56 57
    PiwikInfo getPiwikSiteForRepository(String repoId) throws RepositoryServiceException;
57 58

  
58
    void enableMetricsForRepository(Repository repository) throws RepositoryServiceException;
59
    void enableMetricsForRepository(Repository repository, UserProfile requestor) throws RepositoryServiceException;
59 60

  
60 61
    String getPiwikScriptForRepository(String repoId) throws RepositoryServiceException;
62

  
63
    List<PiwikInfo> getPiwikSitesForRepositories() throws RepositoryServiceException;
64

  
65
    void approvePiwikSite(String repositoryId) throws RepositoryServiceException;
61 66
}

Also available in: Unified diff