|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPControl com.novell.ldap.controls.LDAPEntryChangeControl
LDAPEntryChangeControl is a Server Control returned at the request of the client in response to a persistent search request. It contains additional information about a change such as what type of change occurred.
Sample Code: SearchPersist.java
Constructor Summary | |
LDAPEntryChangeControl(java.lang.String oid,
boolean critical,
byte[] value)
This constructor is called by the SDK to create an LDAPEntryChangeControl. |
Method Summary | |
int |
getChangeNumber()
returns the record number of the change in the servers change log. |
int |
getChangeType()
Returns the type of change that occured |
boolean |
getHasChangeNumber()
returns the record number of the change in the servers change log. |
java.lang.String |
getPreviousDN()
Returns the previous DN of the entry, if it was renamed. |
java.lang.String |
toString()
Returns a string representation of the control for debugging. |
Methods inherited from class com.novell.ldap.LDAPControl |
clone, getID, getValue, isCritical, readDSML, readExternal, register, setValue, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPEntryChangeControl(java.lang.String oid, boolean critical, byte[] value) throws java.io.IOException
The Entry Change Control is defined as follows:
EntryChangeNotification ::= SEQUENCE {
changeType ENUMERATED {
add (1),
delete (2),
modify (4),
modDN (8)
},
previousDN LDAPDN OPTIONAL, -- modifyDN ops. only
changeNumber INTEGER OPTIONAL -- if supported
}
oid
- The OID of the control, as a dotted string.
critical
- True if the LDAP operation should be discarded if
the control is not supported. False if
the operation can be processed without the control.
value
- The control-specific data.Method Detail |
public boolean getHasChangeNumber()
public int getChangeNumber()
public int getChangeType()
public java.lang.String getPreviousDN()
public java.lang.String toString()
toString
in class LDAPControl
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |