public class LoadDocumentById extends LegacyOperation<com.lexmark.saperion.document.DocumentRevisionType>
operation LoadDocumentById loads a document from the
backend by its id.| Constructor and Description |
|---|
LoadDocumentById(com.lexmark.saperion.document.DocumentReferenceType id)
This creates an
operation that completely loads the latest revision of the document with the
given id. |
LoadDocumentById(com.lexmark.saperion.document.DocumentReferenceType id,
com.lexmark.saperion.document.LoadKindEnumeration loadKind)
This creates an
operation that loads the latest revision of the document with the given id. |
| Modifier and Type | Method and Description |
|---|---|
com.lexmark.saperion.document.DocumentReferenceType |
getId() |
com.lexmark.saperion.document.LoadKindEnumeration |
getLoadKind() |
com.lexmark.saperion.document.DocumentRevisionType |
invoke() |
String |
toString() |
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapExceptionpublic LoadDocumentById(com.lexmark.saperion.document.DocumentReferenceType id)
operation that completely loads the latest revision of the document with the
given id.id - the id of the document to load. Must not be null.public LoadDocumentById(com.lexmark.saperion.document.DocumentReferenceType id,
com.lexmark.saperion.document.LoadKindEnumeration loadKind)
operation that loads the latest revision of the document with the given id.id - the id of the document to load. Must not be null.loadKind - Whether the document should be loaded completely or without the content. Must not be null.public com.lexmark.saperion.document.DocumentRevisionType invoke()
throws SaBasicException
SaBasicExceptionpublic String toString()
toString in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType,SaBasicException,LegacyConnection>public com.lexmark.saperion.document.DocumentReferenceType getId()
public com.lexmark.saperion.document.LoadKindEnumeration getLoadKind()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.