1 | // tlb2java |
2 | package com.moesol.bindings.platform_sdk.data_services; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring("IReplica Interface"), dual, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface IReplica extends com.moesol.bindings.platform_sdk.component_services.IDispatch { |
9 | public static final Class TYPELIB = TYPELIB_AC3B8B4C_B6CA_11D1_9F31_00C04FC29D52.class; |
10 | /** |
11 | * <code>IDL: [uuid(D2D139E0-B6CA-11D1-9F31-00C04FC29D52)]</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 | 0xd2d139e0, (short)0xb6ca, (short)0x11d1, |
15 | new byte[] { |
16 | (byte)0x9f, (byte)0x31, |
17 | (byte)0x00, (byte)0xc0, (byte)0x4f, (byte)0xc2, (byte)0x9d, (byte)0x52 |
18 | } ); |
19 | |
20 | /** |
21 | * <code>IDL: [ helpstring("") ]</code> |
22 | * |
23 | * @param ppconn |
24 | * <code>IDL: [in] IDispatch*</code> |
25 | */ |
26 | public void setrefActiveConnection( |
27 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch ppconn); |
28 | |
29 | /** |
30 | * <code>IDL: [ helpstring("") ]</code> |
31 | * |
32 | * @param ppconn |
33 | * <code>IDL: [in] VARIANT</code> |
34 | */ |
35 | public void setActiveConnection( |
36 | /*[in]*/ Object ppconn); |
37 | |
38 | /** |
39 | * <code>IDL: [ helpstring("") ]</code> |
40 | * |
41 | * @return |
42 | * <code>IDL: [out] [retval] IDispatch**</code> |
43 | */ |
44 | public com.moesol.bindings.platform_sdk.component_services.IDispatch getActiveConnection(); |
45 | |
46 | /** |
47 | * <code>IDL: [ helpstring("") ]</code> |
48 | * |
49 | * @return |
50 | * <code>IDL: [out] [retval] BSTR*</code> |
51 | */ |
52 | public String getConflictFunction(); |
53 | |
54 | /** |
55 | * <code>IDL: [ helpstring("") ]</code> |
56 | * |
57 | * @param pbstr |
58 | * <code>IDL: [in] BSTR</code> |
59 | */ |
60 | public void setConflictFunction( |
61 | /*[in]*/ String pbstr); |
62 | |
63 | /** |
64 | * <code>IDL: [ helpstring("") ]</code> |
65 | * |
66 | * @return |
67 | * <code>IDL: [out] [retval] _Recordset**</code> |
68 | */ |
69 | public com.moesol.bindings.platform_sdk.data_services._Recordset getConflictTables(); |
70 | |
71 | /** |
72 | * <code>IDL: [ helpstring("") ]</code> |
73 | * |
74 | * @return |
75 | * <code>IDL: [out] [retval] VARIANT*</code> |
76 | */ |
77 | public Object getDesignMasterId(); |
78 | |
79 | /** |
80 | * <code>IDL: [ helpstring("") ]</code> |
81 | * |
82 | * @param pvar |
83 | * <code>IDL: [in] VARIANT</code> |
84 | */ |
85 | public void setDesignMasterId( |
86 | /*[in]*/ Object pvar); |
87 | |
88 | /** |
89 | * <code>IDL: [ helpstring("") ]</code> |
90 | * |
91 | * @return |
92 | * <code>IDL: [out] [retval] LONG*</code> |
93 | */ |
94 | public int getPriority(); |
95 | |
96 | /** |
97 | * <code>IDL: [ helpstring("") ]</code> |
98 | * |
99 | * @return |
100 | * <code>IDL: [out] [retval] VARIANT*</code> |
101 | */ |
102 | public Object getReplicaId(); |
103 | |
104 | /** |
105 | * <code>IDL: [ helpstring("") ]</code> |
106 | * |
107 | * @return |
108 | * <code>IDL: [out] [retval] ReplicaTypeEnum*</code> |
109 | */ |
110 | public int getReplicaType(); |
111 | |
112 | /** |
113 | * <code>IDL: [ helpstring("") ]</code> |
114 | * |
115 | * @return |
116 | * <code>IDL: [out] [retval] LONG*</code> |
117 | */ |
118 | public int getRetentionPeriod(); |
119 | |
120 | /** |
121 | * <code>IDL: [ helpstring("") ]</code> |
122 | * |
123 | * @param pl |
124 | * <code>IDL: [in] LONG</code> |
125 | */ |
126 | public void setRetentionPeriod( |
127 | /*[in]*/ int pl); |
128 | |
129 | /** |
130 | * <code>IDL: [ helpstring("") ]</code> |
131 | * |
132 | * @return |
133 | * <code>IDL: [out] [retval] VisibilityEnum*</code> |
134 | */ |
135 | public int getVisibility(); |
136 | |
137 | /** |
138 | * <code>IDL: [ helpstring("") ]</code> |
139 | * |
140 | * @param replicaName |
141 | * <code>IDL: [in] BSTR</code> |
142 | * @param description |
143 | * <code>IDL: [in] BSTR</code> |
144 | * @param ReplicaType |
145 | * <code>IDL: [in] [optional] [default] ReplicaTypeEnum</code> |
146 | * @param Visibility |
147 | * <code>IDL: [in] [optional] [default] VisibilityEnum</code> |
148 | * @param Priority |
149 | * <code>IDL: [in] [optional] [default] LONG</code> |
150 | * @param updatability |
151 | * <code>IDL: [in] [optional] [default] UpdatabilityEnum</code> |
152 | */ |
153 | public void CreateReplica( |
154 | /*[in]*/ String replicaName, |
155 | /*[in]*/ String description, |
156 | /*[in]*/ int ReplicaType, |
157 | /*[in]*/ int Visibility, |
158 | /*[in]*/ int Priority, |
159 | /*[in]*/ int updatability); |
160 | |
161 | /** |
162 | * <code>IDL: [ helpstring("") ]</code> |
163 | * |
164 | * @param objectName |
165 | * <code>IDL: [in] BSTR</code> |
166 | * @param objectType |
167 | * <code>IDL: [in] BSTR</code> |
168 | * @return |
169 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
170 | */ |
171 | public boolean GetObjectReplicability( |
172 | /*[in]*/ String objectName, |
173 | /*[in]*/ String objectType); |
174 | |
175 | /** |
176 | * <code>IDL: [ helpstring("") ]</code> |
177 | * |
178 | * @param objectName |
179 | * <code>IDL: [in] BSTR</code> |
180 | * @param objectType |
181 | * <code>IDL: [in] BSTR</code> |
182 | * @param replicability |
183 | * <code>IDL: [in] VARIANT_BOOL</code> |
184 | */ |
185 | public void SetObjectReplicability( |
186 | /*[in]*/ String objectName, |
187 | /*[in]*/ String objectType, |
188 | /*[in]*/ boolean replicability); |
189 | |
190 | /** |
191 | * <code>IDL: [ helpstring("") ]</code> |
192 | * |
193 | * @param connectionString |
194 | * <code>IDL: [in] [optional] [default] BSTR</code> |
195 | * @param columnTracking |
196 | * <code>IDL: [in] [optional] [default] VARIANT_BOOL</code> |
197 | */ |
198 | public void MakeReplicable( |
199 | /*[in]*/ String connectionString, |
200 | /*[in]*/ boolean columnTracking); |
201 | |
202 | /** |
203 | * <code>IDL: [ helpstring("") ]</code> |
204 | * |
205 | * @param FullReplica |
206 | * <code>IDL: [in] BSTR</code> |
207 | */ |
208 | public void PopulatePartial( |
209 | /*[in]*/ String FullReplica); |
210 | |
211 | /** |
212 | * <code>IDL: [ helpstring("") ]</code> |
213 | * |
214 | * @param target |
215 | * <code>IDL: [in] BSTR</code> |
216 | * @param syncType |
217 | * <code>IDL: [in] [optional] [default] SyncTypeEnum</code> |
218 | * @param syncMode |
219 | * <code>IDL: [in] [optional] [default] SyncModeEnum</code> |
220 | */ |
221 | public void Synchronize( |
222 | /*[in]*/ String target, |
223 | /*[in]*/ int syncType, |
224 | /*[in]*/ int syncMode); |
225 | |
226 | /** |
227 | * <code>IDL: [ helpstring("") ]</code> |
228 | * |
229 | * @return |
230 | * <code>IDL: [out] [retval] Filters**</code> |
231 | */ |
232 | public com.moesol.bindings.platform_sdk.data_services.Filters getFilters(); |
233 | |
234 | |
235 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
236 | public static class Jni extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Jni implements IReplica { |
237 | |
238 | protected Jni () { |
239 | } |
240 | |
241 | |
242 | private native void jni_setrefActiveConnection( |
243 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0); |
244 | public void setrefActiveConnection( |
245 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0) { |
246 | |
247 | jni_setrefActiveConnection(p0); |
248 | } |
249 | |
250 | private native void jni_setActiveConnection( |
251 | /*[in]*/ Object p0); |
252 | public void setActiveConnection( |
253 | /*[in]*/ Object p0) { |
254 | |
255 | jni_setActiveConnection(p0); |
256 | } |
257 | |
258 | private native com.moesol.bindings.platform_sdk.component_services.IDispatch jni_getActiveConnection(); |
259 | public com.moesol.bindings.platform_sdk.component_services.IDispatch getActiveConnection() { |
260 | |
261 | return jni_getActiveConnection(); |
262 | } |
263 | |
264 | private native String jni_getConflictFunction(); |
265 | public String getConflictFunction() { |
266 | |
267 | return jni_getConflictFunction(); |
268 | } |
269 | |
270 | private native void jni_setConflictFunction( |
271 | /*[in]*/ String p0); |
272 | public void setConflictFunction( |
273 | /*[in]*/ String p0) { |
274 | |
275 | jni_setConflictFunction(p0); |
276 | } |
277 | |
278 | private native com.moesol.bindings.platform_sdk.data_services._Recordset jni_getConflictTables(); |
279 | public com.moesol.bindings.platform_sdk.data_services._Recordset getConflictTables() { |
280 | |
281 | return jni_getConflictTables(); |
282 | } |
283 | |
284 | private native Object jni_getDesignMasterId(); |
285 | public Object getDesignMasterId() { |
286 | |
287 | return jni_getDesignMasterId(); |
288 | } |
289 | |
290 | private native void jni_setDesignMasterId( |
291 | /*[in]*/ Object p0); |
292 | public void setDesignMasterId( |
293 | /*[in]*/ Object p0) { |
294 | |
295 | jni_setDesignMasterId(p0); |
296 | } |
297 | |
298 | private native int jni_getPriority(); |
299 | public int getPriority() { |
300 | |
301 | return jni_getPriority(); |
302 | } |
303 | |
304 | private native Object jni_getReplicaId(); |
305 | public Object getReplicaId() { |
306 | |
307 | return jni_getReplicaId(); |
308 | } |
309 | |
310 | private native int jni_getReplicaType(); |
311 | public int getReplicaType() { |
312 | |
313 | return jni_getReplicaType(); |
314 | } |
315 | |
316 | private native int jni_getRetentionPeriod(); |
317 | public int getRetentionPeriod() { |
318 | |
319 | return jni_getRetentionPeriod(); |
320 | } |
321 | |
322 | private native void jni_setRetentionPeriod( |
323 | /*[in]*/ int p0); |
324 | public void setRetentionPeriod( |
325 | /*[in]*/ int p0) { |
326 | |
327 | jni_setRetentionPeriod(p0); |
328 | } |
329 | |
330 | private native int jni_getVisibility(); |
331 | public int getVisibility() { |
332 | |
333 | return jni_getVisibility(); |
334 | } |
335 | |
336 | private native void jni_CreateReplica( |
337 | /*[in]*/ String p0, |
338 | /*[in]*/ String p1, |
339 | /*[in]*/ int p2, |
340 | /*[in]*/ int p3, |
341 | /*[in]*/ int p4, |
342 | /*[in]*/ int p5); |
343 | public void CreateReplica( |
344 | /*[in]*/ String p0, |
345 | /*[in]*/ String p1, |
346 | /*[in]*/ int p2, |
347 | /*[in]*/ int p3, |
348 | /*[in]*/ int p4, |
349 | /*[in]*/ int p5) { |
350 | |
351 | jni_CreateReplica(p0, p1, p2, p3, p4, p5); |
352 | } |
353 | |
354 | private native boolean jni_GetObjectReplicability( |
355 | /*[in]*/ String p0, |
356 | /*[in]*/ String p1); |
357 | public boolean GetObjectReplicability( |
358 | /*[in]*/ String p0, |
359 | /*[in]*/ String p1) { |
360 | |
361 | return jni_GetObjectReplicability(p0, p1); |
362 | } |
363 | |
364 | private native void jni_SetObjectReplicability( |
365 | /*[in]*/ String p0, |
366 | /*[in]*/ String p1, |
367 | /*[in]*/ boolean p2); |
368 | public void SetObjectReplicability( |
369 | /*[in]*/ String p0, |
370 | /*[in]*/ String p1, |
371 | /*[in]*/ boolean p2) { |
372 | |
373 | jni_SetObjectReplicability(p0, p1, p2); |
374 | } |
375 | |
376 | private native void jni_MakeReplicable( |
377 | /*[in]*/ String p0, |
378 | /*[in]*/ boolean p1); |
379 | public void MakeReplicable( |
380 | /*[in]*/ String p0, |
381 | /*[in]*/ boolean p1) { |
382 | |
383 | jni_MakeReplicable(p0, p1); |
384 | } |
385 | |
386 | private native void jni_PopulatePartial( |
387 | /*[in]*/ String p0); |
388 | public void PopulatePartial( |
389 | /*[in]*/ String p0) { |
390 | |
391 | jni_PopulatePartial(p0); |
392 | } |
393 | |
394 | private native void jni_Synchronize( |
395 | /*[in]*/ String p0, |
396 | /*[in]*/ int p1, |
397 | /*[in]*/ int p2); |
398 | public void Synchronize( |
399 | /*[in]*/ String p0, |
400 | /*[in]*/ int p1, |
401 | /*[in]*/ int p2) { |
402 | |
403 | jni_Synchronize(p0, p1, p2); |
404 | } |
405 | |
406 | private native com.moesol.bindings.platform_sdk.data_services.Filters jni_getFilters(); |
407 | public com.moesol.bindings.platform_sdk.data_services.Filters getFilters() { |
408 | |
409 | return jni_getFilters(); |
410 | } |
411 | |
412 | } |
413 | |
414 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
415 | public static class Disp extends com.moesol.bindings.platform_sdk.component_services.IDispatch.Disp { |
416 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
417 | return s_instance; |
418 | } |
419 | |
420 | private static Disp s_instance = new Disp(); |
421 | |
422 | protected Disp() { |
423 | addEntry(1610743808, (short)8, "setrefActiveConnection", "(Lcom/moesol/bindings/platform_sdk/component_services/IDispatch;)V"); |
424 | addEntry(1610743808, (short)4, "setActiveConnection", "(Ljava/lang/Object;)V"); |
425 | addEntry(1610743808, (short)2, "getActiveConnection", "()Lcom/moesol/bindings/platform_sdk/component_services/IDispatch;"); |
426 | addEntry(1610743811, (short)2, "getConflictFunction", "()Ljava/lang/String;"); |
427 | addEntry(1610743811, (short)4, "setConflictFunction", "(Ljava/lang/String;)V"); |
428 | addEntry(1610743813, (short)2, "getConflictTables", "()Lcom/moesol/bindings/platform_sdk/data_services/_Recordset;"); |
429 | addEntry(1610743814, (short)2, "getDesignMasterId", "()Ljava/lang/Object;"); |
430 | addEntry(1610743814, (short)4, "setDesignMasterId", "(Ljava/lang/Object;)V"); |
431 | addEntry(1610743816, (short)2, "getPriority", "()I"); |
432 | addEntry(1610743817, (short)2, "getReplicaId", "()Ljava/lang/Object;"); |
433 | addEntry(1610743818, (short)2, "getReplicaType", "()I"); |
434 | addEntry(1610743819, (short)2, "getRetentionPeriod", "()I"); |
435 | addEntry(1610743819, (short)4, "setRetentionPeriod", "(I)V"); |
436 | addEntry(1610743821, (short)2, "getVisibility", "()I"); |
437 | addEntry(1610743822, (short)1, "CreateReplica", "(Ljava/lang/String;Ljava/lang/String;IIII)V"); |
438 | addEntry(1610743823, (short)1, "GetObjectReplicability", "(Ljava/lang/String;Ljava/lang/String;)Z"); |
439 | addEntry(1610743824, (short)1, "SetObjectReplicability", "(Ljava/lang/String;Ljava/lang/String;Z)V"); |
440 | addEntry(1610743825, (short)1, "MakeReplicable", "(Ljava/lang/String;Z)V"); |
441 | addEntry(1610743826, (short)1, "PopulatePartial", "(Ljava/lang/String;)V"); |
442 | addEntry(1610743827, (short)1, "Synchronize", "(Ljava/lang/String;II)V"); |
443 | addEntry(1610743828, (short)2, "getFilters", "()Lcom/moesol/bindings/platform_sdk/data_services/Filters;"); |
444 | } |
445 | } |
446 | } |