1
|
package eu.dnetlib.enabling.is.store.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 ISStoreService extends BaseService {
|
13
|
|
14
|
boolean createFileColl(@WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
15
|
|
16
|
@Deprecated
|
17
|
boolean deleteArrayXML(@WebParam(name = "fileNames") List<String> fileNames, @WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
18
|
|
19
|
boolean deleteFileColl(@WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
20
|
|
21
|
boolean deleteXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
22
|
|
23
|
boolean executeXUpdate(@WebParam(name = "query") String query) throws ISStoreException;
|
24
|
|
25
|
List<String> getFileColls() throws ISStoreException;
|
26
|
|
27
|
List<String> getFileNames(@WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
28
|
|
29
|
String getXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl) throws ISStoreException;
|
30
|
|
31
|
String getXMLbyQuery(@WebParam(name = "query") String query) throws ISStoreException;
|
32
|
|
33
|
boolean insertXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl, @WebParam(name = "file") String file)
|
34
|
throws ISStoreException;
|
35
|
|
36
|
boolean reindex();
|
37
|
|
38
|
W3CEndpointReference searchXML(@WebParam(name = "query") String query) throws ISStoreException;
|
39
|
|
40
|
List<String> quickSearchXML(@WebParam(name = "query") String query) throws ISStoreException;
|
41
|
|
42
|
boolean sync();
|
43
|
|
44
|
boolean updateXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl, @WebParam(name = "file") String file)
|
45
|
throws ISStoreException;
|
46
|
|
47
|
String backup() throws ISStoreException;
|
48
|
|
49
|
}
|