public class LoadDocumentRevisionById extends LegacyOperation<com.lexmark.saperion.document.DocumentRevisionType>
operation
LoadDocumentRevisionById loads a revision of a document by its
revision id
.Constructor and Description |
---|
LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
This creates a new
operation that completely loads the
document revision with the given id. |
LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id,
com.lexmark.saperion.document.LoadKindEnumeration loadKind)
This creates a new
operation that loads the document
revision with the given id. |
Modifier and Type | Method and Description |
---|---|
com.lexmark.saperion.document.DocumentRevisionReferenceType |
getId() |
com.lexmark.saperion.document.LoadKindEnumeration |
getLoadKind() |
com.lexmark.saperion.document.DocumentRevisionType |
invoke() |
String |
toString() |
beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
public LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
operation
that completely loads the
document revision with the given id.id
- The id of the document revision to load. Must not be null.public LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id, com.lexmark.saperion.document.LoadKindEnumeration loadKind)
operation
that loads the document
revision with the given id.id
- The id of the document revision 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
SaBasicException
public String toString()
toString
in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType,SaBasicException,LegacyConnection>
public com.lexmark.saperion.document.DocumentRevisionReferenceType getId()
public com.lexmark.saperion.document.LoadKindEnumeration getLoadKind()
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.