1 |
41093
|
stefania.m
|
package eu.dnetlib.repo.manager.client.services;
|
2 |
40260
|
stefania.m
|
|
3 |
|
|
import com.google.gwt.user.client.rpc.RemoteService;
|
4 |
|
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
5 |
40262
|
nikon.gasp
|
import eu.dnetlib.domain.data.Repository;
|
6 |
41005
|
nikon.gasp
|
import eu.dnetlib.domain.data.RepositoryInterface;
|
7 |
40801
|
nikon.gasp
|
import eu.dnetlib.repo.manager.shared.*;
|
8 |
40260
|
stefania.m
|
|
9 |
40262
|
nikon.gasp
|
import java.util.List;
|
10 |
40543
|
nikon.gasp
|
import java.util.Map;
|
11 |
40262
|
nikon.gasp
|
|
12 |
40260
|
stefania.m
|
/**
|
13 |
|
|
* Created by stefania on 12/8/15.
|
14 |
|
|
*/
|
15 |
40464
|
nikon.gasp
|
@RemoteServiceRelativePath("springGwtServices/repositoryService")
|
16 |
40260
|
stefania.m
|
public interface RepositoryService extends RemoteService {
|
17 |
40262
|
nikon.gasp
|
|
18 |
40546
|
nikon.gasp
|
Tuple<List<Repository>, List<Repository>> getRepositoriesByCountry(String country, String mode, boolean includeUnknownCountries) throws RepositoryServiceException;
|
19 |
40262
|
nikon.gasp
|
|
20 |
41136
|
nikon.gasp
|
List<String> getRepositoryUrlsOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws RepositoryServiceException;
|
21 |
|
|
|
22 |
40801
|
nikon.gasp
|
Repository getRepository(String repoId) throws RepositoryServiceException;
|
23 |
40262
|
nikon.gasp
|
|
24 |
40543
|
nikon.gasp
|
Map<String, String> getCountries(Boolean existingOnly, String mode) throws RepositoryServiceException;
|
25 |
40516
|
nikon.gasp
|
|
26 |
40543
|
nikon.gasp
|
Map<String, String> getCountries() throws RepositoryServiceException;
|
27 |
40516
|
nikon.gasp
|
|
28 |
40552
|
nikon.gasp
|
List<Timezone> getTimezones() throws RepositoryServiceException;
|
29 |
|
|
|
30 |
|
|
List<String> getTypologies() throws RepositoryServiceException;
|
31 |
|
|
|
32 |
40593
|
nikon.gasp
|
Map<String, String> getDatasourceClasses(String mode) throws RepositoryServiceException;
|
33 |
40575
|
nikon.gasp
|
|
34 |
40611
|
nikon.gasp
|
Map<String, String> getCompatibilityClasses(String mode) throws RepositoryServiceException;
|
35 |
|
|
|
36 |
40336
|
nikon.gasp
|
void storeRepository(Repository repo, String mode) throws RepositoryServiceException;
|
37 |
40262
|
nikon.gasp
|
|
38 |
40575
|
nikon.gasp
|
void updateRepositoryInformation(Repository repo) throws RepositoryServiceException;
|
39 |
|
|
|
40 |
41079
|
nikon.gasp
|
RepositoryInterface updateInterface(RepositoryInterface iFace, String repoId, String datatype) throws RepositoryServiceException;
|
41 |
41005
|
nikon.gasp
|
|
42 |
41079
|
nikon.gasp
|
RepositoryInterface insertInterface(RepositoryInterface iFace, String repoId, String datatype) throws RepositoryServiceException;
|
43 |
41049
|
nikon.gasp
|
|
44 |
41087
|
nikon.gasp
|
void deleteInterface(String repoId, RepositoryInterface iFace, String datatype) throws RepositoryServiceException;
|
45 |
41049
|
nikon.gasp
|
|
46 |
41087
|
nikon.gasp
|
void deleteInterfaces(String repoId, List<RepositoryInterface> iFaces, String datatype) throws RepositoryServiceException;
|
47 |
41005
|
nikon.gasp
|
|
48 |
40580
|
nikon.gasp
|
DatasourceVocabularies getDatasourceVocabularies(String mode) throws RepositoryServiceException;
|
49 |
40579
|
nikon.gasp
|
|
50 |
40647
|
stefania.m
|
List<Repository> getRepositoriesByCountry(String country, String mode) throws RepositoryServiceException;
|
51 |
40546
|
nikon.gasp
|
|
52 |
40801
|
nikon.gasp
|
DatasourcesCollection getRepositoriesOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws RepositoryServiceException;
|
53 |
|
|
|
54 |
41638
|
nikon.gasp
|
String getLatestUpdateDateOfList(String mode) throws RepositoryServiceException;
|
55 |
40260
|
stefania.m
|
}
|