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
import javax.xml.ws.wsaddressing.W3CEndpointReference;
8
9
import eu.dnetlib.common.rmi.BaseService;
10
11
@WebService(targetNamespace = "http://services.dnetlib.eu/")
12
public interface ISLookUpService extends BaseService {
13
14
	Boolean flushCachedResultSets();
15
16
	@Deprecated
17
	String getCollection(@WebParam(name = "profId") String profId, @WebParam(name = "format") String format) throws ISLookUpException;
18
19
	String retrieveCollection(@WebParam(name = "profId") String profId) throws ISLookUpException;
20
21
	String getResourceProfile(@WebParam(name = "profId") String profId) throws ISLookUpException, ISLookUpDocumentNotFoundException;
22
23
	String getResourceProfileByQuery(@WebParam(name = "XQuery") String XQuery) throws ISLookUpException, ISLookUpDocumentNotFoundException;
24
25
	String getResourceQoSParams(@WebParam(name = "id") String id) throws ISLookUpException;
26
27
	String getResourceTypeSchema(@WebParam(name = "resourceType") String resourceType) throws ISLookUpException;
28
29
	W3CEndpointReference listCollections(
30
			@WebParam(name = "format") String format,
31
			@WebParam(name = "idfather") String idfather,
32
			@WebParam(name = "owner") String owner) throws ISLookUpException;
33
34
	@Deprecated
35
	W3CEndpointReference listCommunities() throws ISLookUpException;
36
37
	@Deprecated
38
	List<String> listDHNIDs() throws ISLookUpException;
39
40
	@Deprecated
41
	W3CEndpointReference listResourceProfiles(
42
			@WebParam(name = "resourceKind") String resourceKind,
43
			@WebParam(name = "format") String format,
44
			@WebParam(name = "resourceType") String resourceType) throws ISLookUpException;
45
46
	List<String> listResourceTypes() throws ISLookUpException;
47
48
	@Deprecated
49
	List<String> listServiceIDs(@WebParam(name = "serviceType") String serviceType) throws ISLookUpException;
50
51
	@Deprecated
52
	List<String> listServiceTypes() throws ISLookUpException;
53
54
	/**
55
	 * Like searchProfile(), but bypassing the resultset. Useful for short xquery results.
56
	 *
57
	 * @param xquery xquery to be executed
58
	 * @return list of strings (never null)
59
	 * @throws ISLookUpException could happen
60
	 */
61
	List<String> quickSearchProfile(@WebParam(name = "XQuery") String xquery) throws ISLookUpException;
62
63
	/**
64
	 * Performs an xquery and returns the result using a standard ResultSet interface.
65
	 *
66
	 * @param xquery xquery to be executed
67
	 * @return epr to a resultset
68
	 * @throws ISLookUpException could happen
69
	 */
70
	W3CEndpointReference searchProfile(@WebParam(name = "XQuery") String xquery) throws ISLookUpException;
71
72
	@Deprecated
73
	W3CEndpointReference listMDStores(@WebParam(name = "metadataformat") String metadataformat) throws ISLookUpException;
74
75
}