1 | // tlb2java |
2 | package com.moesol.bindings.microsoft.dao; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface _User extends com.moesol.bindings.microsoft.dao._DAO { |
9 | public static final Class TYPELIB = TYPELIB_00025E01_0000_0000_C000_000000000046.class; |
10 | /** |
11 | * <code>IDL: [uuid(00000069-0000-0010-8000-00AA006D2EA4)]</code> |
12 | */ |
13 | public static final com.moesol.bindings.platform_sdk.component_services.GUID IID = new com.moesol.bindings.platform_sdk.component_services.GUID( |
14 | 0x00000069, (short)0x0000, (short)0x0010, |
15 | new byte[] { |
16 | (byte)0x80, (byte)0x00, |
17 | (byte)0x00, (byte)0xaa, (byte)0x00, (byte)0x6d, (byte)0x2e, (byte)0xa4 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @return |
24 | * <code>IDL: [out] [retval] BSTR*</code> |
25 | */ |
26 | public String getName(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @param pbstr |
32 | * <code>IDL: [in] BSTR</code> |
33 | */ |
34 | public void setName( |
35 | /*[in]*/ String pbstr); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @param rhs |
41 | * <code>IDL: [in] BSTR</code> |
42 | */ |
43 | public void setPID( |
44 | /*[in]*/ String rhs); |
45 | |
46 | /** |
47 | * <code>IDL: [ helpstring("") ]</code> |
48 | * |
49 | * @param rhs |
50 | * <code>IDL: [in] BSTR</code> |
51 | */ |
52 | public void setPassword( |
53 | /*[in]*/ String rhs); |
54 | |
55 | /** |
56 | * <code>IDL: [ helpstring("") ]</code> |
57 | * |
58 | * @return |
59 | * <code>IDL: [out] [retval] Groups**</code> |
60 | */ |
61 | public com.moesol.bindings.microsoft.dao.Groups getGroups(); |
62 | |
63 | /** |
64 | * <code>IDL: [ helpstring("") ]</code> |
65 | * |
66 | * @param bstrOld |
67 | * <code>IDL: [in] BSTR</code> |
68 | * @param bstrNew |
69 | * <code>IDL: [in] BSTR</code> |
70 | */ |
71 | public void NewPassword( |
72 | /*[in]*/ String bstrOld, |
73 | /*[in]*/ String bstrNew); |
74 | |
75 | /** |
76 | * <code>IDL: [ helpstring("") ]</code> |
77 | * |
78 | * @param Name |
79 | * <code>IDL: [in] [optional] VARIANT</code> |
80 | * @param PID |
81 | * <code>IDL: [in] [optional] VARIANT</code> |
82 | * @return |
83 | * <code>IDL: [out] [retval] Group**</code> |
84 | */ |
85 | public com.moesol.bindings.microsoft.dao.Group CreateGroup( |
86 | /*[in]*/ Object Name, |
87 | /*[in]*/ Object PID); |
88 | |
89 | /** [optional=1] */ |
90 | public com.moesol.bindings.microsoft.dao.Group CreateGroup( |
91 | /*[in]*/ Object Name); |
92 | |
93 | /** [optional=2] */ |
94 | public com.moesol.bindings.microsoft.dao.Group CreateGroup(); |
95 | |
96 | |
97 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
98 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements _User { |
99 | |
100 | protected Jni () { |
101 | } |
102 | protected void internalOnSetInterface() { |
103 | MoeSolInternal.recordApartment(this); |
104 | } |
105 | |
106 | |
107 | private native String jni_getName(); |
108 | public String getName() { |
109 | |
110 | MoeSolInternal.checkApartment(this); |
111 | return jni_getName(); |
112 | } |
113 | |
114 | private native void jni_setName( |
115 | /*[in]*/ String p0); |
116 | public void setName( |
117 | /*[in]*/ String p0) { |
118 | |
119 | MoeSolInternal.checkApartment(this); |
120 | jni_setName(p0); |
121 | } |
122 | |
123 | private native void jni_setPID( |
124 | /*[in]*/ String p0); |
125 | public void setPID( |
126 | /*[in]*/ String p0) { |
127 | |
128 | MoeSolInternal.checkApartment(this); |
129 | jni_setPID(p0); |
130 | } |
131 | |
132 | private native void jni_setPassword( |
133 | /*[in]*/ String p0); |
134 | public void setPassword( |
135 | /*[in]*/ String p0) { |
136 | |
137 | MoeSolInternal.checkApartment(this); |
138 | jni_setPassword(p0); |
139 | } |
140 | |
141 | private native com.moesol.bindings.microsoft.dao.Groups jni_getGroups(); |
142 | public com.moesol.bindings.microsoft.dao.Groups getGroups() { |
143 | |
144 | MoeSolInternal.checkApartment(this); |
145 | return jni_getGroups(); |
146 | } |
147 | |
148 | private native void jni_NewPassword( |
149 | /*[in]*/ String p0, |
150 | /*[in]*/ String p1); |
151 | public void NewPassword( |
152 | /*[in]*/ String p0, |
153 | /*[in]*/ String p1) { |
154 | |
155 | MoeSolInternal.checkApartment(this); |
156 | jni_NewPassword(p0, p1); |
157 | } |
158 | |
159 | private native com.moesol.bindings.microsoft.dao.Group jni_CreateGroup( |
160 | /*[in]*/ Object p0, |
161 | /*[in]*/ Object p1); |
162 | public com.moesol.bindings.microsoft.dao.Group CreateGroup( |
163 | /*[in]*/ Object p0, |
164 | /*[in]*/ Object p1) { |
165 | |
166 | MoeSolInternal.checkApartment(this); |
167 | return jni_CreateGroup(p0, p1); |
168 | } |
169 | |
170 | /** [optional=1] */ |
171 | public com.moesol.bindings.microsoft.dao.Group CreateGroup( |
172 | /*[in]*/ Object p0) { |
173 | |
174 | return CreateGroup(p0, null); |
175 | } |
176 | /** [optional=2] */ |
177 | public com.moesol.bindings.microsoft.dao.Group CreateGroup() { |
178 | |
179 | return CreateGroup(null, null); |
180 | } |
181 | } |
182 | |
183 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
184 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
185 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
186 | return s_instance; |
187 | } |
188 | |
189 | private static Disp s_instance = new Disp(); |
190 | |
191 | protected Disp() { |
192 | addEntry(1610809344, (short)2, "getName", "()Ljava/lang/String;"); |
193 | addEntry(1610809344, (short)4, "setName", "(Ljava/lang/String;)V"); |
194 | addEntry(1610809346, (short)4, "setPID", "(Ljava/lang/String;)V"); |
195 | addEntry(1610809347, (short)4, "setPassword", "(Ljava/lang/String;)V"); |
196 | addEntry(0, (short)2, "getGroups", "()Lcom/moesol/bindings/microsoft/dao/Groups;"); |
197 | addEntry(1610809349, (short)1, "NewPassword", "(Ljava/lang/String;Ljava/lang/String;)V"); |
198 | addEntry(1610809350, (short)1, "CreateGroup", "(Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Group;"); |
199 | } |
200 | } |
201 | } |