Project

General

Profile

1 26600 sandro.lab
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
	boolean deleteFileColl(@WebParam(name = "fileColl") String fileColl) throws ISStoreException;
17
18
	boolean deleteXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl) throws ISStoreException;
19
20
	boolean executeXUpdate(@WebParam(name = "query") String query) throws ISStoreException;
21
22
	List<String> getFileColls() throws ISStoreException;
23
24
	List<String> getFileNames(@WebParam(name = "fileColl") String fileColl) throws ISStoreException;
25
26
	String getXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl) throws ISStoreException;
27
28
	String getXMLbyQuery(@WebParam(name = "query") String query) throws ISStoreException;
29
30
	boolean insertXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl, @WebParam(name = "file") String file)
31
			throws ISStoreException;
32
33
	boolean reindex();
34
35
	List<String> quickSearchXML(@WebParam(name = "query") String query) throws ISStoreException;
36
37
	boolean sync();
38
39
	boolean updateXML(@WebParam(name = "fileName") String fileName, @WebParam(name = "fileColl") String fileColl, @WebParam(name = "file") String file)
40
			throws ISStoreException;
41
42
	String backup() throws ISStoreException;
43
44
}