Skip navigation links

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

E10664-01


oracle.ldap.ospf
Class LdapBaseEntry

java.lang.Object
  extended by oracle.ldap.ospf.LdapBaseEntry


public final class LdapBaseEntry
extends java.lang.Object

Defines the base entry information that need to pass from the Oracle directory server to the Java plug-in. Contains the following information:

The LdapBaseEntry will be null for an LDAP Add operation. For other operations, LdapBaseEntry will contain at least the DN. It will also contain the attributes if the base entry is present in the Oracle directory server. Otherwise, it will contain only the DN and no attributes. The contents of the base entry passed to plug-ins will be same, irrespective of the plug-in timing. For performance reasons, if the LdapBaseEntry is a group entry and the entry cache capability of the Oracle directory server is disabled, the attributes uniquemember and member are not accessible.

Since:
10g Release 3 (10.1.4)

Field Summary
protected  javax.naming.directory.Attributes m_attrs
           
protected  java.lang.String m_dn
           

 

Method Summary
 java.util.Enumeration getAllAttributeNames()
          Gets all the attribute names in the base entry
 java.util.Enumeration getAllAttributeValues(java.lang.String attrName)
          Gets all the values of an attribute for a given attribute name
 javax.naming.directory.Attribute getAttribute(java.lang.String attrName)
          Gets the Attribute for the attribute name
 javax.naming.directory.Attributes getAttributes()
          Gets the Attributes
 java.lang.String getDN()
          Gets the DN of the base entry

 

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

 

Field Detail

m_dn

protected java.lang.String m_dn

m_attrs

protected javax.naming.directory.Attributes m_attrs

Method Detail

getDN

public java.lang.String getDN()
Gets the DN of the base entry
Returns:
dn - DN of the base entry

getAttributes

public javax.naming.directory.Attributes getAttributes()
Gets the Attributes
Returns:
attrs - Attributes

getAttribute

public javax.naming.directory.Attribute getAttribute(java.lang.String attrName)
Gets the Attribute for the attribute name
Parameters:
attrName - - Attribute name
Returns:
attr - Attribute

getAllAttributeNames

public java.util.Enumeration getAllAttributeNames()
Gets all the attribute names in the base entry
Returns:
attrNames - The attribute names present in the base entry, as an enumeration of elements of class String. Returns an empty enumeration if an attribute set has zero attributes.

getAllAttributeValues

public java.util.Enumeration getAllAttributeValues(java.lang.String attrName)
                                            throws javax.naming.NamingException
Gets all the values of an attribute for a given attribute name
Parameters:
attrName - - Attribute name
Returns:
attrVals - The attribute values, as an enumeration of elements of class String. Returns an empty enumeration if an attribute set has zero attributes. Returns null if the attribute does not exist.
Throws:
javax.naming.NamingException

Skip navigation links

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

E10664-01


Copyright © 1999, 2009 Oracle. All Rights Reserved.