Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


oracle.ldap.ospf
Class LdapOperation

java.lang.Object
  extended byoracle.ldap.ospf.LdapOperation

Direct Known Subclasses:
AddLdapOperation, BindLdapOperation, CompareLdapOperation, DeleteLdapOperation, ModdnLdapOperation, ModifyLdapOperation, SearchLdapOperation

public class LdapOperation
extends java.lang.Object

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 LdapOperation object with the class's static fields as LDAP result codes. These LDAP result codes are ignored when returned with an LdapOperation object from the PRE, WHEN or POST plug-ins.

Since:
10g Release 3 (10.1.4)

Field Summary
static int LDAP_SUCCESS
          LDAP Success

 

Method Summary
 java.lang.String getBindDN()
          Gets the bind DN from the LdapOperation object
 int getOperationResultCode()
          Gets the LDAP Operation result code from the LdapOperation object.
 java.util.Vector getServerControls()
          Gets the server controls from the LdapOperation object.
 void setOperationResultCode(int opResCode)
          Sets the LDAP Operation result code in the LdapOperation object.

 

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

 

Field Detail

LDAP_SUCCESS

public static final int LDAP_SUCCESS
LDAP Success
See Also:
Constant Field Values

Method Detail

getBindDN

public java.lang.String getBindDN()
Gets the bind DN from the LdapOperation object
Returns:
bindDN - Bind DN

getServerControls

public java.util.Vector getServerControls()
Gets the server controls from the LdapOperation object. This method will return null if no server controls were specified during the operation
Returns:
srvCtrls - Server controls

getOperationResultCode

public int getOperationResultCode()
Gets the LDAP Operation result code from the LdapOperation object. This is only relevent in a POST Plug-in.
Returns:
opResCode - LDAP Operation result code

setOperationResultCode

public void setOperationResultCode(int opResCode)
Sets the LDAP Operation result code in the LdapOperation object. This is only relevent in a WHEN_REPLACE Plug-in.
Parameters:
opResCode - - LDAP Operation result code

Skip navigation links

Oracle Internet Directory API Reference
10g(10.1.4)

B15992-01


Copyright © 1999, 2006 Oracle. All Rights Reserved.