public interface ExtendedFileContentManager extends FileContentManager
| Modifier and Type | Method and Description |
|---|---|
int |
read(long docId,
long offset,
byte[] buffer,
int length)
Reads a byte range from the content of a document and places it in the
provided buffer.
|
void |
updateContent(long id,
InputStream content,
NamedValue[] attributes)
Updates the content of an existing DOCUMENT or DOCUMENT_DEFINITION item.
|
getContentvoid updateContent(long id,
InputStream content,
NamedValue[] attributes)
throws FdkException
id - the ID of the DOCUMENT or DOCUMENT_DEFINITION to
update.content - the InputStream with the updated content.attributes - additional attributes to update, or null.
Valid attributes are:
FdkException - if the operation fails.int read(long docId,
long offset,
byte[] buffer,
int length)
throws FdkException
docId - the ID of the DOCUMENT.offset - the start offset of the data.buffer - the buffer into which the data is read.length - the maximum number of bytes read.FdkException - if the operation fails.Copyright © 2025. All rights reserved.