Class DraftChuLDAPLogSchema00ModifyDNEntry
- java.lang.Object
-
- com.unboundid.ldap.sdk.Entry
-
- com.unboundid.ldap.sdk.ReadOnlyEntry
-
- com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00Entry
-
- com.unboundid.ldap.sdk.experimental.DraftChuLDAPLogSchema00ModifyDNEntry
-
- All Implemented Interfaces:
LDIFRecord,java.io.Serializable
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class DraftChuLDAPLogSchema00ModifyDNEntry extends DraftChuLDAPLogSchema00Entry
This class represents an entry that holds information about a modify DN operation processed by an LDAP server, as per the specification described in draft-chu-ldap-logschema-00.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_DELETE_OLD_RDNThe name of the attribute used to hold the value of the delete old RDN flag.static java.lang.StringATTR_NEW_RDNThe name of the attribute used to hold the new RDN value.static java.lang.StringATTR_NEW_SUPERIOR_DNThe name of the attribute used to hold the new superior DN value.-
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
Constructors Constructor Description DraftChuLDAPLogSchema00ModifyDNEntry(Entry entry)Creates a new instance of this modify DN access log entry from the provided entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandeleteOldRDN()Retrieves the value of the "delete old RDN" flag for the modify DN request described by this modify DN access log entry.java.lang.StringgetNewRDN()Retrieves the new RDN for the modify DN request described by this modify DN access log entry.java.lang.StringgetNewSuperiorDN()Retrieves the new superior DN for the modify DN request described by this modify DN access log entry, if any.ModifyDNRequesttoModifyDNRequest()Retrieves aModifyDNRequestcreated from this modify DN 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, 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
-
-
-
-
Field Detail
-
ATTR_DELETE_OLD_RDN
public static final java.lang.String ATTR_DELETE_OLD_RDN
The name of the attribute used to hold the value of the delete old RDN flag.- See Also:
- Constant Field Values
-
ATTR_NEW_RDN
public static final java.lang.String ATTR_NEW_RDN
The name of the attribute used to hold the new RDN value.- See Also:
- Constant Field Values
-
ATTR_NEW_SUPERIOR_DN
public static final java.lang.String ATTR_NEW_SUPERIOR_DN
The name of the attribute used to hold the new superior DN value.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DraftChuLDAPLogSchema00ModifyDNEntry
public DraftChuLDAPLogSchema00ModifyDNEntry(Entry entry) throws LDAPException
Creates a new instance of this modify DN access log entry from the provided entry.- Parameters:
entry- The entry used to create this modify DN access log entry.- Throws:
LDAPException- If the provided entry cannot be decoded as a valid modify DN access log entry as per the specification contained in draft-chu-ldap-logschema-00.
-
-
Method Detail
-
getNewRDN
public java.lang.String getNewRDN()
Retrieves the new RDN for the modify DN request described by this modify DN access log entry.- Returns:
- The new RDN for the modify DN request described by this modify DN access log entry.
-
deleteOldRDN
public boolean deleteOldRDN()
Retrieves the value of the "delete old RDN" flag for the modify DN request described by this modify DN access log entry.- Returns:
trueif the modify request indicated that old RDN attribute values should be removed from the entry, orfalseif old RDN attribute values should be preserved.
-
getNewSuperiorDN
public java.lang.String getNewSuperiorDN()
Retrieves the new superior DN for the modify DN request described by this modify DN access log entry, if any.- Returns:
- The new superior DN for the modify DN request described by this
modify DN access log entry, or
nullif there is no new superior DN.
-
toModifyDNRequest
public ModifyDNRequest toModifyDNRequest()
Retrieves aModifyDNRequestcreated from this modify DN access log entry.- Returns:
- The
ModifyDNRequestcreated from this modify DN access log entry.
-
-