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 Document 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(00000099-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 | 0x00000099, (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 | * @return |
32 | * <code>IDL: [out] [retval] BSTR*</code> |
33 | */ |
34 | public String getOwner(); |
35 | |
36 | /** |
37 | * <code>IDL: [ helpstring("") ]</code> |
38 | * |
39 | * @param pbstr |
40 | * <code>IDL: [in] BSTR</code> |
41 | */ |
42 | public void setOwner( |
43 | /*[in]*/ String pbstr); |
44 | |
45 | /** |
46 | * <code>IDL: [ helpstring("") ]</code> |
47 | * |
48 | * @return |
49 | * <code>IDL: [out] [retval] BSTR*</code> |
50 | */ |
51 | public String getContainer(); |
52 | |
53 | /** |
54 | * <code>IDL: [ helpstring("") ]</code> |
55 | * |
56 | * @return |
57 | * <code>IDL: [out] [retval] BSTR*</code> |
58 | */ |
59 | public String getUserName(); |
60 | |
61 | /** |
62 | * <code>IDL: [ helpstring("") ]</code> |
63 | * |
64 | * @param pbstr |
65 | * <code>IDL: [in] BSTR</code> |
66 | */ |
67 | public void setUserName( |
68 | /*[in]*/ String pbstr); |
69 | |
70 | /** |
71 | * <code>IDL: [ helpstring("") ]</code> |
72 | * |
73 | * @return |
74 | * <code>IDL: [out] [retval] LONG*</code> |
75 | */ |
76 | public int getPermissions(); |
77 | |
78 | /** |
79 | * <code>IDL: [ helpstring("") ]</code> |
80 | * |
81 | * @param pl |
82 | * <code>IDL: [in] LONG</code> |
83 | */ |
84 | public void setPermissions( |
85 | /*[in]*/ int pl); |
86 | |
87 | /** |
88 | * <code>IDL: [ helpstring("") ]</code> |
89 | * |
90 | * @return |
91 | * <code>IDL: [out] [retval] VARIANT*</code> |
92 | */ |
93 | public Object getDateCreated(); |
94 | |
95 | /** |
96 | * <code>IDL: [ helpstring("") ]</code> |
97 | * |
98 | * @return |
99 | * <code>IDL: [out] [retval] VARIANT*</code> |
100 | */ |
101 | public Object getLastUpdated(); |
102 | |
103 | /** |
104 | * <code>IDL: [ helpstring("") ]</code> |
105 | * |
106 | * @return |
107 | * <code>IDL: [out] [retval] LONG*</code> |
108 | */ |
109 | public int getAllPermissions(); |
110 | |
111 | /** |
112 | * <code>IDL: [ helpstring("") ]</code> |
113 | * |
114 | * @param Name |
115 | * <code>IDL: [in] [optional] VARIANT</code> |
116 | * @param Type |
117 | * <code>IDL: [in] [optional] VARIANT</code> |
118 | * @param Value |
119 | * <code>IDL: [in] [optional] VARIANT</code> |
120 | * @param DDL |
121 | * <code>IDL: [in] [optional] VARIANT</code> |
122 | * @return |
123 | * <code>IDL: [out] [retval] Property**</code> |
124 | */ |
125 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
126 | /*[in]*/ Object Name, |
127 | /*[in]*/ Object Type, |
128 | /*[in]*/ Object Value, |
129 | /*[in]*/ Object DDL); |
130 | |
131 | /** [optional=1] */ |
132 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
133 | /*[in]*/ Object Name, |
134 | /*[in]*/ Object Type, |
135 | /*[in]*/ Object Value); |
136 | |
137 | /** [optional=2] */ |
138 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
139 | /*[in]*/ Object Name, |
140 | /*[in]*/ Object Type); |
141 | |
142 | /** [optional=3] */ |
143 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
144 | /*[in]*/ Object Name); |
145 | |
146 | /** [optional=4] */ |
147 | public com.moesol.bindings.microsoft.dao.Property CreateProperty(); |
148 | |
149 | |
150 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
151 | public static class Jni extends com.moesol.bindings.microsoft.dao._DAO.Jni implements Document { |
152 | |
153 | protected Jni () { |
154 | } |
155 | protected void internalOnSetInterface() { |
156 | MoeSolInternal.recordApartment(this); |
157 | } |
158 | |
159 | |
160 | private native String jni_getName(); |
161 | public String getName() { |
162 | |
163 | MoeSolInternal.checkApartment(this); |
164 | return jni_getName(); |
165 | } |
166 | |
167 | private native String jni_getOwner(); |
168 | public String getOwner() { |
169 | |
170 | MoeSolInternal.checkApartment(this); |
171 | return jni_getOwner(); |
172 | } |
173 | |
174 | private native void jni_setOwner( |
175 | /*[in]*/ String p0); |
176 | public void setOwner( |
177 | /*[in]*/ String p0) { |
178 | |
179 | MoeSolInternal.checkApartment(this); |
180 | jni_setOwner(p0); |
181 | } |
182 | |
183 | private native String jni_getContainer(); |
184 | public String getContainer() { |
185 | |
186 | MoeSolInternal.checkApartment(this); |
187 | return jni_getContainer(); |
188 | } |
189 | |
190 | private native String jni_getUserName(); |
191 | public String getUserName() { |
192 | |
193 | MoeSolInternal.checkApartment(this); |
194 | return jni_getUserName(); |
195 | } |
196 | |
197 | private native void jni_setUserName( |
198 | /*[in]*/ String p0); |
199 | public void setUserName( |
200 | /*[in]*/ String p0) { |
201 | |
202 | MoeSolInternal.checkApartment(this); |
203 | jni_setUserName(p0); |
204 | } |
205 | |
206 | private native int jni_getPermissions(); |
207 | public int getPermissions() { |
208 | |
209 | MoeSolInternal.checkApartment(this); |
210 | return jni_getPermissions(); |
211 | } |
212 | |
213 | private native void jni_setPermissions( |
214 | /*[in]*/ int p0); |
215 | public void setPermissions( |
216 | /*[in]*/ int p0) { |
217 | |
218 | MoeSolInternal.checkApartment(this); |
219 | jni_setPermissions(p0); |
220 | } |
221 | |
222 | private native Object jni_getDateCreated(); |
223 | public Object getDateCreated() { |
224 | |
225 | MoeSolInternal.checkApartment(this); |
226 | return jni_getDateCreated(); |
227 | } |
228 | |
229 | private native Object jni_getLastUpdated(); |
230 | public Object getLastUpdated() { |
231 | |
232 | MoeSolInternal.checkApartment(this); |
233 | return jni_getLastUpdated(); |
234 | } |
235 | |
236 | private native int jni_getAllPermissions(); |
237 | public int getAllPermissions() { |
238 | |
239 | MoeSolInternal.checkApartment(this); |
240 | return jni_getAllPermissions(); |
241 | } |
242 | |
243 | private native com.moesol.bindings.microsoft.dao.Property jni_CreateProperty( |
244 | /*[in]*/ Object p0, |
245 | /*[in]*/ Object p1, |
246 | /*[in]*/ Object p2, |
247 | /*[in]*/ Object p3); |
248 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
249 | /*[in]*/ Object p0, |
250 | /*[in]*/ Object p1, |
251 | /*[in]*/ Object p2, |
252 | /*[in]*/ Object p3) { |
253 | |
254 | MoeSolInternal.checkApartment(this); |
255 | return jni_CreateProperty(p0, p1, p2, p3); |
256 | } |
257 | |
258 | /** [optional=1] */ |
259 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
260 | /*[in]*/ Object p0, |
261 | /*[in]*/ Object p1, |
262 | /*[in]*/ Object p2) { |
263 | |
264 | return CreateProperty(p0, p1, p2, null); |
265 | } |
266 | /** [optional=2] */ |
267 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
268 | /*[in]*/ Object p0, |
269 | /*[in]*/ Object p1) { |
270 | |
271 | return CreateProperty(p0, p1, null, null); |
272 | } |
273 | /** [optional=3] */ |
274 | public com.moesol.bindings.microsoft.dao.Property CreateProperty( |
275 | /*[in]*/ Object p0) { |
276 | |
277 | return CreateProperty(p0, null, null, null); |
278 | } |
279 | /** [optional=4] */ |
280 | public com.moesol.bindings.microsoft.dao.Property CreateProperty() { |
281 | |
282 | return CreateProperty(null, null, null, null); |
283 | } |
284 | } |
285 | |
286 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
287 | public static class Disp extends com.moesol.bindings.microsoft.dao._DAO.Disp { |
288 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
289 | return s_instance; |
290 | } |
291 | |
292 | private static Disp s_instance = new Disp(); |
293 | |
294 | protected Disp() { |
295 | addEntry(1610809344, (short)2, "getName", "()Ljava/lang/String;"); |
296 | addEntry(1610809345, (short)2, "getOwner", "()Ljava/lang/String;"); |
297 | addEntry(1610809345, (short)4, "setOwner", "(Ljava/lang/String;)V"); |
298 | addEntry(1610809347, (short)2, "getContainer", "()Ljava/lang/String;"); |
299 | addEntry(1610809348, (short)2, "getUserName", "()Ljava/lang/String;"); |
300 | addEntry(1610809348, (short)4, "setUserName", "(Ljava/lang/String;)V"); |
301 | addEntry(1610809350, (short)2, "getPermissions", "()I"); |
302 | addEntry(1610809350, (short)4, "setPermissions", "(I)V"); |
303 | addEntry(1610809352, (short)2, "getDateCreated", "()Ljava/lang/Object;"); |
304 | addEntry(1610809353, (short)2, "getLastUpdated", "()Ljava/lang/Object;"); |
305 | addEntry(1610809354, (short)2, "getAllPermissions", "()I"); |
306 | addEntry(1610809355, (short)1, "CreateProperty", "(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/moesol/bindings/microsoft/dao/Property;"); |
307 | } |
308 | } |
309 | } |