EntryChangeNotification ::= SEQUENCE {
changeType ENUMERATED {
add (1),
delete (2),
modify (4),
modDN (8)
},
previousDN LDAPDN OPTIONAL, -- modifyDN ops. only
changeNumber INTEGER OPTIONAL, -- if supported
}
PersistentSearchControl, DefaultResponseControlFactory
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ADD
Indicates an entry which has been added. |
| private long | changeNumber
The change number (if supported by the server). |
| private int | changeType
The type of change that occurred. |
| public static final int | DELETE
Indicates an entry which has been deleted. |
| public static final int | MODIFY
Indicates an entry which has been modified. |
| public static final String | OID
The entry-change response control's assigned object identifier is 2.16.840.1.113730.3.4.7. |
| private String | previousDN
The previous distinguished name (only applies to RENAME changes). |
| public static final int | RENAME
Indicates an entry which has been renamed. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | EntryChangeResponseControl(String
The control's object identifier string. id, boolean The control's criticality. criticality, byte[] The control's ASN.1 BER encoded value.
May be null. value)Constructs a new instance of EntryChangeResponseControl. |
| Modifier and Type | Method and Description |
|---|---|
| public long | Returns: The change number or -1 if unsupported.Retrieves the change number assigned by the server for this change. |
| public int | |
| public String | Returns: The previous distinguished name or null if not applicable.Retrieves the previous distinguished name of the entry before it was renamed and/or moved. |
| ADD | back to summary |
|---|---|
| public static final int ADD Indicates an entry which has been added. | |
| changeNumber | back to summary |
|---|---|
| private long changeNumber The change number (if supported by the server). | |
| changeType | back to summary |
|---|---|
| private int changeType The type of change that occurred. | |
| DELETE | back to summary |
|---|---|
| public static final int DELETE Indicates an entry which has been deleted. | |
| MODIFY | back to summary |
|---|---|
| public static final int MODIFY Indicates an entry which has been modified. | |
| OID | back to summary |
|---|---|
| public static final String OID The entry-change response control's assigned object identifier is 2.16.840.1.113730.3.4.7. | |
| previousDN | back to summary |
|---|---|
| private String previousDN The previous distinguished name (only applies to RENAME changes). | |
| RENAME | back to summary |
|---|---|
| public static final int RENAME Indicates an entry which has been renamed. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| EntryChangeResponseControl | back to summary |
|---|---|
| public EntryChangeResponseControl(String id, boolean criticality, byte[] value) throws IOException Constructs a new instance of EntryChangeResponseControl.
| |
| getChangeNumber | back to summary |
|---|---|
| public long getChangeNumber() Retrieves the change number assigned by the server for this change. Returns -1 if this feature is not supported by the server.
| |
| getChangeType | back to summary |
|---|---|
| public int getChangeType() Retrieves the type of change that occurred.
| |
| getPreviousDN | back to summary |
|---|---|
| public String getPreviousDN() Retrieves the previous distinguished name of the entry before it was renamed and/or moved. This method applies only to RENAME changes.
| |