Project

General

Profile

1 26600 sandro.lab
package eu.dnetlib.enabling.is.lookup.rmi;
2
3
import java.util.List;
4
5
import javax.jws.WebParam;
6
import javax.jws.WebService;
7
8
import eu.dnetlib.common.rmi.BaseService;
9
10
@WebService(targetNamespace = "http://services.dnetlib.eu/")
11
public interface ISLookUpService extends BaseService {
12
13
	Boolean flushCachedResultSets();
14
15
	@Deprecated
16
	String getCollection(@WebParam(name = "profId") String profId, @WebParam(name = "format") String format) throws ISLookUpException;
17
18
	String retrieveCollection(@WebParam(name = "profId") String profId) throws ISLookUpException;
19
20
	String getResourceProfile(@WebParam(name = "profId") String profId) throws ISLookUpException, ISLookUpDocumentNotFoundException;
21
22
	String getResourceProfileByQuery(@WebParam(name = "XQuery") String XQuery) throws ISLookUpException, ISLookUpDocumentNotFoundException;
23
24
	String getResourceQoSParams(@WebParam(name = "id") String id) throws ISLookUpException;
25
26 44674 claudio.at
	String getResourceTypeSchema(@WebParam(name = "resourceType") String resourceType) throws ISLookUpException, ISLookUpDocumentNotFoundException;
27 26600 sandro.lab
28 45104 claudio.at
	List<String> listCollections(
29 26600 sandro.lab
			@WebParam(name = "format") String format,
30
			@WebParam(name = "idfather") String idfather,
31
			@WebParam(name = "owner") String owner) throws ISLookUpException;
32
33
	@Deprecated
34
	List<String> listDHNIDs() throws ISLookUpException;
35
36
	List<String> listResourceTypes() throws ISLookUpException;
37
38
	@Deprecated
39
	List<String> listServiceIDs(@WebParam(name = "serviceType") String serviceType) throws ISLookUpException;
40
41
	@Deprecated
42
	List<String> listServiceTypes() throws ISLookUpException;
43
44
	/**
45
	 * Like searchProfile(), but bypassing the resultset. Useful for short xquery results.
46
	 *
47
	 * @param xquery xquery to be executed
48
	 * @return list of strings (never null)
49
	 * @throws ISLookUpException could happen
50
	 */
51
	List<String> quickSearchProfile(@WebParam(name = "XQuery") String xquery) throws ISLookUpException;
52
53
}