@@ -240,7 +240,8 @@ <T extends R> T read(String docId, T contentHandle, ServerTransform transform)
240
240
* @param desc a descriptor for the URI identifier, format, and mimetype of the document
241
241
* @param contentHandle a handle for reading the content of the document
242
242
* @param <T> the type of content handle to return
243
- * @return the content handle populated with the content of the document in the database
243
+ * @return the content handle populated with the content of the document in the database, or null if content
244
+ * versioning is enabled and the document has not been modified.
244
245
* @throws ResourceNotFoundException if the document is not found
245
246
*/
246
247
<T extends R > T read (DocumentDescriptor desc , T contentHandle )
@@ -254,7 +255,8 @@ <T extends R> T read(DocumentDescriptor desc, T contentHandle)
254
255
* @param contentHandle a handle for reading the content of the document
255
256
* @param transform a server transform to modify the document content
256
257
* @param <T> the type of content handle to return
257
- * @return the content handle populated with the content of the document in the database
258
+ * @return the content handle populated with the content of the document in the database, or null if content
259
+ * versioning is enabled and the document has not been modified.
258
260
* @throws ResourceNotFoundException if the document is not found
259
261
*/
260
262
<T extends R > T read (DocumentDescriptor desc , T contentHandle , ServerTransform transform )
@@ -298,7 +300,8 @@ <T extends R> T read(String docId, DocumentMetadataReadHandle metadataHandle, T
298
300
* @param metadataHandle a handle for reading the metadata of the document
299
301
* @param contentHandle a handle for reading the content of the document
300
302
* @param <T> the type of content handle to return
301
- * @return the content handle populated with the content of the document in the database
303
+ * @return the content handle populated with the content of the document in the database, or null if content
304
+ * versioning is enabled and the document has not been modified.
302
305
* @throws ResourceNotFoundException if the document is not found
303
306
*/
304
307
<T extends R > T read (DocumentDescriptor desc , DocumentMetadataReadHandle metadataHandle , T contentHandle )
@@ -313,7 +316,8 @@ <T extends R> T read(DocumentDescriptor desc, DocumentMetadataReadHandle metadat
313
316
* @param contentHandle a handle for reading the content of the document
314
317
* @param transform a server transform to modify the document content
315
318
* @param <T> the type of content handle to return
316
- * @return the content handle populated with the content of the document in the database
319
+ * @return the content handle populated with the content of the document in the database, or null if content
320
+ * versioning is enabled and the document has not been modified.
317
321
* @throws ResourceNotFoundException if the document is not found
318
322
*/
319
323
<T extends R > T read (DocumentDescriptor desc , DocumentMetadataReadHandle metadataHandle , T contentHandle , ServerTransform transform )
@@ -357,7 +361,8 @@ <T extends R> T read(String docId, T contentHandle, ServerTransform transform, T
357
361
* @param contentHandle a handle for reading the content of the document
358
362
* @param transaction a open transaction under which the document may have been created or deleted
359
363
* @param <T> the type of content handle to return
360
- * @return the content handle populated with the content of the document in the database
364
+ * @return the content handle populated with the content of the document in the database, or null if content
365
+ * versioning is enabled and the document has not been modified.
361
366
* @throws ResourceNotFoundException if the document is not found
362
367
*/
363
368
<T extends R > T read (DocumentDescriptor desc , T contentHandle , Transaction transaction )
@@ -372,7 +377,8 @@ <T extends R> T read(DocumentDescriptor desc, T contentHandle, Transaction trans
372
377
* @param transform a server transform to modify the document content
373
378
* @param transaction a open transaction under which the document may have been created or deleted
374
379
* @param <T> the type of content handle to return
375
- * @return the content handle populated with the content of the document in the database
380
+ * @return the content handle populated with the content of the document in the database, or null if content
381
+ * versioning is enabled and the document has not been modified.
376
382
* @throws ResourceNotFoundException if the document is not found
377
383
*/
378
384
<T extends R > T read (DocumentDescriptor desc , T contentHandle , ServerTransform transform , Transaction transaction )
@@ -419,7 +425,8 @@ <T extends R> T read(String docId, DocumentMetadataReadHandle metadataHandle, T
419
425
* @param contentHandle a handle for reading the content of the document
420
426
* @param transaction a open transaction under which the document may have been created or deleted
421
427
* @param <T> the type of content handle to return
422
- * @return the content handle populated with the content of the document in the database
428
+ * @return the content handle populated with the content of the document in the database, or null if content
429
+ * versioning is enabled and the document has not been modified.
423
430
* @throws ResourceNotFoundException if the document is not found
424
431
*/
425
432
<T extends R > T read (DocumentDescriptor desc , DocumentMetadataReadHandle metadataHandle , T contentHandle , Transaction transaction )
@@ -435,7 +442,8 @@ <T extends R> T read(DocumentDescriptor desc, DocumentMetadataReadHandle metadat
435
442
* @param transform a server transform to modify the document content
436
443
* @param transaction a open transaction under which the document may have been created or deleted
437
444
* @param <T> the type of content handle to return
438
- * @return the content handle populated with the content of the document in the database
445
+ * @return the content handle populated with the content of the document in the database, or null if content
446
+ * versioning is enabled and the document has not been modified.
439
447
* @throws ResourceNotFoundException if the document is not found
440
448
*/
441
449
<T extends R > T read (DocumentDescriptor desc , DocumentMetadataReadHandle metadataHandle , T contentHandle , ServerTransform transform , Transaction transaction )
0 commit comments