|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface class ExtendedFileContentManager
Extends the FileContentManager with functionality available only to in-process clients.
Method Summary | |
---|---|
void |
createDocument(long folderId, java.lang.String name, java.io.InputStream content, NamedValue[] attributes) Deprecated. |
int |
read(long docId, long offset, byte[] buffer, int length) Reads bytes from the content of a DOCUMENT into an array. |
void |
updateContent(long id, java.io.InputStream content, NamedValue[] attributes) Deprecated. To be removed once DAV no longer uses it. |
Methods inherited from interface oracle.ifs.fdk.FileContentManager |
---|
getContent |
Method Detail |
---|
void createDocument(long folderId, java.lang.String name, java.io.InputStream content, NamedValue[] attributes) throws FdkException
ExtendedFileContentManager
Note that if a DOCUMENT with the same name already exists in the FOLDER, a new version may be created depending on the versioning configuration of the FOLDER.
folderId
- the ID of the folder in which to create the DOCUMENT.name
- the name of the new DOCUMENT.content
- the InputStream with the new DOCUMENT's content.attributes
- additional attributes to be set for the new DOCUMENT, or null. Valid attributes are:
FdkException
- if the operation fails.void updateContent(long id, java.io.InputStream content, NamedValue[] attributes) throws FdkException
ExtendedFileContentManager
Supported Items: DOCUMENT, DOCUMENT_DEFINITION
id
- the ID of the Item 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
ExtendedFileContentManager
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.
|
Oracle Content Database Web Services Java API Reference for Oracle WebCenter Suite 10g (10.1.3.2) B32189-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |