public abstract class ContentUploadOutputStream
extends java.io.OutputStream
close()
. Invoking the stream's close method will calculate
the size of the data written to the stream and save it as metadata for the document.Constructor and Description |
---|
ContentUploadOutputStream() |
Modifier and Type | Method and Description |
---|---|
abstract void |
close() |
abstract Approval |
getApproval()
Returns the approval for the created content object.
|
abstract java.lang.Long |
getContentId()
Returns the id of the created content object.
|
public abstract java.lang.Long getContentId()
public abstract Approval getApproval()
ContentService.createApproval(Content, Integer)
.public abstract void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.OutputStream
java.io.IOException
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.