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<SearchResult> search(Name name,
76: Attributes matchingAttributes,
77: String[] attributesToReturn)
78: throws NamingException;
79: NamingEnumeration<SearchResult> search(String name,
80: Attributes matchingAttributes,
81: String[] attributesToReturn)
82: throws NamingException;
83: NamingEnumeration<SearchResult> search(Name name,
84: Attributes matchingAttributes)
85: throws NamingException;
86: NamingEnumeration<SearchResult> search(String name,
87: Attributes matchingAttributes)
88: throws NamingException;
89: NamingEnumeration<SearchResult> search(Name name, String filter,
90: SearchControls cons)
91: throws NamingException;
92: NamingEnumeration<SearchResult> search(String name, String filter,
93: SearchControls cons)
94: throws NamingException;
95: NamingEnumeration<SearchResult> search(Name name, String filterExpr,
96: Object[] filterArgs,
97: SearchControls cons)
98: throws NamingException;
99: NamingEnumeration<SearchResult> search(String name, String filterExpr,
100: Object[] filterArgs,
101: SearchControls cons)
102: throws NamingException;
103: }