DirContext.h 6.2 KB

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