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, wait
renderContent
public 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
DocumentElementClient
update
in interface DocumentElementClient
element
- 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
DocumentElementClient
appendChild
in interface DocumentElementClient
element
- the element to appendcom.lexmark.saperion.exceptions.EcmException
public InputStream loadContent() throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClient
input stream
for that data. If the element is chunked the resulting stream will stream over
all the chunks.loadContent
in interface DocumentElementClient
input 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
DocumentElementClient
InputStream
renderContent
in interface DocumentElementClient
InputStream
com.lexmark.saperion.exceptions.EcmException
public void delete() throws com.lexmark.saperion.exceptions.EcmException
DocumentElementClient
delete
in interface DocumentElementClient
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.