Revision 45104
Added by Claudio Atzori over 7 years ago
modules/cnr-rmi-api/trunk/src/main/java/eu/dnetlib/enabling/is/lookup/rmi/ISLookUpService.java | ||
---|---|---|
4 | 4 |
|
5 | 5 |
import javax.jws.WebParam; |
6 | 6 |
import javax.jws.WebService; |
7 |
import javax.xml.ws.wsaddressing.W3CEndpointReference; |
|
8 | 7 |
|
9 | 8 |
import eu.dnetlib.common.rmi.BaseService; |
10 | 9 |
|
... | ... | |
26 | 25 |
|
27 | 26 |
String getResourceTypeSchema(@WebParam(name = "resourceType") String resourceType) throws ISLookUpException, ISLookUpDocumentNotFoundException; |
28 | 27 |
|
29 |
W3CEndpointReference listCollections(
|
|
28 |
List<String> listCollections(
|
|
30 | 29 |
@WebParam(name = "format") String format, |
31 | 30 |
@WebParam(name = "idfather") String idfather, |
32 | 31 |
@WebParam(name = "owner") String owner) throws ISLookUpException; |
33 | 32 |
|
34 | 33 |
@Deprecated |
35 |
W3CEndpointReference listCommunities() throws ISLookUpException; |
|
36 |
|
|
37 |
@Deprecated |
|
38 | 34 |
List<String> listDHNIDs() throws ISLookUpException; |
39 | 35 |
|
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 | 36 |
List<String> listResourceTypes() throws ISLookUpException; |
47 | 37 |
|
48 | 38 |
@Deprecated |
... | ... | |
60 | 50 |
*/ |
61 | 51 |
List<String> quickSearchProfile(@WebParam(name = "XQuery") String xquery) throws ISLookUpException; |
62 | 52 |
|
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 | 53 |
} |
modules/cnr-rmi-api/trunk/src/main/java/eu/dnetlib/enabling/is/store/rmi/ISStoreService.java | ||
---|---|---|
13 | 13 |
|
14 | 14 |
boolean createFileColl(@WebParam(name = "fileColl") String fileColl) throws ISStoreException; |
15 | 15 |
|
16 |
@Deprecated |
|
17 |
boolean deleteArrayXML(@WebParam(name = "fileNames") List<String> fileNames, @WebParam(name = "fileColl") String fileColl) throws ISStoreException; |
|
18 |
|
|
19 | 16 |
boolean deleteFileColl(@WebParam(name = "fileColl") String fileColl) throws ISStoreException; |
20 | 17 |
|
21 | 18 |
boolean deleteXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl) throws ISStoreException; |
... | ... | |
35 | 32 |
|
36 | 33 |
boolean reindex(); |
37 | 34 |
|
38 |
@Deprecated |
|
39 |
W3CEndpointReference searchXML(@WebParam(name = "query") String query) throws ISStoreException; |
|
40 |
|
|
41 | 35 |
List<String> quickSearchXML(@WebParam(name = "query") String query) throws ISStoreException; |
42 | 36 |
|
43 | 37 |
boolean sync(); |
modules/cnr-rmi-api/trunk/pom.xml | ||
---|---|---|
2 | 2 |
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
3 | 3 |
<parent> |
4 | 4 |
<groupId>eu.dnetlib</groupId> |
5 |
<artifactId>dnet-parent</artifactId> |
|
6 |
<version>1.0.0</version> |
|
5 |
<artifactId>dnet45-parent</artifactId>
|
|
6 |
<version>1.0.0-SNAPSHOT</version>
|
|
7 | 7 |
<relativePath /> |
8 | 8 |
</parent> |
9 | 9 |
<modelVersion>4.0.0</modelVersion> |
... | ... | |
12 | 12 |
<packaging>jar</packaging> |
13 | 13 |
<version>2.6.1-SNAPSHOT</version> |
14 | 14 |
<scm> |
15 |
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/cnr-rmi-api/trunk</developerConnection>
|
|
15 |
<developerConnection>scm:svn:https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/cnr-rmi-api/trunk</developerConnection>
|
|
16 | 16 |
</scm> |
17 | 17 |
<dependencies> |
18 |
<dependency> |
|
18 |
<!-- dependency>
|
|
19 | 19 |
<groupId>org.apache.cxf</groupId> |
20 | 20 |
<artifactId>cxf-api</artifactId> |
21 | 21 |
<version>${cxf.version}</version> |
22 |
</dependency> |
|
22 |
</dependency --> |
|
23 |
|
|
24 |
<dependency> |
|
25 |
<groupId>org.apache.cxf</groupId> |
|
26 |
<artifactId>cxf-core</artifactId> |
|
27 |
<version>${cxf.version}</version> |
|
28 |
</dependency> |
|
29 |
|
|
30 |
<dependency> |
|
31 |
<groupId>org.apache.cxf</groupId> |
|
32 |
<artifactId>cxf-rt-frontend-jaxws</artifactId> |
|
33 |
<version>${cxf.version}</version> |
|
34 |
</dependency> |
|
35 |
|
|
23 | 36 |
<dependency> |
24 | 37 |
<groupId>junit</groupId> |
25 | 38 |
<artifactId>junit</artifactId> |
Also available in: Unified diff
migrated to dnet45, removed deprecated methods, cleanup