@Service(value="repositoryService") public class RepositoryServiceImpl extends eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet implements RepositoryService
| Constructor and Description |
|---|
RepositoryServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteInterface(String repoId,
eu.dnetlib.domain.data.RepositoryInterface iFace,
String datatype) |
void |
deleteInterfaces(String repoId,
List<eu.dnetlib.domain.data.RepositoryInterface> iFaces,
String datatype) |
void |
enableMetricsForRepository(eu.dnetlib.domain.data.Repository repository,
eu.dnetlib.domain.functionality.UserProfile requestor) |
Map<String,String> |
getCompatibilityClasses(String mode) |
Map<String,String> |
getCountries() |
Map<String,String> |
getCountries(Boolean existingOnly,
String mode) |
Map<String,String> |
getDatasourceClasses(String mode) |
DatasourceVocabularies |
getDatasourceVocabularies(String mode) |
String |
getLatestUpdateDateOfList(String mode) |
MetricsInfo |
getMetricsInfoForRepository(String repoId) |
String |
getPiwikScriptForRepository(String repoId) |
eu.dnetlib.domain.data.PiwikInfo |
getPiwikSiteForRepository(String repoId) |
List<eu.dnetlib.domain.data.PiwikInfo> |
getPiwikSitesForRepositories() |
List<eu.dnetlib.domain.data.Repository> |
getRepositoriesByCountry(String country,
String mode) |
Tuple<List<eu.dnetlib.domain.data.Repository>,List<eu.dnetlib.domain.data.Repository>> |
getRepositoriesByCountry(String country,
String mode,
boolean includeUnknownCountries) |
DatasourcesCollection |
getRepositoriesOfUser(String userEmail,
boolean includeShared,
boolean includeByOthers) |
eu.dnetlib.domain.data.Repository |
getRepository(String repoId) |
Aggregations |
getRepositoryAggregations(String repoId) |
List<String> |
getRepositoryUrlsOfUser(String userEmail,
boolean includeShared,
boolean includeByOthers) |
List<Timezone> |
getTimezones() |
List<String> |
getTypologies() |
void |
init() |
eu.dnetlib.domain.data.RepositoryInterface |
insertInterface(eu.dnetlib.domain.data.RepositoryInterface iFace,
String repoId,
String datatype) |
void |
markPiwikSiteAsValidated(String repositoryId) |
void |
storeRepository(eu.dnetlib.domain.data.Repository repo,
String mode) |
eu.dnetlib.domain.data.RepositoryInterface |
updateInterface(eu.dnetlib.domain.data.RepositoryInterface iFace,
String repoId,
String datatype) |
void |
updateRepositoryInformation(eu.dnetlib.domain.data.Repository repo) |
getBean, getBean, getService, processCallcheckPermutationStrongName, doGetSerializationPolicy, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service@PostConstruct public void init()
init in class eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServletpublic Tuple<List<eu.dnetlib.domain.data.Repository>,List<eu.dnetlib.domain.data.Repository>> getRepositoriesByCountry(String country, String mode, boolean includeUnknownCountries) throws RepositoryServiceException
getRepositoriesByCountry in interface RepositoryServiceRepositoryServiceExceptionpublic List<eu.dnetlib.domain.data.Repository> getRepositoriesByCountry(String country, String mode) throws RepositoryServiceException
getRepositoriesByCountry in interface RepositoryServiceRepositoryServiceExceptionpublic DatasourcesCollection getRepositoriesOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws RepositoryServiceException
getRepositoriesOfUser in interface RepositoryServiceRepositoryServiceExceptionpublic List<String> getRepositoryUrlsOfUser(String userEmail, boolean includeShared, boolean includeByOthers) throws RepositoryServiceException
getRepositoryUrlsOfUser in interface RepositoryServiceRepositoryServiceExceptionpublic eu.dnetlib.domain.data.Repository getRepository(String repoId) throws RepositoryServiceException
getRepository in interface RepositoryServiceRepositoryServiceExceptionpublic Map<String,String> getCountries(Boolean existingOnly, String mode) throws RepositoryServiceException
getCountries in interface RepositoryServiceRepositoryServiceExceptionpublic Map<String,String> getCountries() throws RepositoryServiceException
getCountries in interface RepositoryServiceRepositoryServiceExceptionpublic List<Timezone> getTimezones() throws RepositoryServiceException
getTimezones in interface RepositoryServiceRepositoryServiceExceptionpublic List<String> getTypologies() throws RepositoryServiceException
getTypologies in interface RepositoryServiceRepositoryServiceExceptionpublic Map<String,String> getDatasourceClasses(String mode) throws RepositoryServiceException
getDatasourceClasses in interface RepositoryServiceRepositoryServiceExceptionpublic Map<String,String> getCompatibilityClasses(String mode) throws RepositoryServiceException
getCompatibilityClasses in interface RepositoryServiceRepositoryServiceExceptionpublic void storeRepository(eu.dnetlib.domain.data.Repository repo,
String mode)
throws RepositoryServiceException
storeRepository in interface RepositoryServiceRepositoryServiceExceptionpublic void updateRepositoryInformation(eu.dnetlib.domain.data.Repository repo)
throws RepositoryServiceException
updateRepositoryInformation in interface RepositoryServiceRepositoryServiceExceptionpublic eu.dnetlib.domain.data.RepositoryInterface updateInterface(eu.dnetlib.domain.data.RepositoryInterface iFace,
String repoId,
String datatype)
throws RepositoryServiceException
updateInterface in interface RepositoryServiceRepositoryServiceExceptionpublic eu.dnetlib.domain.data.RepositoryInterface insertInterface(eu.dnetlib.domain.data.RepositoryInterface iFace,
String repoId,
String datatype)
throws RepositoryServiceException
insertInterface in interface RepositoryServiceRepositoryServiceExceptionpublic void deleteInterface(String repoId, eu.dnetlib.domain.data.RepositoryInterface iFace, String datatype) throws RepositoryServiceException
deleteInterface in interface RepositoryServiceRepositoryServiceExceptionpublic void deleteInterfaces(String repoId, List<eu.dnetlib.domain.data.RepositoryInterface> iFaces, String datatype) throws RepositoryServiceException
deleteInterfaces in interface RepositoryServiceRepositoryServiceExceptionpublic DatasourceVocabularies getDatasourceVocabularies(String mode) throws RepositoryServiceException
getDatasourceVocabularies in interface RepositoryServiceRepositoryServiceExceptionpublic String getLatestUpdateDateOfList(String mode) throws RepositoryServiceException
getLatestUpdateDateOfList in interface RepositoryServiceRepositoryServiceExceptionpublic eu.dnetlib.domain.data.PiwikInfo getPiwikSiteForRepository(String repoId) throws RepositoryServiceException
getPiwikSiteForRepository in interface RepositoryServiceRepositoryServiceExceptionpublic void enableMetricsForRepository(eu.dnetlib.domain.data.Repository repository,
eu.dnetlib.domain.functionality.UserProfile requestor)
throws RepositoryServiceException
enableMetricsForRepository in interface RepositoryServiceRepositoryServiceExceptionpublic String getPiwikScriptForRepository(String repoId) throws RepositoryServiceException
getPiwikScriptForRepository in interface RepositoryServiceRepositoryServiceExceptionpublic List<eu.dnetlib.domain.data.PiwikInfo> getPiwikSitesForRepositories() throws RepositoryServiceException
getPiwikSitesForRepositories in interface RepositoryServiceRepositoryServiceExceptionpublic void markPiwikSiteAsValidated(String repositoryId) throws RepositoryServiceException
markPiwikSiteAsValidated in interface RepositoryServiceRepositoryServiceExceptionpublic MetricsInfo getMetricsInfoForRepository(String repoId) throws RepositoryServiceException
getMetricsInfoForRepository in interface RepositoryServiceRepositoryServiceExceptionpublic Aggregations getRepositoryAggregations(String repoId) throws Exception
getRepositoryAggregations in interface RepositoryServiceExceptionCopyright © 2018. All rights reserved.