Class ModifyCommonMsg

All Implemented Interfaces:
Comparable<UpdateMsg>
Direct Known Subclasses:
ModifyDNMsg, ModifyMsg

public abstract class ModifyCommonMsg extends LDAPUpdateMsg
This class holds every common code for the modify messages (mod, moddn).
  • Method Details

    • setMods

      public void setMods(List<Modification> mods)
      Set the Modification associated to the UpdateMsg to the provided value.
      Parameters:
      mods - The new Modification associated to this ModifyMsg.
    • getMods

      public List<Modification> getMods() throws IOException
      Get the Modifications associated to the UpdateMsg to the provided value.
      Returns:
      the list of modifications
      Throws:
      IOException - In case of ASN1 decoding exception
    • appendEncodedMods

      public final void appendEncodedMods(ByteStringBuilder builder)
      Appends the encoded modifications to the provided builder.
      Parameters:
      builder - The ByteStringBuilder where the encoded modifications will be appended.