javax.naming.directory

Interface DirContext

public interface DirContext extends Context

UNKNOWN: June 13, 2001

Field Summary
intADD_ATTRIBUTE
intREMOVE_ATTRIBUTE
intREPLACE_ATTRIBUTE
Method Summary
voidbind(Name name, Object obj, Attributes attrs)
voidbind(String name, Object obj, Attributes attrs)
DirContextcreateSubcontext(Name name, Attributes attrs)
DirContextcreateSubcontext(String name, Attributes attrs)
AttributesgetAttributes(String name)
AttributesgetAttributes(String name, String[] attrIds)
AttributesgetAttributes(Name name)
AttributesgetAttributes(Name name, String[] attrIds)
DirContextgetSchema(Name name)
DirContextgetSchema(String name)
DirContextgetSchemaClassDefinition(Name name)
DirContextgetSchemaClassDefinition(String name)
voidmodifyAttributes(Name name, int mod_op, Attributes attrs)
voidmodifyAttributes(String name, int mod_op, Attributes attrs)
voidmodifyAttributes(Name name, ModificationItem[] mods)
voidmodifyAttributes(String name, ModificationItem[] mods)
voidrebind(Name name, Object obj, Attributes attrs)
voidrebind(String name, Object obj, Attributes attrs)
NamingEnumeration<SearchResult>search(Name name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration<SearchResult>search(String name, Attributes matchingAttributes, String[] attributesToReturn)
NamingEnumeration<SearchResult>search(Name name, Attributes matchingAttributes)
NamingEnumeration<SearchResult>search(String name, Attributes matchingAttributes)
NamingEnumeration<SearchResult>search(Name name, String filter, SearchControls cons)
NamingEnumeration<SearchResult>search(String name, String filter, SearchControls cons)
NamingEnumeration<SearchResult>search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)
NamingEnumeration<SearchResult>search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)

Field Detail

ADD_ATTRIBUTE

public int ADD_ATTRIBUTE

REMOVE_ATTRIBUTE

public int REMOVE_ATTRIBUTE

REPLACE_ATTRIBUTE

public int REPLACE_ATTRIBUTE

Method Detail

bind

public void bind(Name name, Object obj, Attributes attrs)

bind

public void bind(String name, Object obj, Attributes attrs)

createSubcontext

public DirContext createSubcontext(Name name, Attributes attrs)

createSubcontext

public DirContext createSubcontext(String name, Attributes attrs)

getAttributes

public Attributes getAttributes(String name)

getAttributes

public Attributes getAttributes(String name, String[] attrIds)

getAttributes

public Attributes getAttributes(Name name)

getAttributes

public Attributes getAttributes(Name name, String[] attrIds)

getSchema

public DirContext getSchema(Name name)

getSchema

public DirContext getSchema(String name)

getSchemaClassDefinition

public DirContext getSchemaClassDefinition(Name name)

getSchemaClassDefinition

public DirContext getSchemaClassDefinition(String name)

modifyAttributes

public void modifyAttributes(Name name, int mod_op, Attributes attrs)

modifyAttributes

public void modifyAttributes(String name, int mod_op, Attributes attrs)

modifyAttributes

public void modifyAttributes(Name name, ModificationItem[] mods)

modifyAttributes

public void modifyAttributes(String name, ModificationItem[] mods)

rebind

public void rebind(Name name, Object obj, Attributes attrs)

rebind

public void rebind(String name, Object obj, Attributes attrs)

search

public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn)

search

public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn)

search

public NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes)

search

public NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes)

search

public NamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons)

search

public NamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons)

search

public NamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons)

search

public NamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons)