link start!
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package javax.naming.directory;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.naming.NamingEnumeration;
|
||||
import javax.naming.NamingException;
|
||||
|
||||
public interface Attribute extends Cloneable, Serializable {
|
||||
public static final long serialVersionUID = 8707690322213556804L;
|
||||
|
||||
void add(int i, Object obj);
|
||||
|
||||
boolean add(Object obj);
|
||||
|
||||
void clear();
|
||||
|
||||
Object clone();
|
||||
|
||||
boolean contains(Object obj);
|
||||
|
||||
Object get() throws NamingException;
|
||||
|
||||
Object get(int i) throws NamingException;
|
||||
|
||||
NamingEnumeration getAll() throws NamingException;
|
||||
|
||||
DirContext getAttributeDefinition() throws NamingException;
|
||||
|
||||
DirContext getAttributeSyntaxDefinition() throws NamingException;
|
||||
|
||||
String getID();
|
||||
|
||||
boolean isOrdered();
|
||||
|
||||
Object remove(int i);
|
||||
|
||||
boolean remove(Object obj);
|
||||
|
||||
Object set(int i, Object obj);
|
||||
|
||||
int size();
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package javax.naming.directory;
|
||||
|
||||
import java.io.Serializable;
|
||||
import javax.naming.NamingEnumeration;
|
||||
|
||||
public interface Attributes extends Cloneable, Serializable {
|
||||
Object clone();
|
||||
|
||||
Attribute get(String str);
|
||||
|
||||
NamingEnumeration getAll();
|
||||
|
||||
NamingEnumeration getIDs();
|
||||
|
||||
boolean isCaseIgnored();
|
||||
|
||||
Attribute put(String str, Object obj);
|
||||
|
||||
Attribute put(Attribute attribute);
|
||||
|
||||
Attribute remove(String str);
|
||||
|
||||
int size();
|
||||
}
|
||||
@@ -0,0 +1,64 @@
|
||||
package javax.naming.directory;
|
||||
|
||||
import javax.naming.Context;
|
||||
import javax.naming.Name;
|
||||
import javax.naming.NamingEnumeration;
|
||||
import javax.naming.NamingException;
|
||||
|
||||
public interface DirContext extends Context {
|
||||
public static final int ADD_ATTRIBUTE = 1;
|
||||
public static final int REMOVE_ATTRIBUTE = 3;
|
||||
public static final int REPLACE_ATTRIBUTE = 2;
|
||||
|
||||
void bind(String str, Object obj, Attributes attributes) throws NamingException;
|
||||
|
||||
void bind(Name name, Object obj, Attributes attributes) throws NamingException;
|
||||
|
||||
DirContext createSubcontext(String str, Attributes attributes) throws NamingException;
|
||||
|
||||
DirContext createSubcontext(Name name, Attributes attributes) throws NamingException;
|
||||
|
||||
Attributes getAttributes(String str) throws NamingException;
|
||||
|
||||
Attributes getAttributes(String str, String[] strArr) throws NamingException;
|
||||
|
||||
Attributes getAttributes(Name name) throws NamingException;
|
||||
|
||||
Attributes getAttributes(Name name, String[] strArr) throws NamingException;
|
||||
|
||||
DirContext getSchema(String str) throws NamingException;
|
||||
|
||||
DirContext getSchema(Name name) throws NamingException;
|
||||
|
||||
DirContext getSchemaClassDefinition(String str) throws NamingException;
|
||||
|
||||
DirContext getSchemaClassDefinition(Name name) throws NamingException;
|
||||
|
||||
void modifyAttributes(String str, int i, Attributes attributes) throws NamingException;
|
||||
|
||||
void modifyAttributes(String str, ModificationItem[] modificationItemArr) throws NamingException;
|
||||
|
||||
void modifyAttributes(Name name, int i, Attributes attributes) throws NamingException;
|
||||
|
||||
void modifyAttributes(Name name, ModificationItem[] modificationItemArr) throws NamingException;
|
||||
|
||||
void rebind(String str, Object obj, Attributes attributes) throws NamingException;
|
||||
|
||||
void rebind(Name name, Object obj, Attributes attributes) throws NamingException;
|
||||
|
||||
NamingEnumeration search(String str, String str2, SearchControls searchControls) throws NamingException;
|
||||
|
||||
NamingEnumeration search(String str, String str2, Object[] objArr, SearchControls searchControls) throws NamingException;
|
||||
|
||||
NamingEnumeration search(String str, Attributes attributes) throws NamingException;
|
||||
|
||||
NamingEnumeration search(String str, Attributes attributes, String[] strArr) throws NamingException;
|
||||
|
||||
NamingEnumeration search(Name name, String str, SearchControls searchControls) throws NamingException;
|
||||
|
||||
NamingEnumeration search(Name name, String str, Object[] objArr, SearchControls searchControls) throws NamingException;
|
||||
|
||||
NamingEnumeration search(Name name, Attributes attributes) throws NamingException;
|
||||
|
||||
NamingEnumeration search(Name name, Attributes attributes, String[] strArr) throws NamingException;
|
||||
}
|
||||
Reference in New Issue
Block a user