public class DocumentElementClientImpl extends Object implements DocumentElementClient
DocumentElementClient.| Constructor and Description |
|---|
DocumentElementClientImpl(com.lexmark.saperion.document.DocumentService documentService,
com.lexmark.saperion.document.DocumentRevisionReferenceType revisionReference,
com.lexmark.saperion.document.DocumentElementReferenceType reference) |
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.document.DocumentElementStoreInformationType |
appendChild(com.lexmark.saperion.document.DocumentElementType element)
This method appends a given document element as a child to the current one.
|
void |
delete()
This method deletes the current document element.
|
InputStream |
loadContent()
This method Opens the content of the document element identified by the given id for reading and returns an
input stream for that data. |
InputStream |
renderContent(com.lexmark.saperion.document.RenditionType renditionType,
com.lexmark.saperion.document.RenderOption... renderOptions)
This method render the content of the given element into
given type with given options and return as
InputStream |
com.lexmark.saperion.document.DocumentElementStoreInformationType |
update(com.lexmark.saperion.document.DocumentElementType element)
This method updates the document element instance and replaces it with the given entity.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrenderContentpublic DocumentElementClientImpl(com.lexmark.saperion.document.DocumentService documentService,
com.lexmark.saperion.document.DocumentRevisionReferenceType revisionReference,
com.lexmark.saperion.document.DocumentElementReferenceType reference)
public com.lexmark.saperion.document.DocumentElementStoreInformationType update(com.lexmark.saperion.document.DocumentElementType element)
throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClientupdate in interface DocumentElementClientelement - the update document element inputcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic com.lexmark.saperion.document.DocumentElementStoreInformationType appendChild(com.lexmark.saperion.document.DocumentElementType element)
throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClientappendChild in interface DocumentElementClientelement - the element to appendcom.lexmark.saperion.exceptions.EcmExceptionpublic InputStream loadContent() throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClientinput stream for that data. If the element is chunked the resulting stream will stream over
all the chunks.loadContent in interface DocumentElementClientinput stream for the content of the given document elementcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredpublic InputStream renderContent(com.lexmark.saperion.document.RenditionType renditionType, com.lexmark.saperion.document.RenderOption... renderOptions) throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClientInputStreamrenderContent in interface DocumentElementClientInputStreamcom.lexmark.saperion.exceptions.EcmExceptionpublic void delete()
throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClientdelete in interface DocumentElementClientcom.lexmark.saperion.exceptions.EcmException - indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.