Package com.saperion.operations.document
Class LoadDocumentRevisionById
- java.lang.Object
- 
- com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
- 
- com.saperion.operations.LegacyOperation<com.lexmark.saperion.document.DocumentRevisionType>
- 
- com.saperion.operations.document.LoadDocumentRevisionById
 
 
 
- 
- All Implemented Interfaces:
- com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.document.DocumentRevisionType,SaBasicException,LegacyConnection>,- java.io.Serializable
 
 public class LoadDocumentRevisionById extends LegacyOperation<com.lexmark.saperion.document.DocumentRevisionType> TheoperationLoadDocumentRevisionById loads a revision of a document by itsrevision id.- Author:
- jschwarz
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id)This creates a newoperationthat 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 newoperationthat loads the document revision with the given id.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description com.lexmark.saperion.document.DocumentRevisionReferenceTypegetId()com.lexmark.saperion.document.LoadKindEnumerationgetLoadKind()com.lexmark.saperion.document.DocumentRevisionTypeinvoke()java.lang.StringtoString()- 
Methods inherited from class com.saperion.operations.LegacyOperationbeforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException
 - 
Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperationafterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap
 
- 
 
- 
- 
- 
Constructor Detail- 
LoadDocumentRevisionByIdpublic LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id) This creates a newoperationthat completely loads the document revision with the given id.- Parameters:
- id- The id of the document revision to load. Must not be null.
 
 - 
LoadDocumentRevisionByIdpublic LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id, com.lexmark.saperion.document.LoadKindEnumeration loadKind)This creates a newoperationthat loads the document revision with the given id.- Parameters:
- 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.
 
 
- 
 - 
Method Detail- 
invokepublic com.lexmark.saperion.document.DocumentRevisionType invoke() throws SaBasicException- Throws:
- SaBasicException
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType,SaBasicException,LegacyConnection>
 
 - 
getIdpublic com.lexmark.saperion.document.DocumentRevisionReferenceType getId() 
 - 
getLoadKindpublic com.lexmark.saperion.document.LoadKindEnumeration getLoadKind() 
 
- 
 
-