com.unboundid.ldap.sdk.experimental
Class DraftChuLDAPLogSchema00ModifyEntry

java.lang.Object
  extended by com.unboundid.ldap.sdk.Entry
      extended by com.unboundid.ldap.sdk.ReadOnlyEntry
          extended by com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
              extended by com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00ModifyEntry
All Implemented Interfaces:
LDIFRecord, java.io.Serializable

@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class DraftChuLDAPLogSchema00ModifyEntry
extends DraftChuLDAPLogSchema00Entry

This class represents an entry that holds information about a modify operation processed by an LDAP server, as per the specification described in draft-chu-ldap-logschema-00.

See Also:
Serialized Form

Field Summary
static java.lang.String ATTR_ATTRIBUTE_CHANGES
          The name of the attribute used to hold the attribute changes contained in the modify operation.
static java.lang.String ATTR_FORMER_ATTRIBUTE
          The name of the attribute used to hold the former values of entries changed by the modify operation.
 
Fields inherited from class com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
ATTR_AUTHORIZATION_IDENTITY_DN, ATTR_DIAGNOSTIC_MESSAGE, ATTR_OPERATION_TYPE, ATTR_PROCESSING_END_TIME, ATTR_PROCESSING_START_TIME, ATTR_REFERRAL_URL, ATTR_REQUEST_CONTROL, ATTR_RESPONSE_CONTROL, ATTR_RESULT_CODE, ATTR_SESSION_ID, ATTR_TARGET_ENTRY_DN
 
Constructor Summary
DraftChuLDAPLogSchema00ModifyEntry(Entry entry)
          Creates a new instance of this modify access log entry from the provided entry.
 
Method Summary
 java.util.List<Attribute> getFormerAttributes()
          Retrieves a list of former versions of modified attributes described by this modify access log entry, if available.
 java.util.List<Modification> getModifications()
          Retrieves the modifications for the modify request described by this modify access log entry.
 ModifyRequest toModifyRequest()
          Retrieves a ModifyRequest created from this modify access log entry.
 
Methods inherited from class com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
decode, getAuthorizationIdentityDN, getDiagnosticMessage, getOperationType, getProcessingEndTimeDate, getProcessingEndTimeString, getProcessingStartTimeDate, getProcessingStartTimeString, getReferralURLs, getRequestControls, getResponseControls, getResultCode, getSessionID, getTargetEntryDN, toLDAPResult
 
Methods inherited from class com.unboundid.ldap.sdk.ReadOnlyEntry
addAttribute, addAttribute, addAttribute, addAttribute, addAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeAttributeValues, removeAttributeValues, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setDN, setDN
 
Methods inherited from class com.unboundid.ldap.sdk.Entry
addAttribute, applyModifications, applyModifications, applyModifyDN, applyModifyDN, diff, diff, duplicate, equals, getAttribute, getAttribute, getAttributes, getAttributesWithOptions, getAttributeValue, getAttributeValueAsBoolean, getAttributeValueAsDate, getAttributeValueAsDN, getAttributeValueAsInteger, getAttributeValueAsLong, getAttributeValueByteArrays, getAttributeValueBytes, getAttributeValues, getDN, getObjectClassAttribute, getObjectClassValues, getParentDN, getParentDNString, getParsedDN, getRDN, getSchema, hasAttribute, hasAttribute, hasAttribute, hasAttributeValue, hasAttributeValue, hasAttributeValue, hasAttributeValue, hashCode, hasObjectClass, intersectEntries, matchesBaseAndScope, matchesBaseAndScope, mergeEntries, removeAttributeValue, removeAttributeValue, setAttribute, toLDIF, toLDIF, toLDIF, toLDIF, toLDIFString, toLDIFString, toLDIFString, toLDIFString, toString, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ATTR_ATTRIBUTE_CHANGES

public static final java.lang.String ATTR_ATTRIBUTE_CHANGES
The name of the attribute used to hold the attribute changes contained in the modify operation.

See Also:
Constant Field Values

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<Modification> getModifications()
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<Attribute> getFormerAttributes()
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.