Class UpdateLookupEntry

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

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

    • UpdateLookupEntry

      public UpdateLookupEntry(String ddc, String id, Map<String,Object> props)
      Constructs an operation that updates a lookup entry given by its id. For the property types accepted see CreateLookupEntry(String, Map)
      Parameters:
      ddc - the name of the lookup-ddc to update the entry in.
      id - ID (SYSROWID) of the entry to update
      props - properties to update
    • UpdateLookupEntry

      public UpdateLookupEntry(String ddc, String id, Properties props)
      Constructs an operation that updates a lookup entry given by its id. For the property types accepted see CreateLookupEntry(String, Map)
      Parameters:
      ddc - the name of the lookup-ddc to update the entry in.
      id - ID of the entry to update
      props - properties to update
    • UpdateLookupEntry

      public UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String,Object> indexDataChanges, List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
      Constructs an operation that updates a lookup entry given by its reference. For the property types accepted see CreateLookupEntry(String, Map)
      Parameters:
      reference - a reference to the lookup entry to update
      indexDataChanges - the properties to change
      aclReferences - the new access control lists, or null if the access should not be changed
    • UpdateLookupEntry

      public UpdateLookupEntry(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, Map<String,Object> indexDataChanges)
      Constructs an operation that updates a lookup entry given by its reference. It does not change the access to the lookup entry. For the property types accepted see CreateLookupEntry(String, Map)
      Parameters:
      reference - a reference to the lookup entry to update
      indexDataChanges - the properties to change
  • 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()
    • getIndexDataChanges

      public Map<String,com.lexmark.saperion.PropertyType> getIndexDataChanges()
    • getAclReferences

      public List<com.lexmark.saperion.administration.AclReferenceType> getAclReferences()
    • toString

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