| Constructor and Description |
|---|
RepoApiDmsImpl() |
| 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) |
ServiceLocator<eu.dnetlib.api.data.DatasourceManagerService> |
getDmService() |
String |
getListLatestUpdate(String mode) |
String |
getNextScheduledExecution(String mode) |
List<Map<String,String>> |
getRegisteredReposByOthers(String user_mail) |
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) |
void |
setDmService(ServiceLocator<eu.dnetlib.api.data.DatasourceManagerService> dmService) |
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) |
public eu.dnetlib.domain.data.Repository getRepository(String id) throws Exception
getRepository in interface RepoApiExceptionpublic eu.dnetlib.domain.data.Repository getRepository(String officialName, String id) throws Exception
getRepository in interface RepoApiExceptionpublic void getRepositoryStats(eu.dnetlib.domain.data.Repository repo)
throws Exception
getRepositoryStats in interface RepoApiExceptionpublic String getListLatestUpdate(String mode) throws Exception
getListLatestUpdate in interface RepoApiExceptionpublic String getNextScheduledExecution(String mode) throws Exception
getNextScheduledExecution in interface RepoApiExceptionpublic String storeRepository(eu.dnetlib.domain.data.Repository repo, String datatype, List<eu.dnetlib.domain.data.RepositoryInterface> interfacesToRegister) throws Exception
storeRepository in interface RepoApiExceptionpublic String editRepository(eu.dnetlib.domain.data.Repository repo, String officialNameOld, String idOld, String datatype) throws Exception
editRepository in interface RepoApiExceptionpublic List<eu.dnetlib.domain.data.Repository> getRepositories(String collectedFrom) throws Exception
getRepositories in interface RepoApiExceptionpublic Map<String,eu.dnetlib.domain.data.Repository> getRepositoriesAsMap(String collectedFrom) throws Exception
getRepositoriesAsMap in interface RepoApiExceptionpublic List<Map<String,String>> getRegisteredReposByOthers(String user_mail)
getRegisteredReposByOthers in interface RepoApipublic List<Map<String,String>> getRepositoriesOfUser(String user_mail) throws Exception
getRepositoriesOfUser in interface RepoApiExceptionpublic TreeMap<String,List<Map<String,String>>> getRepositoriesByCountry(String collectedFrom) throws Exception
getRepositoriesByCountry in interface RepoApiExceptionpublic Map<String,List<eu.dnetlib.domain.data.Repository>> getRepositoriesPerCountry(String collectedFrom) throws Exception
getRepositoriesPerCountry in interface RepoApiExceptionpublic List<eu.dnetlib.domain.data.Repository> getRepositoriesOfCountry(String collectedFrom, String country) throws Exception
getRepositoriesOfCountry in interface RepoApiExceptionpublic Map<String,String> getRepoCompatibility(String officialName, String datasourceId) throws Exception
getRepoCompatibility in interface RepoApiExceptionpublic List<eu.dnetlib.domain.data.Repository> getReposByIds(List<String> datasourceIds) throws Exception
getReposByIds in interface RepoApiExceptionpublic List<eu.dnetlib.domain.data.Repository> getRepositoriesOfUser(String user_mail, Boolean repoAdmin) throws Exception
getRepositoriesOfUser in interface RepoApiExceptionpublic boolean repoIsCompliant(String officialName) throws Exception
repoIsCompliant in interface RepoApiExceptionpublic boolean updateRepositoryInterfaceCompliance(String officialName, String datasourceId, String interfaceId, String desiredCompliance, String set, String baseUrl, String oldId) throws Exception
updateRepositoryInterfaceCompliance in interface RepoApiExceptionpublic boolean insertPubFileInterface(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace) throws Exception
insertPubFileInterface in interface RepoApiExceptionpublic boolean updatePubFileInterface(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace) throws Exception
updatePubFileInterface in interface RepoApiExceptionpublic List<String> getUrlsOfRepos(String user_mail, Boolean repoAdmin) throws Exception
getUrlsOfRepos in interface RepoApiExceptionpublic String updateRepositoryInformation(eu.dnetlib.domain.data.Repository repo) throws Exception
updateRepositoryInformation in interface RepoApiExceptionpublic String deleteRepositoryInterfaces(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces) throws Exception
deleteRepositoryInterfaces in interface RepoApiExceptionpublic void deleteRepositoryInterfacesWithoutChecks(String dsId, List<eu.dnetlib.domain.data.RepositoryInterface> interfaces, String datatype) throws Exception
deleteRepositoryInterfacesWithoutChecks in interface RepoApiExceptionpublic 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) throws Exception
updateRepositoryInterfaces in interface RepoApiExceptionpublic eu.dnetlib.domain.data.RepositoryInterface updateRepositoryInterfaceWithoutChecks(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace, String datatype) throws Exception
updateRepositoryInterfaceWithoutChecks in interface RepoApiExceptionpublic 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) throws Exception
insertRepositoryInterfaces in interface RepoApiExceptionpublic eu.dnetlib.domain.data.RepositoryInterface insertRepositoryInterfaceWithoutChecks(String dsId, eu.dnetlib.domain.data.RepositoryInterface iFace, String datatype) throws Exception
insertRepositoryInterfaceWithoutChecks in interface RepoApiExceptionpublic boolean unregisterRepository(eu.dnetlib.domain.data.Repository repo)
throws Exception
unregisterRepository in interface RepoApiExceptionpublic ServiceLocator<eu.dnetlib.api.data.DatasourceManagerService> getDmService()
public void setDmService(ServiceLocator<eu.dnetlib.api.data.DatasourceManagerService> dmService)
Copyright © 2017. All rights reserved.