1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_naming_ldap_LdapContext__
|
5 |
|
|
#define __javax_naming_ldap_LdapContext__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace naming
|
17 |
|
|
{
|
18 |
|
|
class Context;
|
19 |
|
|
class Name;
|
20 |
|
|
class NameParser;
|
21 |
|
|
class NamingEnumeration;
|
22 |
|
|
namespace directory
|
23 |
|
|
{
|
24 |
|
|
class Attributes;
|
25 |
|
|
class DirContext;
|
26 |
|
|
class ModificationItem;
|
27 |
|
|
class SearchControls;
|
28 |
|
|
}
|
29 |
|
|
namespace ldap
|
30 |
|
|
{
|
31 |
|
|
class Control;
|
32 |
|
|
class ExtendedRequest;
|
33 |
|
|
class ExtendedResponse;
|
34 |
|
|
class LdapContext;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
}
|
38 |
|
|
}
|
39 |
|
|
|
40 |
|
|
class javax::naming::ldap::LdapContext : public ::java::lang::Object
|
41 |
|
|
{
|
42 |
|
|
|
43 |
|
|
public:
|
44 |
|
|
virtual ::javax::naming::ldap::ExtendedResponse * extendedOperation(::javax::naming::ldap::ExtendedRequest *) = 0;
|
45 |
|
|
virtual ::javax::naming::ldap::LdapContext * newInstance(JArray< ::javax::naming::ldap::Control * > *) = 0;
|
46 |
|
|
virtual void reconnect(JArray< ::javax::naming::ldap::Control * > *) = 0;
|
47 |
|
|
virtual JArray< ::javax::naming::ldap::Control * > * getConnectControls() = 0;
|
48 |
|
|
virtual void setRequestControls(JArray< ::javax::naming::ldap::Control * > *) = 0;
|
49 |
|
|
virtual JArray< ::javax::naming::ldap::Control * > * getRequestControls() = 0;
|
50 |
|
|
virtual JArray< ::javax::naming::ldap::Control * > * getResponseControls() = 0;
|
51 |
|
|
virtual ::javax::naming::directory::Attributes * getAttributes(::java::lang::String *) = 0;
|
52 |
|
|
virtual ::javax::naming::directory::Attributes * getAttributes(::java::lang::String *, JArray< ::java::lang::String * > *) = 0;
|
53 |
|
|
virtual ::javax::naming::directory::Attributes * getAttributes(::javax::naming::Name *) = 0;
|
54 |
|
|
virtual ::javax::naming::directory::Attributes * getAttributes(::javax::naming::Name *, JArray< ::java::lang::String * > *) = 0;
|
55 |
|
|
virtual void modifyAttributes(::javax::naming::Name *, jint, ::javax::naming::directory::Attributes *) = 0;
|
56 |
|
|
virtual void modifyAttributes(::java::lang::String *, jint, ::javax::naming::directory::Attributes *) = 0;
|
57 |
|
|
virtual void modifyAttributes(::javax::naming::Name *, JArray< ::javax::naming::directory::ModificationItem * > *) = 0;
|
58 |
|
|
virtual void modifyAttributes(::java::lang::String *, JArray< ::javax::naming::directory::ModificationItem * > *) = 0;
|
59 |
|
|
virtual void bind(::javax::naming::Name *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
|
60 |
|
|
virtual void bind(::java::lang::String *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
|
61 |
|
|
virtual void rebind(::javax::naming::Name *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
|
62 |
|
|
virtual void rebind(::java::lang::String *, ::java::lang::Object *, ::javax::naming::directory::Attributes *) = 0;
|
63 |
|
|
virtual ::javax::naming::directory::DirContext * createSubcontext(::javax::naming::Name *, ::javax::naming::directory::Attributes *) = 0;
|
64 |
|
|
virtual ::javax::naming::directory::DirContext * createSubcontext(::java::lang::String *, ::javax::naming::directory::Attributes *) = 0;
|
65 |
|
|
virtual ::javax::naming::directory::DirContext * getSchema(::javax::naming::Name *) = 0;
|
66 |
|
|
virtual ::javax::naming::directory::DirContext * getSchema(::java::lang::String *) = 0;
|
67 |
|
|
virtual ::javax::naming::directory::DirContext * getSchemaClassDefinition(::javax::naming::Name *) = 0;
|
68 |
|
|
virtual ::javax::naming::directory::DirContext * getSchemaClassDefinition(::java::lang::String *) = 0;
|
69 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::javax::naming::directory::Attributes *, JArray< ::java::lang::String * > *) = 0;
|
70 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::javax::naming::directory::Attributes *, JArray< ::java::lang::String * > *) = 0;
|
71 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::javax::naming::directory::Attributes *) = 0;
|
72 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::javax::naming::directory::Attributes *) = 0;
|
73 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::java::lang::String *, ::javax::naming::directory::SearchControls *) = 0;
|
74 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::java::lang::String *, ::javax::naming::directory::SearchControls *) = 0;
|
75 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::javax::naming::Name *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *) = 0;
|
76 |
|
|
virtual ::javax::naming::NamingEnumeration * search(::java::lang::String *, ::java::lang::String *, JArray< ::java::lang::Object * > *, ::javax::naming::directory::SearchControls *) = 0;
|
77 |
|
|
virtual void bind(::javax::naming::Name *, ::java::lang::Object *) = 0;
|
78 |
|
|
virtual void bind(::java::lang::String *, ::java::lang::Object *) = 0;
|
79 |
|
|
virtual ::java::lang::Object * lookup(::javax::naming::Name *) = 0;
|
80 |
|
|
virtual ::java::lang::Object * lookup(::java::lang::String *) = 0;
|
81 |
|
|
virtual void rebind(::javax::naming::Name *, ::java::lang::Object *) = 0;
|
82 |
|
|
virtual void rebind(::java::lang::String *, ::java::lang::Object *) = 0;
|
83 |
|
|
virtual void unbind(::javax::naming::Name *) = 0;
|
84 |
|
|
virtual void unbind(::java::lang::String *) = 0;
|
85 |
|
|
virtual void rename(::javax::naming::Name *, ::javax::naming::Name *) = 0;
|
86 |
|
|
virtual void rename(::java::lang::String *, ::java::lang::String *) = 0;
|
87 |
|
|
virtual ::javax::naming::NamingEnumeration * list(::javax::naming::Name *) = 0;
|
88 |
|
|
virtual ::javax::naming::NamingEnumeration * list(::java::lang::String *) = 0;
|
89 |
|
|
virtual ::javax::naming::NamingEnumeration * listBindings(::javax::naming::Name *) = 0;
|
90 |
|
|
virtual ::javax::naming::NamingEnumeration * listBindings(::java::lang::String *) = 0;
|
91 |
|
|
virtual ::javax::naming::Context * createSubcontext(::javax::naming::Name *) = 0;
|
92 |
|
|
virtual ::javax::naming::Context * createSubcontext(::java::lang::String *) = 0;
|
93 |
|
|
virtual void destroySubcontext(::javax::naming::Name *) = 0;
|
94 |
|
|
virtual void destroySubcontext(::java::lang::String *) = 0;
|
95 |
|
|
virtual ::java::lang::Object * lookupLink(::javax::naming::Name *) = 0;
|
96 |
|
|
virtual ::java::lang::Object * lookupLink(::java::lang::String *) = 0;
|
97 |
|
|
virtual ::javax::naming::NameParser * getNameParser(::javax::naming::Name *) = 0;
|
98 |
|
|
virtual ::javax::naming::NameParser * getNameParser(::java::lang::String *) = 0;
|
99 |
|
|
virtual ::javax::naming::Name * composeName(::javax::naming::Name *, ::javax::naming::Name *) = 0;
|
100 |
|
|
virtual ::java::lang::String * composeName(::java::lang::String *, ::java::lang::String *) = 0;
|
101 |
|
|
virtual ::java::lang::Object * addToEnvironment(::java::lang::String *, ::java::lang::Object *) = 0;
|
102 |
|
|
virtual ::java::lang::Object * removeFromEnvironment(::java::lang::String *) = 0;
|
103 |
|
|
virtual ::java::util::Hashtable * getEnvironment() = 0;
|
104 |
|
|
virtual void close() = 0;
|
105 |
|
|
virtual ::java::lang::String * getNameInNamespace() = 0;
|
106 |
|
|
static ::java::lang::String * CONTROL_FACTORIES;
|
107 |
|
|
static ::java::lang::Class class$;
|
108 |
|
|
} __attribute__ ((java_interface));
|
109 |
|
|
|
110 |
|
|
#endif // __javax_naming_ldap_LdapContext__
|