Class DraftChuLDAPLogSchema00ModifyEntry

    • Field Detail

      • ATTR_FORMER_ATTRIBUTE

        public static final java.lang.String ATTR_FORMER_ATTRIBUTE
        The name of the attribute used to hold the former values of entries changed by the modify operation.
        See Also:
        Constant Field Values
    • Constructor Detail

      • DraftChuLDAPLogSchema00ModifyEntry

        public DraftChuLDAPLogSchema00ModifyEntry​(Entry entry)
                                           throws LDAPException
        Creates a new instance of this modify access log entry from the provided entry.
        Parameters:
        entry - The entry used to create this modify access log entry.
        Throws:
        LDAPException - If the provided entry cannot be decoded as a valid modify access log entry as per the specification contained in draft-chu-ldap-logschema-00.
    • Method Detail

      • getModifications

        public java.util.List<ModificationgetModifications()
        Retrieves the modifications for the modify request described by this modify access log entry.
        Returns:
        The modifications for the modify request described by this modify access log entry.
      • getFormerAttributes

        public java.util.List<AttributegetFormerAttributes()
        Retrieves a list of former versions of modified attributes described by this modify access log entry, if available.
        Returns:
        A list of former versions of modified attributes, or an empty list if no former attribute information was included in the access log entry.
      • toModifyRequest

        public ModifyRequest toModifyRequest()
        Retrieves a ModifyRequest created from this modify access log entry.
        Returns:
        The ModifyRequest created from this modify access log entry.