| java.lang.Object | ||
| ↳ | com.sun.jndi.ldap.BasicControl | |
| ↳ | com.sun.jndi.ldap.EntryChangeResponseControl | |
This class implements the LDAPv3 Response Control for entry-change notification as defined in draft-ietf-ldapext-psearch-02.txt. The control's value has the following ASN.1 definition:
EntryChangeNotification ::= SEQUENCE {
changeType ENUMERATED {
add (1),
delete (2),
modify (4),
modDN (8)
},
previousDN LDAPDN OPTIONAL, -- modifyDN ops. only
changeNumber INTEGER OPTIONAL, -- if supported
}
PersistentSearchControl| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ADD | Indicates an entry which has been added. | |||||||||
| int | DELETE | Indicates an entry which has been deleted. | |||||||||
| int | MODIFY | Indicates an entry which has been modified. | |||||||||
| String | OID | The entry-change response control's assigned object identifier is 2.16.840.1.113730.3.4.7. | |||||||||
| int | RENAME | Indicates an entry which has been renamed. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
javax.naming.ldap.Control
| |||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.sun.jndi.ldap.BasicControl
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of EntryChangeResponseControl.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Retrieves the change number assigned by the server for this change.
| |||||||||||
Retrieves the type of change that occurred.
| |||||||||||
Retrieves the previous distinguished name of the entry before it was
renamed and/or moved.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.sun.jndi.ldap.BasicControl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.naming.ldap.Control
| |||||||||||
Indicates an entry which has been added.
Indicates an entry which has been deleted.
Indicates an entry which has been modified.
The entry-change response control's assigned object identifier is 2.16.840.1.113730.3.4.7.
Indicates an entry which has been renamed.
Constructs a new instance of EntryChangeResponseControl.
| id | The control's object identifier string. |
|---|---|
| criticality | The control's criticality. |
| value | The control's ASN.1 BER encoded value. May be null. |
| IOException | if an error is encountered while decoding the control's value. |
|---|
Retrieves the change number assigned by the server for this change. Returns -1 if this feature is not supported by the server.
Retrieves the type of change that occurred.
Retrieves the previous distinguished name of the entry before it was renamed and/or moved. This method applies only to RENAME changes.