javax.naming.directory
public interface DirContext extends Context
Modifier and Type | Field and Description |
---|---|
static int |
ADD_ATTRIBUTE |
static int |
REMOVE_ATTRIBUTE |
static int |
REPLACE_ATTRIBUTE |
APPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
static final int ADD_ATTRIBUTE
static final int REPLACE_ATTRIBUTE
static final int REMOVE_ATTRIBUTE
Attributes getAttributes(String name) throws NamingException
NamingException
Attributes getAttributes(String name, String[] attrIds) throws NamingException
NamingException
Attributes getAttributes(Name name) throws NamingException
NamingException
Attributes getAttributes(Name name, String[] attrIds) throws NamingException
NamingException
void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException
NamingException
void modifyAttributes(String name, int mod_op, Attributes attrs) throws NamingException
NamingException
void modifyAttributes(Name name, ModificationItem[] mods) throws NamingException
NamingException
void modifyAttributes(String name, ModificationItem[] mods) throws NamingException
NamingException
void bind(Name name, Object obj, Attributes attrs) throws NamingException
NamingException
void bind(String name, Object obj, Attributes attrs) throws NamingException
NamingException
void rebind(Name name, Object obj, Attributes attrs) throws NamingException
NamingException
void rebind(String name, Object obj, Attributes attrs) throws NamingException
NamingException
DirContext createSubcontext(Name name, Attributes attrs) throws NamingException
NamingException
DirContext createSubcontext(String name, Attributes attrs) throws NamingException
NamingException
DirContext getSchema(Name name) throws NamingException
NamingException
DirContext getSchema(String name) throws NamingException
NamingException
DirContext getSchemaClassDefinition(Name name) throws NamingException
NamingException
DirContext getSchemaClassDefinition(String name) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(Name name, Attributes matchingAttributes) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(String name, Attributes matchingAttributes) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(Name name, String filter, SearchControls cons) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(String name, String filter, SearchControls cons) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
NamingException
NamingEnumeration<SearchResult> search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException
NamingException