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>, Serializable

public class LoadDocumentRevisionById extends LegacyOperation<com.lexmark.saperion.document.DocumentRevisionType>
The operation LoadDocumentRevisionById loads a revision of a document by its revision id.
Author:
jschwarz
See Also:
  • Constructor Summary

    Constructors
    Constructor
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.lexmark.saperion.document.DocumentRevisionReferenceType
     
    com.lexmark.saperion.document.LoadKindEnumeration
     
    com.lexmark.saperion.document.DocumentRevisionType
     
     

    Methods inherited from class com.saperion.operations.LegacyOperation

    beforeInvoke, beforeInvoke, getClientToken, mapEcmException, mapException

    Methods inherited from class com.lexmark.saperion.remote.common.operations.AbstractOperation

    afterInvoke, getResult, toArrayList, toCaseInsensitiveMap, toHashMap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.lexmark.saperion.remote.common.operations.Operation

    audit, dispatchEvent, isAuditable, isEventDispatcher
  • Constructor Details

    • LoadDocumentRevisionById

      public LoadDocumentRevisionById(com.lexmark.saperion.document.DocumentRevisionReferenceType id)
      This creates a new operation that completely loads the document revision with the given id.
      Parameters:
      id - The id of the document revision to load. Must not be null.
    • LoadDocumentRevisionById

      public 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.
      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 Details

    • invoke

      public com.lexmark.saperion.document.DocumentRevisionType invoke() throws SaBasicException
      Throws:
      SaBasicException
    • toString

      public String toString()
      Overrides:
      toString in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.document.DocumentRevisionType,SaBasicException,LegacyConnection>
    • getId

      public com.lexmark.saperion.document.DocumentRevisionReferenceType getId()
    • getLoadKind

      public com.lexmark.saperion.document.LoadKindEnumeration getLoadKind()