1:
37:
38:
39: package ;
40:
41: import ;
42: import ;
43: import ;
44: import ;
45:
46:
50:
51: public interface DirContext extends Context
52: {
53: int ADD_ATTRIBUTE = 1;
54: int REPLACE_ATTRIBUTE = 2;
55: int REMOVE_ATTRIBUTE = 3;
56:
57: Attributes getAttributes (String name) throws NamingException;
58: Attributes getAttributes (String name, String[] attrIds) throws NamingException;
59: Attributes getAttributes (Name name) throws NamingException;
60: Attributes getAttributes(Name name, String[] attrIds) throws NamingException;
61: void modifyAttributes(Name name, int mod_op, Attributes attrs) throws NamingException;
62: void modifyAttributes(String name, int mod_op, Attributes attrs) throws NamingException;
63: void modifyAttributes(Name name, ModificationItem[] mods) throws NamingException;
64: void modifyAttributes(String name, ModificationItem[] mods) throws NamingException;
65: void bind(Name name, Object obj, Attributes attrs) throws NamingException;
66: void bind(String name, Object obj, Attributes attrs) throws NamingException;
67: void rebind(Name name, Object obj, Attributes attrs) throws NamingException;
68: void rebind(String name, Object obj, Attributes attrs) throws NamingException;
69: DirContext createSubcontext(Name name, Attributes attrs) throws NamingException;
70: DirContext createSubcontext(String name, Attributes attrs) throws NamingException;
71: DirContext getSchema(Name name) throws NamingException;
72: DirContext getSchema(String name) throws NamingException;
73: DirContext getSchemaClassDefinition(Name name) throws NamingException;
74: DirContext getSchemaClassDefinition(String name) throws NamingException;
75: NamingEnumeration search(Name name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException;
76: NamingEnumeration search(String name, Attributes matchingAttributes, String[] attributesToReturn) throws NamingException;
77: NamingEnumeration search(Name name, Attributes matchingAttributes) throws NamingException;
78: NamingEnumeration search(String name, Attributes matchingAttributes) throws NamingException;
79: NamingEnumeration search(Name name, String filter, SearchControls cons) throws NamingException;
80: NamingEnumeration search(String name, String filter, SearchControls cons) throws NamingException;
81: NamingEnumeration search(Name name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException;
82: NamingEnumeration search(String name, String filterExpr, Object[] filterArgs, SearchControls cons) throws NamingException;
83: }