public class LoadDocumentRevisionById extends AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType> implements Operation<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()
The method that will be called on the server side.
|
String |
toString() |
afterInvoke, getResult, toArrayList
beforeInvoke, getClientToken, mapException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
afterInvoke, beforeInvoke, getResult
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
Operation
invoke
in interface Operation<com.lexmark.saperion.document.DocumentRevisionType>
SaBasicException
- exception when invoking this operationpublic String toString()
toString
in class AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType>
public com.lexmark.saperion.document.DocumentRevisionReferenceType getId()
public com.lexmark.saperion.document.LoadKindEnumeration getLoadKind()
Copyright © 2016 SAPERION AG. All rights reserved.