public class EntryChangeNotificationControl extends Control
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<EntryChangeNotificationControl> |
DECODER
The ControlDecoder that can be used to decode this control.
|
Constructor and Description |
---|
EntryChangeNotificationControl(boolean isCritical,
PersistentSearchChangeType changeType,
org.forgerock.opendj.ldap.Dn previousDN,
long changeNumber)
Creates a new entry change notification control with the provided
information.
|
EntryChangeNotificationControl(boolean isCritical,
PersistentSearchChangeType changeType,
long changeNumber)
Creates a new entry change notification control with the provided
information.
|
EntryChangeNotificationControl(PersistentSearchChangeType changeType,
org.forgerock.opendj.ldap.Dn previousDN,
long changeNumber)
Creates a new entry change notification control with the provided
information.
|
EntryChangeNotificationControl(PersistentSearchChangeType changeType,
long changeNumber)
Creates a new entry change notification control with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
long |
getChangeNumber()
Retrieves the change number for this entry change notification control.
|
PersistentSearchChangeType |
getChangeType()
Retrieves the change type for this entry change notification control.
|
org.forgerock.opendj.ldap.Dn |
getPreviousDN()
Retrieves the previous DN for this entry change notification control.
|
void |
toString(StringBuilder buffer)
Appends a string representation of this control to the provided
buffer.
|
void |
writeValue(org.forgerock.opendj.io.Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, isCritical, toString, write
public static final ControlDecoder<EntryChangeNotificationControl> DECODER
public EntryChangeNotificationControl(boolean isCritical, PersistentSearchChangeType changeType, long changeNumber)
isCritical
- Indicates whether this control should be
considered critical in processing the
request.changeType
- The change type for this change notification control.changeNumber
- The change number for the associated change, or a
negative value if no change number is available.public EntryChangeNotificationControl(boolean isCritical, PersistentSearchChangeType changeType, org.forgerock.opendj.ldap.Dn previousDN, long changeNumber)
isCritical
- Indicates whether this control should be
considered critical in processing the
request.changeType
- The change type for this change notification control.previousDN
- The DN that the entry had prior to a modify DN
operation, or null
if the operation was
not a modify DN.changeNumber
- The change number for the associated change, or a
negative value if no change number is available.public EntryChangeNotificationControl(PersistentSearchChangeType changeType, long changeNumber)
changeType
- The change type for this change notification control.changeNumber
- The change number for the associated change, or a
negative value if no change number is available.public EntryChangeNotificationControl(PersistentSearchChangeType changeType, org.forgerock.opendj.ldap.Dn previousDN, long changeNumber)
changeType
- The change type for this change notification control.previousDN
- The DN that the entry had prior to a modify DN
operation, or null
if the operation was
not a modify DN.changeNumber
- The change number for the associated change, or a
negative value if no change number is available.public void writeValue(org.forgerock.opendj.io.Asn1Writer writer) throws IOException
Control
writeValue
in class Control
writer
- The ASN.1 writer to use.IOException
- If a problem occurs while writing to the
stream.public PersistentSearchChangeType getChangeType()
public org.forgerock.opendj.ldap.Dn getPreviousDN()
null
if there is none.public long getChangeNumber()
public void toString(StringBuilder buffer)
Control
Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.