public interface RepoApi
| Modifier and Type | Method and Description |
|---|---|
String |
deleteRepositoryInterfaces(String dsId,
List<eu.dnetlib.domain.data.RepositoryInterface> interfaces) |
void |
deleteRepositoryInterfacesWithoutChecks(String dsId,
List<eu.dnetlib.domain.data.RepositoryInterface> interfaces,
String datatype) |
String |
editRepository(eu.dnetlib.domain.data.Repository repo,
String officialNameOld,
String idOld,
String datatype) |
String |
getListLatestUpdate(String mode) |
String |
getNextScheduledExecution(String mode) |
List<Map<String,String>> |
getRegisteredReposByOthers(String string) |
Map<String,String> |
getRepoCompatibility(String officialName,
String datasourceId) |
List<eu.dnetlib.domain.data.Repository> |
getReposByIds(List<String> datasourceIds) |
List<eu.dnetlib.domain.data.Repository> |
getRepositories(String collectedFrom) |
Map<String,eu.dnetlib.domain.data.Repository> |
getRepositoriesAsMap(String collectedFrom) |
TreeMap<String,List<Map<String,String>>> |
getRepositoriesByCountry(String collectedFrom) |
List<eu.dnetlib.domain.data.Repository> |
getRepositoriesOfCountry(String collectedFrom,
String country) |
List<Map<String,String>> |
getRepositoriesOfUser(String user_mail) |
List<eu.dnetlib.domain.data.Repository> |
getRepositoriesOfUser(String user_mail,
Boolean repoAdmin) |
Map<String,List<eu.dnetlib.domain.data.Repository>> |
getRepositoriesPerCountry(String collectedFrom) |
eu.dnetlib.domain.data.Repository |
getRepository(String id) |
eu.dnetlib.domain.data.Repository |
getRepository(String officialName,
String id) |
void |
getRepositoryStats(eu.dnetlib.domain.data.Repository repo) |
List<String> |
getUrlsOfRepos(String user_mail,
Boolean repoAdmin) |
boolean |
insertPubFileInterface(String dsId,
eu.dnetlib.domain.data.RepositoryInterface iFace) |
String |
insertRepositoryInterfaces(String dsId,
List<eu.dnetlib.domain.data.RepositoryInterface> interfaces,
List<eu.dnetlib.domain.data.RepositoryInterface> interfacesOld,
String datatype,
List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) |
eu.dnetlib.domain.data.RepositoryInterface |
insertRepositoryInterfaceWithoutChecks(String dsId,
eu.dnetlib.domain.data.RepositoryInterface iFace,
String datatype) |
boolean |
repoIsCompliant(String officialName) |
String |
storeRepository(eu.dnetlib.domain.data.Repository repo,
String datatype,
List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) |
boolean |
unregisterRepository(eu.dnetlib.domain.data.Repository repo) |
boolean |
updatePubFileInterface(String dsId,
eu.dnetlib.domain.data.RepositoryInterface iFace) |
String |
updateRepositoryInformation(eu.dnetlib.domain.data.Repository repo) |
boolean |
updateRepositoryInterfaceCompliance(String officialName,
String datasourceId,
String interfaceId,
String desiredCompliance,
String set,
String baseUrl,
String oldId) |
String |
updateRepositoryInterfaces(String dsId,
List<eu.dnetlib.domain.data.RepositoryInterface> interfaces,
List<eu.dnetlib.domain.data.RepositoryInterface> interfacesOld,
String datatype,
List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) |
eu.dnetlib.domain.data.RepositoryInterface |
updateRepositoryInterfaceWithoutChecks(String dsId,
eu.dnetlib.domain.data.RepositoryInterface iFace,
String datatype) |
eu.dnetlib.domain.data.Repository getRepository(String id) throws Exception
Exceptioneu.dnetlib.domain.data.Repository getRepository(String officialName, String id) throws Exception
ExceptionString storeRepository(eu.dnetlib.domain.data.Repository repo, String datatype, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) throws Exception
ExceptionString editRepository(eu.dnetlib.domain.data.Repository repo, String officialNameOld, String idOld, String datatype) throws Exception
ExceptionTreeMap<String,List<Map<String,String>>> getRepositoriesByCountry(String collectedFrom) throws Exception
ExceptionMap<String,List<eu.dnetlib.domain.data.Repository>> getRepositoriesPerCountry(String collectedFrom) throws Exception
ExceptionList<eu.dnetlib.domain.data.Repository> getRepositoriesOfCountry(String collectedFrom, String country) throws Exception
Exceptionboolean updateRepositoryInterfaceCompliance(String officialName, String datasourceId, String interfaceId, String desiredCompliance, String set, String baseUrl, String oldId) throws Exception
ExceptionList<eu.dnetlib.domain.data.Repository> getRepositoriesOfUser(String user_mail, Boolean repoAdmin) throws Exception
ExceptionMap<String,String> getRepoCompatibility(String officialName, String datasourceId) throws Exception
ExceptionList<String> getUrlsOfRepos(String user_mail, Boolean repoAdmin) throws Exception
Exceptionboolean insertPubFileInterface(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace) throws Exception
Exceptionboolean updatePubFileInterface(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace) throws Exception
ExceptionMap<String,eu.dnetlib.domain.data.Repository> getRepositoriesAsMap(String collectedFrom) throws Exception
ExceptionList<eu.dnetlib.domain.data.Repository> getRepositories(String collectedFrom) throws Exception
ExceptionString getNextScheduledExecution(String mode) throws Exception
ExceptionList<eu.dnetlib.domain.data.Repository> getReposByIds(List<String> datasourceIds) throws Exception
Exceptionvoid getRepositoryStats(eu.dnetlib.domain.data.Repository repo)
throws Exception
ExceptionString updateRepositoryInformation(eu.dnetlib.domain.data.Repository repo) throws Exception
ExceptionString deleteRepositoryInterfaces(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces) throws Exception
Exceptionvoid deleteRepositoryInterfacesWithoutChecks(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces, String datatype) throws Exception
ExceptionString updateRepositoryInterfaces(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesOld, String datatype, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) throws Exception
Exceptioneu.dnetlib.domain.data.RepositoryInterface updateRepositoryInterfaceWithoutChecks(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace, String datatype) throws Exception
ExceptionString insertRepositoryInterfaces(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesOld, String datatype, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) throws Exception
Exceptioneu.dnetlib.domain.data.RepositoryInterface insertRepositoryInterfaceWithoutChecks(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace, String datatype) throws Exception
Exceptionboolean unregisterRepository(eu.dnetlib.domain.data.Repository repo)
throws Exception
ExceptionCopyright © 2017. All rights reserved.