Weitere aktuelle Java-Titel finden Sie bei dpunkt.
 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Interface javax.naming.directory.DirContext1.3

Deklaration

public interface DirContext
extends javax.naming.Context

Beschreibung

Der Context für ein Verzeichnisdients. Es enthält Methoden um Attribute zu manipulieren oder eine Suche zu starten.


 
Datenelemente
public final static intADD_ATTRIBUTE
public final static intREMOVE_ATTRIBUTE
public final static intREPLACE_ATTRIBUTE
 
Methoden
public voidbind(String name, Object obj, Attributes attrs)
public voidbind(Name name, Object obj, Attributes attrs)
public DirContextcreateSubcontext(Name name, Attributes attrs)
public DirContextcreateSubcontext(String name, Attributes attrs)
public AttributesgetAttributes(Name name)
public AttributesgetAttributes(String name)
public AttributesgetAttributes(String name, String[] attrIds)
public AttributesgetAttributes(Name name, String[] attrIds)
public DirContextgetSchema(Name name)
public DirContextgetSchema(String name)
public DirContextgetSchemaClassDefinition(String name)
public DirContextgetSchemaClassDefinition(Name name)
public voidmodifyAttributes(Name name, ModificationItem[] mods)
public voidmodifyAttributes(String name, ModificationItem[] mods)
public voidmodifyAttributes(String name, int mod_op, Attributes attrs)
public voidmodifyAttributes(Name name, int mod_op, Attributes attrs)
public voidrebind(Name name, Object obj, Attributes attrs)
public voidrebind(String name, Object obj, Attributes attrs)
public NamingEnumerationsearch(Name name, Attributes matchingAttributes)
public NamingEnumerationsearch(String name, Attributes matchingAttributes)
public NamingEnumerationsearch(Name name, Attributes matchingAttributes, String[] attributesToReturn)
public NamingEnumerationsearch(Name name, String filter, SearchControls cons)
public NamingEnumerationsearch(String name, Attributes matchingAttributes, String[] attributesToReturn)
public NamingEnumerationsearch(String name, String filter, SearchControls cons)
public NamingEnumerationsearch(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
public NamingEnumerationsearch(String name, String filterExpr, Object[] filterArgs, SearchControls cons)


 

Datenelemente im Detail

public final static int ADD_ATTRIBUTE
Konstante für das Hinzufügen von einem Attribut.
public final static int REMOVE_ATTRIBUTE
Konstante für das Entfernen von einem Attribut.
public final static int REPLACE_ATTRIBUTE
Konstante für das Austauschen von einem Attribut.

 

Methoden im Detail

public void bind(String name, Object obj, Attributes attrs)
Bindet das Objekt.
Exception: NamingException
public void bind(Name name, Object obj, Attributes attrs)
Bindet das Objekt.
Exception: NamingException
public DirContext createSubcontext(Name name, Attributes attrs)
Erzeugt den Subcontext.
Exception: NamingException
public DirContext createSubcontext(String name, Attributes attrs)
Erstellt den Subcontext.
Exception: NamingException
public Attributes getAttributes(Name name)
Liefert die Attribute des Objektes.
Exception: NamingException
public Attributes getAttributes(String name)
Liefert die Attribute des Objektes.
Exception: NamingException
public Attributes getAttributes(String name, String[] attrIds)
Liefert die Attribute mit den angegegebenen IDs.
Exception: NamingException
public Attributes getAttributes(Name name, String[] attrIds)
Liefert die Attribute mit den angegegebenen IDs.
Exception: NamingException
public DirContext getSchema(Name name)
Liefert das Schema zu dem Objekt.
Exception: NamingException
public DirContext getSchema(String name)
Liefert das Schema zu dem Objekt.
Exception: NamingException
public DirContext getSchemaClassDefinition(String name)
Liefert die Definition der Schema-Klasse.
Exception: NamingException
public DirContext getSchemaClassDefinition(Name name)
Liefert die Definition der Schema-Klasse.
Exception: NamingException
public void modifyAttributes(Name name, ModificationItem[] mods)
Modifiziert die Attribute.
Exception: NamingException
public void modifyAttributes(String name, ModificationItem[] mods)
Modifiziert die Attribute.
Exception: NamingException
public void modifyAttributes(String name, int mod_op, Attributes attrs)
Modifiziert die Attribute.
Exception: NamingException
public void modifyAttributes(Name name, int mod_op, Attributes attrs)
Modifiziert die Attribute.
Exception: NamingException
public void rebind(Name name, Object obj, Attributes attrs)
Überschreibt ggf. die Bindung.
Exception: NamingException
public void rebind(String name, Object obj, Attributes attrs)
Überschreibt ggf. die Bindung.
Exception: NamingException
public NamingEnumeration search(Name name, Attributes matchingAttributes)
Durchsucht den Context nach den passenden Attributen.
Exception: NamingException
public NamingEnumeration search(String name, Attributes matchingAttributes)
Durchsucht den Context nach den passenden Attributen.
Exception: NamingException
public NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
Durchsucht den Context nach den passenden Attributen.
Exception: NamingException
public NamingEnumeration search(Name name, String filter, SearchControls cons)
Durchsucht den Context.
Exception: NamingException
public NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn)
Durchsucht den Context nach den passenden Attributen.
Exception: NamingException
public NamingEnumeration search(String name, String filter, SearchControls cons)
Durchsucht den Context nach den passenden Attributen.
Exception: NamingException
public NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
Durchsucht den Context.
Exception: NamingException
public NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)
Durchsucht den Context.
Exception: NamingException


 Inhaltsverzeichnis   Vorhergehendes Paket   Seite Zurück   Seite Vor   Nächstes Paket   Paketübersicht   Index

Copyright © 2002 dpunkt.Verlag, Heidelberg. Alle Rechte vorbehalten.