public class LDAPEntryModification
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ADD_ENTRY |
static int |
DELETE |
static int |
MODIFY |
static int |
RENAME |
static int |
REPLACE |
Constructor and Description |
---|
LDAPEntryModification(LDAPEntry entry,
int mod_OP)
Create a new modification with LDAP Entry object.
|
LDAPEntryModification(java.lang.String dn,
java.lang.String newRdn,
int mod_OP)
Constructor to rename an existing entry in the directory.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDN() |
LDAPEntry |
getEntry()
Get the current entry.
|
int |
getModOp() |
java.lang.String |
getNewRdn() |
public static final int ADD_ENTRY
public static final int DELETE
public static final int REPLACE
public static final int MODIFY
public static final int RENAME
public LDAPEntryModification(LDAPEntry entry, int mod_OP)
entry
- mod_OP
- public LDAPEntryModification(java.lang.String dn, java.lang.String newRdn, int mod_OP)
dn
- The current distinguished name of the entry.newRdn
- The new relative distinguished name for the entry.mod_OP
- Accepts only LDAPEntryModification.RENAME in this constructorpublic int getModOp()
public java.lang.String getDN()
public LDAPEntry getEntry()
public java.lang.String getNewRdn()