package eu.dnetlib.enabling.ui.common.services;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;

import eu.dnetlib.enabling.ui.common.beans.DHNInfo;
import eu.dnetlib.enabling.ui.common.beans.RepositoryDetailsInfo;





public interface RegistryService extends RemoteService {
	public Boolean deleteProfile(String id) throws MyGwtException;
	public Boolean uploadDefaultSchemas() throws MyGwtException;
	public Boolean updateDHN(DHNInfo dhn) throws MyGwtException;
	public Boolean removeAllProfiles(List<String> list) throws MyGwtException;
	public String validateProfile(String id) throws MyGwtException;
	public String invalidateProfile(String id) throws MyGwtException;
	public String importProfiles(String dir) throws MyGwtException;
	public String addRepository(RepositoryDetailsInfo repo) throws MyGwtException;
	public void updateRepository(String id, RepositoryDetailsInfo repo) throws MyGwtException;
}
