Package eu.dnetlib.openaire.common
Class ISClientImpl
java.lang.Object
eu.dnetlib.openaire.common.ISClientImpl
- All Implemented Interfaces:
ISClient
Created by claudio on 20/10/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConcept(String id, String categoryId, String data) Deprecated.voidDeprecated.getContextMap(List<String> type) Deprecated.Deprecated.getObjectStoreId(String dsId) getProfile(String profileId) voidremoveConcept(String id, String categoryId, String conceptId) Deprecated.voidupdateConceptAttribute(String id, String name, String value) Deprecated.voidupdateConceptParam(String id, String name, String value) Deprecated.voidupdateConceptParamNoEscape(String id, String name, String value) Deprecated.voidupdateContextAttribute(String id, String name, String value) Deprecated.voidupdateContextParam(String id, String name, String value, boolean toEscape) Deprecated.
-
Constructor Details
-
ISClientImpl
public ISClientImpl()
-
-
Method Details
-
calculateCurrentIndexDsInfo
- Specified by:
calculateCurrentIndexDsInfoin interfaceISClient- Throws:
Exception
-
getObjectStoreId
- Specified by:
getObjectStoreIdin interfaceISClient- Throws:
Exception
-
getFunderContextMap
@Cacheable("context-cache-funder") @Deprecated public Map<String,Context> getFunderContextMap() throws IOExceptionDeprecated.- Specified by:
getFunderContextMapin interfaceISClient- Throws:
IOException
-
getCommunityContextMap
@Cacheable("context-cache-community") @Deprecated public Map<String,Context> getCommunityContextMap() throws IOExceptionDeprecated.- Specified by:
getCommunityContextMapin interfaceISClient- Throws:
IOException
-
getContextMap
@Cacheable("context-cache") @Deprecated public Map<String,Context> getContextMap(List<String> type) throws IOException Deprecated.- Specified by:
getContextMapin interfaceISClient- Throws:
IOException
-
updateContextParam
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void updateContextParam(String id, String name, String value, boolean toEscape) Deprecated.- Specified by:
updateContextParamin interfaceISClient
-
updateContextAttribute
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void updateContextAttribute(String id, String name, String value) Deprecated.- Specified by:
updateContextAttributein interfaceISClient
-
addConcept
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void addConcept(String id, String categoryId, String data) Deprecated.- Specified by:
addConceptin interfaceISClient
-
removeConcept
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void removeConcept(String id, String categoryId, String conceptId) Deprecated.- Specified by:
removeConceptin interfaceISClient
-
updateConceptAttribute
@CacheEvict(value={"context-cache","context-cache-community","context-cache-funder"}, allEntries=true) @Deprecated public void updateConceptAttribute(String id, String name, String value) Deprecated.- Specified by:
updateConceptAttributein interfaceISClient- Parameters:
id- id of the concept to be updated (i.e. ni::projects::2)name- name of the attribute to be updatedvalue- new value for the attribute
-
updateConceptParam
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void updateConceptParam(String id, String name, String value) Deprecated.- Specified by:
updateConceptParamin interfaceISClient
-
updateConceptParamNoEscape
@CacheEvict(value={"context-cache","context-cache-funder"}, allEntries=true) @Deprecated public void updateConceptParamNoEscape(String id, String name, String value) Deprecated.- Specified by:
updateConceptParamNoEscapein interfaceISClient
-
dropCache
@CacheEvict(cacheNames={"context-cache","indexdsinfo-cache","objectstoreid-cache"}, allEntries=true) @Scheduled(fixedDelayString="${openaire.exporter.cache.ttl}") public void dropCache() -
getProfile
public String getProfile(String profileId) throws eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException - Specified by:
getProfilein interfaceISClient- Throws:
eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException
-