|
9 | 9 | /**
|
10 | 10 | * Created by fbartels on 10/27/14.
|
11 | 11 | */
|
12 |
| -public interface InternalDocumentDriver extends BaseDriverInterface { |
13 |
| - <T> DocumentEntity<T> createDocument(String database, String collectionName, String documentKey, Object value, Boolean createCollection, Boolean waitForSync) throws ArangoException; |
14 |
| - |
15 |
| - <T> DocumentEntity<T> createDocumentRaw(String database, String collectionName, String documentKey, String rawJsonString, Boolean createCollection, Boolean waitForSync) throws ArangoException; |
16 |
| - |
17 |
| - <T> DocumentEntity<T> replaceDocument(String database, String documentHandle, Object value, Long rev, Policy policy, Boolean waitForSync) throws ArangoException; |
18 |
| - |
19 |
| - <T> DocumentEntity<T> updateDocument(String database, String documentHandle, Object value, Long rev, Policy policy, Boolean waitForSync, Boolean keepNull) throws ArangoException; |
20 |
| - |
21 |
| - List<String> getDocuments(String database, String collectionName, boolean handleConvert) throws ArangoException; |
22 |
| - |
23 |
| - long checkDocument(String database, String documentHandle) throws ArangoException; |
24 |
| - |
25 |
| - <T> DocumentEntity<T> getDocument(String database, String documentHandle, Class<?> clazz, Long ifNoneMatchRevision, Long ifMatchRevision) throws ArangoException; |
26 |
| - |
27 |
| - DocumentEntity<?> deleteDocument(String database, String documentHandle, Long rev, Policy policy) throws ArangoException; |
| 12 | +public interface InternalDocumentDriver extends BaseDriverInterface { |
| 13 | + <T> DocumentEntity<T> createDocument( |
| 14 | + String database, |
| 15 | + String collectionName, |
| 16 | + String documentKey, |
| 17 | + T value, |
| 18 | + Boolean createCollection, |
| 19 | + Boolean waitForSync) throws ArangoException; |
| 20 | + |
| 21 | + DocumentEntity<String> createDocumentRaw( |
| 22 | + String database, |
| 23 | + String collectionName, |
| 24 | + String documentKey, |
| 25 | + String rawJsonString, |
| 26 | + Boolean createCollection, |
| 27 | + Boolean waitForSync) throws ArangoException; |
| 28 | + |
| 29 | + <T> DocumentEntity<T> replaceDocument( |
| 30 | + String database, |
| 31 | + String documentHandle, |
| 32 | + T value, |
| 33 | + Long rev, |
| 34 | + Policy policy, |
| 35 | + Boolean waitForSync) throws ArangoException; |
| 36 | + |
| 37 | + <T> DocumentEntity<T> updateDocument( |
| 38 | + String database, |
| 39 | + String documentHandle, |
| 40 | + T value, |
| 41 | + Long rev, |
| 42 | + Policy policy, |
| 43 | + Boolean waitForSync, |
| 44 | + Boolean keepNull) throws ArangoException; |
| 45 | + |
| 46 | + List<String> getDocuments(String database, String collectionName, boolean handleConvert) throws ArangoException; |
| 47 | + |
| 48 | + long checkDocument(String database, String documentHandle) throws ArangoException; |
| 49 | + |
| 50 | + <T> DocumentEntity<T> getDocument( |
| 51 | + String database, |
| 52 | + String documentHandle, |
| 53 | + Class<T> clazz, |
| 54 | + Long ifNoneMatchRevision, |
| 55 | + Long ifMatchRevision) throws ArangoException; |
| 56 | + |
| 57 | + DocumentEntity<?> deleteDocument(String database, String documentHandle, Long rev, Policy policy) |
| 58 | + throws ArangoException; |
28 | 59 | }
|
0 commit comments