public interface DocumentElementClient
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. |
default InputStream |
renderContent(com.lexmark.saperion.document.RenditionType renditionType)
This method render the content of the given element into
given type with given options and return as
InputStream |
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.
|
com.lexmark.saperion.document.DocumentElementStoreInformationType update(com.lexmark.saperion.document.DocumentElementType element) throws com.lexmark.saperion.exceptions.EcmException
element
- the update document element inputcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredcom.lexmark.saperion.document.DocumentElementStoreInformationType appendChild(com.lexmark.saperion.document.DocumentElementType element) throws com.lexmark.saperion.exceptions.EcmException
element
- the element to appendcom.lexmark.saperion.exceptions.EcmException
InputStream loadContent() throws com.lexmark.saperion.exceptions.EcmException
input stream
for that data. If the element is chunked the resulting stream will stream over
all the chunks.input stream
for the content of the given document elementcom.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurreddefault InputStream renderContent(com.lexmark.saperion.document.RenditionType renditionType) throws com.lexmark.saperion.exceptions.EcmException
InputStream
renditionType
- com.lexmark.saperion.exceptions.EcmException
InputStream renderContent(com.lexmark.saperion.document.RenditionType renditionType, com.lexmark.saperion.document.RenderOption... renderOptions) throws com.lexmark.saperion.exceptions.EcmException
InputStream
renditionType
- renderOptions
- InputStream
com.lexmark.saperion.exceptions.EcmException
void delete() throws com.lexmark.saperion.exceptions.EcmException
com.lexmark.saperion.exceptions.EcmException
- indicates that a system exception occurredCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.