1
|
package eu.dnetlib.enabling.is.store;
|
2
|
|
3
|
import java.util.List;
|
4
|
|
5
|
import eu.dnetlib.enabling.is.DnetInformationServiceException;
|
6
|
|
7
|
public interface ISStore {
|
8
|
|
9
|
boolean createFileColl(String fileColl) throws DnetInformationServiceException;
|
10
|
|
11
|
boolean deleteFileColl(String fileColl) throws DnetInformationServiceException;
|
12
|
|
13
|
boolean deleteXML(String fileName, String fileColl) throws DnetInformationServiceException;
|
14
|
|
15
|
boolean executeXUpdate(String query) throws DnetInformationServiceException;
|
16
|
|
17
|
List<String> getFileColls() throws DnetInformationServiceException;
|
18
|
|
19
|
List<String> getFileNames(String fileColl) throws DnetInformationServiceException;
|
20
|
|
21
|
String getXML(String fileName, String fileColl) throws DnetInformationServiceException;
|
22
|
|
23
|
String getXMLbyQuery(String query) throws DnetInformationServiceException;
|
24
|
|
25
|
boolean insertXML(String fileName, String fileColl, String file) throws DnetInformationServiceException;
|
26
|
|
27
|
List<String> quickSearchXML(String query) throws DnetInformationServiceException;
|
28
|
|
29
|
boolean updateXML(String fileName, String fileColl, String file) throws DnetInformationServiceException;
|
30
|
|
31
|
String backup() throws DnetInformationServiceException;
|
32
|
}
|