Class DeleteLookupEntry

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
com.saperion.operations.lookup.DeleteLookupEntry
All Implemented Interfaces:
com.lexmark.saperion.remote.common.operations.Operation<com.lexmark.saperion.remote.common.operations.Void,SaBasicException,LegacyConnection>, Serializable

public class DeleteLookupEntry extends VoidOperation
An Operation that deletes a lookup entry. The VoidOperation.invoke() method has no return value.
See Also:
  • Constructor Details

    • DeleteLookupEntry

      public DeleteLookupEntry(String ddc, String id)
      This constructor creates a new operation that deletes the lookup entry with the given sysrowid in the given ddc.
      Parameters:
      ddc - the lookup ddc to delete in
      id - teh sysRowId of the entry to delete
    • DeleteLookupEntry

      public DeleteLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference)
      This constructor creates a new operation that deletes the lookup entry given by the reference.
      Parameters:
      reference - a reference to the lookup entry to delete.
  • Method Details

    • voidInvoke

      protected void voidInvoke() throws Exception
      Description copied from class: VoidOperation
      Invokes this void operation.
      Specified by:
      voidInvoke in class VoidOperation
      Throws:
      Exception - exception when invoking this operation
    • getReference

      public com.lexmark.saperion.lookup.LookupEntryReferenceType getReference()
    • toString

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