Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


oracle.ldap.ospf
Class ModdnLdapOperation

java.lang.Object
  extended by oracle.ldap.ospf.LdapOperation
      extended by oracle.ldap.ospf.ModdnLdapOperation


public final class ModdnLdapOperation
extends LdapOperation

Defines operation specific LDAP information that needs to pass between the Oracle directory server and the Java plug-in. Contains the following information:

The WHEN_REPLACE plug-in can return the ModdnLdapOperation object with the class's static fields as LDAP result codes. These LDAP result codes are ignored when returned with an ModdnLdapOperation object from the PRE, WHEN or POST plug-ins.

Since:
10g Release 3 (10.1.4)

Field Summary
static int LDAP_ALREADY_EXISTS
          LDAP Already Exists result code
static int LDAP_CONSTRAINT_VIOLATION
          LDAP Constraint Violation result code
static int LDAP_INSUFFICIENT_ACCESS
          LDAP Insufficient Access result code
static int LDAP_INVALID_SYNTAX
          LDAP Invalid Syntax result code
static int LDAP_NO_MEMORY
          LDAP No Memory result code
static int LDAP_NO_SUCH_ATTRIBUTE
          LDAP No Such Attribute result code
static int LDAP_NO_SUCH_OBJECT
          LDAP No Such Object result code
static int LDAP_NOT_ALLOWED_ON_NONLEAF
          LDAP Not Allowed on NonLeaf result code
static int LDAP_NOT_ALLOWED_ON_RDN
          LDAP Not Allowed on RDN result code
static int LDAP_OBJECT_CLASS_VIOLATION
          LDAP Object Class Violation result code
static int LDAP_OPERATIONS_ERROR
          LDAP Operations Error result code
static int LDAP_REFERRAL
          LDAP Referral result code
static int LDAP_TYPE_OR_VALUE_EXISTS
          LDAP Type or Value Exists result code
static int LDAP_USER_CANCELLED
          LDAP User Cancelled result code

 

Fields inherited from class oracle.ldap.ospf.LdapOperation
LDAP_ENTRY_ADD, LDAP_ENTRY_BIND, LDAP_ENTRY_COMPARE, LDAP_ENTRY_DELETE, LDAP_ENTRY_MODDN, LDAP_ENTRY_MODIFY, LDAP_ENTRY_SEARCH, LDAP_SUCCESS, m_bindDN, m_ldapOpCode, m_opResCode, m_opResMsg, m_srvCtrls

 

Method Summary
 boolean getDeleteOldRDN()
          Gets the delete old RDN from the ModdnLdapOperation object
 java.lang.String getNewDN()
          Gets the new target DN from the ModdnLdapOperation object.
 java.lang.String getNewParentDN()
          Gets the DN of the new parent from the ModdnLdapOperation object
 java.lang.String getNewRDN()
          Gets the new RDN from the ModdnLdapOperation object
 void setDeleteOldRDN(boolean deleteOldRDN)
          Sets the delete old RDN value in the ModdnLdapOperation object
 void setNewParentDN(java.lang.String newParentDN)
          Sets the DN of the new parent in the ModdnLdapOperation object
 void setNewRDN(java.lang.String newRDN)
          Sets the new RDN in the ModdnLdapOperation object

 

Methods inherited from class oracle.ldap.ospf.LdapOperation
getBindDN, getOperationResultCode, getOperationType, getServerControls, setBindDN, setOperationResultCode, setOperationType, setServerControls

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

LDAP_OPERATIONS_ERROR

public static final int LDAP_OPERATIONS_ERROR
LDAP Operations Error result code
See Also:
Constant Field Values

LDAP_REFERRAL

public static final int LDAP_REFERRAL
LDAP Referral result code
See Also:
Constant Field Values

LDAP_NO_SUCH_ATTRIBUTE

public static final int LDAP_NO_SUCH_ATTRIBUTE
LDAP No Such Attribute result code
See Also:
Constant Field Values

LDAP_CONSTRAINT_VIOLATION

public static final int LDAP_CONSTRAINT_VIOLATION
LDAP Constraint Violation result code
See Also:
Constant Field Values

LDAP_TYPE_OR_VALUE_EXISTS

public static final int LDAP_TYPE_OR_VALUE_EXISTS
LDAP Type or Value Exists result code
See Also:
Constant Field Values

LDAP_INVALID_SYNTAX

public static final int LDAP_INVALID_SYNTAX
LDAP Invalid Syntax result code
See Also:
Constant Field Values

LDAP_NO_SUCH_OBJECT

public static final int LDAP_NO_SUCH_OBJECT
LDAP No Such Object result code
See Also:
Constant Field Values

LDAP_INSUFFICIENT_ACCESS

public static final int LDAP_INSUFFICIENT_ACCESS
LDAP Insufficient Access result code
See Also:
Constant Field Values

LDAP_OBJECT_CLASS_VIOLATION

public static final int LDAP_OBJECT_CLASS_VIOLATION
LDAP Object Class Violation result code
See Also:
Constant Field Values

LDAP_NOT_ALLOWED_ON_NONLEAF

public static final int LDAP_NOT_ALLOWED_ON_NONLEAF
LDAP Not Allowed on NonLeaf result code
See Also:
Constant Field Values

LDAP_NOT_ALLOWED_ON_RDN

public static final int LDAP_NOT_ALLOWED_ON_RDN
LDAP Not Allowed on RDN result code
See Also:
Constant Field Values

LDAP_ALREADY_EXISTS

public static final int LDAP_ALREADY_EXISTS
LDAP Already Exists result code
See Also:
Constant Field Values

LDAP_USER_CANCELLED

public static final int LDAP_USER_CANCELLED
LDAP User Cancelled result code
See Also:
Constant Field Values

LDAP_NO_MEMORY

public static final int LDAP_NO_MEMORY
LDAP No Memory result code
See Also:
Constant Field Values

Method Detail

setNewParentDN

public void setNewParentDN(java.lang.String newParentDN)
Sets the DN of the new parent in the ModdnLdapOperation object
Parameters:
newParentDN - - New parent DN

getNewParentDN

public java.lang.String getNewParentDN()
Gets the DN of the new parent from the ModdnLdapOperation object
Returns:
newParentDN - New parent DN

setNewRDN

public void setNewRDN(java.lang.String newRDN)
Sets the new RDN in the ModdnLdapOperation object
Parameters:
newRDN - - New relative DN

getNewRDN

public java.lang.String getNewRDN()
Gets the new RDN from the ModdnLdapOperation object
Returns:
newRDN - New relative DN

setDeleteOldRDN

public void setDeleteOldRDN(boolean deleteOldRDN)
Sets the delete old RDN value in the ModdnLdapOperation object
Parameters:
deleteOldRDN - - boolean TRUE to set the value of delete old RDN boolean FALSE to unset the value of delete old RDN

getDeleteOldRDN

public boolean getDeleteOldRDN()
Gets the delete old RDN from the ModdnLdapOperation object
Returns:
delOldRDN - boolean TRUE if delete old RDN value is set boolean FALSE if delete old RDN value is not set

getNewDN

public java.lang.String getNewDN()
Gets the new target DN from the ModdnLdapOperation object.
Returns:
newDN - New target DN

Skip navigation links

Oracle Internet Directory API Reference
11g Release 1 (11.1.1)

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.