Class UpdateLookupEntry

    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateLookupEntry​(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, java.util.Map<java.lang.String,​java.lang.Object> indexDataChanges)
      Constructs an operation that updates a lookup entry given by its reference.
      UpdateLookupEntry​(com.lexmark.saperion.lookup.LookupEntryReferenceType reference, java.util.Map<java.lang.String,​java.lang.Object> indexDataChanges, java.util.List<com.lexmark.saperion.administration.AclReferenceType> aclReferences)
      Constructs an operation that updates a lookup entry given by its reference.
      UpdateLookupEntry​(java.lang.String ddc, java.lang.String id, java.util.Map<java.lang.String,​java.lang.Object> props)
      Constructs an operation that updates a lookup entry given by its id.
      UpdateLookupEntry​(java.lang.String ddc, java.lang.String id, java.util.Properties props)
      Constructs an operation that updates a lookup entry given by its id.
    • Constructor Detail

      • UpdateLookupEntry

        public UpdateLookupEntry​(java.lang.String ddc,
                                 java.lang.String id,
                                 java.util.Map<java.lang.String,​java.lang.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​(java.lang.String ddc,
                                 java.lang.String id,
                                 java.util.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,
                                 java.util.Map<java.lang.String,​java.lang.Object> indexDataChanges,
                                 java.util.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,
                                 java.util.Map<java.lang.String,​java.lang.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 Detail

      • voidInvoke

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

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

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

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

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