Class VoidOperation

java.lang.Object
com.lexmark.saperion.remote.common.operations.AbstractOperation<T,SaBasicException,LegacyConnection>
com.saperion.operations.LegacyOperation<com.lexmark.saperion.remote.common.operations.Void>
com.saperion.operations.VoidOperation
All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>, Serializable
Direct Known Subclasses:
ChangePassword, DeleteAllMediaOperation, DeleteDocument, DeleteLookupEntry, DeleteNamedMediaOperation, ExecuteStoredProcedure, FireCustomEvent, RemoveSessionData, SetCurrentUserPresent, SetCurrentUserSubstituteAccess, SetDocumentRead, SetDocumentUnread, SetUserExtensionCacheEnabled, StoreSystemFileOperation, UpdateCurrentUserInformation, UpdateFolder, UpdateLookupEntry

public abstract class VoidOperation extends LegacyOperation<com.lexmark.saperion.remote.common.operations.Void>
Convenience class for Commands without return value.
See Also:
  • Constructor Details

    • VoidOperation

      public VoidOperation()
  • Method Details

    • voidInvoke

      protected abstract void voidInvoke() throws Exception
      Invokes this void operation.
      Throws:
      Exception - exception when invoking this operation
    • invoke

      public com.lexmark.saperion.remote.common.operations.Void invoke() throws SaBasicException
      Throws:
      SaBasicException
    • afterInvoke

      public void afterInvoke(Object result, LegacyConnection connection)
      Specified by:
      afterInvoke in interface com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
      Overrides:
      afterInvoke in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
    • getResult

      public com.lexmark.saperion.remote.common.operations.Void getResult()
      Specified by:
      getResult in interface com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>
      Overrides:
      getResult in class com.lexmark.saperion.remote.common.operations.AbstractOperation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>