public interface IDocument extends IGRCObject
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent()
Returns the file content for this document.
|
long |
getContentLength()
Returns the length of the content associated with this document.
|
IFileTypeDefinition |
getFileTypeDefinition()
Returns the file type definition.
|
void |
setContent(byte[] content)
Sets the file content for this document.
|
void |
setContent(byte[] content,
IFileTypeDefinition fileTypeDefinition)
Sets the file content for this document.
|
void |
setContent(java.io.InputStream contentStream,
long contentLength)
Sets the file content for this document.
|
void |
setContent(java.io.InputStream contentStream,
long contentLength,
IFileTypeDefinition fileTypeDefinition)
Sets the file content for this document.
|
addChildren, addParents, getActiveWorkflowIds, getCalcLogs, getChildren, getField, getField, getFields, getParents, getPrimaryParent, getType, hasCalcInQueue, hasCalcLogs, isCheckedOut, isLocked, setPrimaryParent, setPrimaryParent
getCreationDate, getCreator, getDescription, getId, getLastModifiedBy, getModifiedDate, getName, getParentFolder, getPath, isFolder, setDescription, setName, setParentFolder
long getContentLength()
IFileTypeDefinition getFileTypeDefinition()
java.io.InputStream getContent()
void setContent(java.io.InputStream contentStream, long contentLength)
contentLength
- the length content in bytescontent
- the content for this documentvoid setContent(java.io.InputStream contentStream, long contentLength, IFileTypeDefinition fileTypeDefinition)
contentStream
- the file content for this documentcontentLength
- the length content in bytesfileTypeDefinition
- the file type definition for this contentvoid setContent(byte[] content)
content
- the file content for this documentvoid setContent(byte[] content, IFileTypeDefinition fileTypeDefinition)
content
- the file content for this documentfileTypeDefinition
- the file type definition for this content
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2022. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.