package eu.dnetlib.openaire.common; import java.io.IOException; import java.util.List; import java.util.Map; import eu.dnetlib.enabling.datasources.common.DsmException; import eu.dnetlib.openaire.context.Context; import eu.dnetlib.openaire.dsm.dao.utils.IndexDsInfo; public interface ISClient { IndexDsInfo calculateCurrentIndexDsInfo() throws DsmException; String getObjectStoreId(String dsId) throws DsmException; Map getFunderContextMap() throws IOException; Map getCommunityContextMap() throws IOException; Map getContextMap(final List type) throws IOException; void updateContextParam(String id, String name, String value); void updateContextParamNoEscape(String id, String name, String value); void updateContextAttribute(String id, String name, String value); void addConcept(String id, String categoryId, String data); void removeConcept(String id, String categoryId, String conceptId); void dropCache(); /** * * @param id * id of the concept to be updated (i.e. ni::projects::2) * @param name * name of the attribute to be updated * @param value * new value for the attribute */ void updateConceptAttribute(String id, String name, String value); void updateConceptParam(String id, String name, String value); void updateConceptParamNoEscape(String id, String name, String value); }