Ja.NET Standard Edition 5.0

Documentation API Specification

Contents

LdapSchemaClassDefContextImpl Class Reference

Inherits org::apache::harmony::jndi::provider::ldap::LdapContextImpl.

List of all members.


Public Member Functions

 LdapSchemaClassDefContextImpl (Name name, Hashtable< Object, Object > env, Hashtable< String, ArrayList< String >> classTree, LdapContextImpl ctx) throws InvalidNameException
NamingEnumeration< SearchResultsearch (Name name, Attributes attributes) throws NamingException
 Searches in the context specified by name only, for any objects that have attributes that match the attributes parameter.
NamingEnumeration< SearchResultsearch (String name, Attributes attributes) throws NamingException
 Searches in the context specified by name represented by name only, for any objects that have attributes that match the attributes parameter.

Private Attributes

Hashtable< String, ArrayList
< String > > 
classTree
LdapContextImpl context

Constructor & Destructor Documentation

LdapSchemaClassDefContextImpl ( Name  name,
Hashtable< Object, Object >  env,
Hashtable< String, ArrayList< String >>  classTree,
LdapContextImpl  ctx 
) throws InvalidNameException


Member Function Documentation

NamingEnumeration<SearchResult> search ( Name  name,
Attributes  attributes 
) throws NamingException

Searches in the context specified by name only, for any objects that have attributes that match the attributes parameter.

This method is equivalent to passing a null as parameter to search(Name name, Attributes attributes, String[] as). Objects with attributes that match the attributes parameter are selected and all attributes are returned for selected objects.

This method throws any NamingException that occurs.

Parameters:
name the name specifies the context to be searched
attributes the attributes to be matched when search
Returns:
NamingEnumeration of SearchResult
Exceptions:
NamingException If any occurs.
See also:
search(Name name, Attributes attributes, String[] as)

Reimplemented from LdapContextImpl.

NamingEnumeration<SearchResult> search ( String  name,
Attributes  attributes 
) throws NamingException

Searches in the context specified by name represented by name only, for any objects that have attributes that match the attributes parameter.

Parameters:
name the string representative of name which specifies the context to be searched
attributes the attributes to be matched when search
Returns:
NamingEnumeration of SearchResult
Exceptions:
NamingException If any occurs.
See also:
search(Name, Attributes)

Reimplemented from LdapContextImpl.


Member Data Documentation

Hashtable<String, ArrayList<String> > classTree [private]