1 | // tlb2java |
2 | package com.moesol.bindings.platform_sdk.data_services; |
3 | |
4 | |
5 | /** |
6 | * <code>IDL: [ helpstring(""), hidden, dual, nonextensible, oleautomation, dispatchable ] interface</code> |
7 | */ |
8 | public interface Recordset15 extends com.moesol.bindings.platform_sdk.data_services._ADO { |
9 | public static final Class TYPELIB = TYPELIB_2A75196C_D9EB_4129_B803_931327F72D5C.class; |
10 | /** |
11 | * <code>IDL: [uuid(0000050E-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 | 0x0000050e, (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] PositionEnum*</code> |
25 | */ |
26 | public int getAbsolutePosition(); |
27 | |
28 | /** |
29 | * <code>IDL: [ helpstring("") ]</code> |
30 | * |
31 | * @param pl |
32 | * <code>IDL: [in] PositionEnum</code> |
33 | */ |
34 | public void setAbsolutePosition( |
35 | /*[in]*/ int pl); |
36 | |
37 | /** |
38 | * <code>IDL: [ helpstring("") ]</code> |
39 | * |
40 | * @param pvar |
41 | * <code>IDL: [in] IDispatch*</code> |
42 | */ |
43 | public void setrefActiveConnection( |
44 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch pvar); |
45 | |
46 | /** |
47 | * <code>IDL: [ helpstring("") ]</code> |
48 | * |
49 | * @param pvar |
50 | * <code>IDL: [in] VARIANT</code> |
51 | */ |
52 | public void setActiveConnection( |
53 | /*[in]*/ Object pvar); |
54 | |
55 | /** |
56 | * <code>IDL: [ helpstring("") ]</code> |
57 | * |
58 | * @return |
59 | * <code>IDL: [out] [retval] VARIANT*</code> |
60 | */ |
61 | public Object getActiveConnection(); |
62 | |
63 | /** |
64 | * <code>IDL: [ helpstring("") ]</code> |
65 | * |
66 | * @return |
67 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
68 | */ |
69 | public boolean getBOF(); |
70 | |
71 | /** |
72 | * <code>IDL: [ helpstring("") ]</code> |
73 | * |
74 | * @return |
75 | * <code>IDL: [out] [retval] VARIANT*</code> |
76 | */ |
77 | public Object getBookmark(); |
78 | |
79 | /** |
80 | * <code>IDL: [ helpstring("") ]</code> |
81 | * |
82 | * @param pvBookmark |
83 | * <code>IDL: [in] VARIANT</code> |
84 | */ |
85 | public void setBookmark( |
86 | /*[in]*/ Object pvBookmark); |
87 | |
88 | /** |
89 | * <code>IDL: [ helpstring("") ]</code> |
90 | * |
91 | * @return |
92 | * <code>IDL: [out] [retval] LONG*</code> |
93 | */ |
94 | public int getCacheSize(); |
95 | |
96 | /** |
97 | * <code>IDL: [ helpstring("") ]</code> |
98 | * |
99 | * @param pl |
100 | * <code>IDL: [in] LONG</code> |
101 | */ |
102 | public void setCacheSize( |
103 | /*[in]*/ int pl); |
104 | |
105 | /** |
106 | * <code>IDL: [ helpstring("") ]</code> |
107 | * |
108 | * @return |
109 | * <code>IDL: [out] [retval] CursorTypeEnum*</code> |
110 | */ |
111 | public int getCursorType(); |
112 | |
113 | /** |
114 | * <code>IDL: [ helpstring("") ]</code> |
115 | * |
116 | * @param plCursorType |
117 | * <code>IDL: [in] CursorTypeEnum</code> |
118 | */ |
119 | public void setCursorType( |
120 | /*[in]*/ int plCursorType); |
121 | |
122 | /** |
123 | * <code>IDL: [ helpstring("") ]</code> |
124 | * |
125 | * @return |
126 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
127 | */ |
128 | public boolean getEOF(); |
129 | |
130 | /** |
131 | * <code>IDL: [ helpstring("") ]</code> |
132 | * |
133 | * @return |
134 | * <code>IDL: [out] [retval] Fields**</code> |
135 | */ |
136 | public com.moesol.bindings.platform_sdk.data_services.Fields getFields(); |
137 | |
138 | /** |
139 | * <code>IDL: [ helpstring("") ]</code> |
140 | * |
141 | * @return |
142 | * <code>IDL: [out] [retval] LockTypeEnum*</code> |
143 | */ |
144 | public int getLockType(); |
145 | |
146 | /** |
147 | * <code>IDL: [ helpstring("") ]</code> |
148 | * |
149 | * @param plLockType |
150 | * <code>IDL: [in] LockTypeEnum</code> |
151 | */ |
152 | public void setLockType( |
153 | /*[in]*/ int plLockType); |
154 | |
155 | /** |
156 | * <code>IDL: [ helpstring("") ]</code> |
157 | * |
158 | * @return |
159 | * <code>IDL: [out] [retval] LONG*</code> |
160 | */ |
161 | public int getMaxRecords(); |
162 | |
163 | /** |
164 | * <code>IDL: [ helpstring("") ]</code> |
165 | * |
166 | * @param plMaxRecords |
167 | * <code>IDL: [in] LONG</code> |
168 | */ |
169 | public void setMaxRecords( |
170 | /*[in]*/ int plMaxRecords); |
171 | |
172 | /** |
173 | * <code>IDL: [ helpstring("") ]</code> |
174 | * |
175 | * @return |
176 | * <code>IDL: [out] [retval] LONG*</code> |
177 | */ |
178 | public int getRecordCount(); |
179 | |
180 | /** |
181 | * <code>IDL: [ helpstring("") ]</code> |
182 | * |
183 | * @param pvSource |
184 | * <code>IDL: [in] IDispatch*</code> |
185 | */ |
186 | public void setrefSource( |
187 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch pvSource); |
188 | |
189 | /** |
190 | * <code>IDL: [ helpstring("") ]</code> |
191 | * |
192 | * @param pvSource |
193 | * <code>IDL: [in] BSTR</code> |
194 | */ |
195 | public void setSource( |
196 | /*[in]*/ String pvSource); |
197 | |
198 | /** |
199 | * <code>IDL: [ helpstring("") ]</code> |
200 | * |
201 | * @return |
202 | * <code>IDL: [out] [retval] VARIANT*</code> |
203 | */ |
204 | public Object getSource(); |
205 | |
206 | /** |
207 | * <code>IDL: [ helpstring("") ]</code> |
208 | * |
209 | * @param FieldList |
210 | * <code>IDL: [in] [optional] VARIANT</code> |
211 | * @param Values |
212 | * <code>IDL: [in] [optional] VARIANT</code> |
213 | */ |
214 | public void AddNew( |
215 | /*[in]*/ Object FieldList, |
216 | /*[in]*/ Object Values); |
217 | |
218 | /** [optional=1] */ |
219 | public void AddNew( |
220 | /*[in]*/ Object FieldList); |
221 | |
222 | /** [optional=2] */ |
223 | public void AddNew(); |
224 | |
225 | /** |
226 | * <code>IDL: [ helpstring("") ]</code> |
227 | * |
228 | */ |
229 | public void CancelUpdate(); |
230 | |
231 | /** |
232 | * <code>IDL: [ helpstring("") ]</code> |
233 | * |
234 | */ |
235 | public void Close(); |
236 | |
237 | /** |
238 | * <code>IDL: [ helpstring("") ]</code> |
239 | * |
240 | * @param AffectRecords |
241 | * <code>IDL: [in] [optional] [default] AffectEnum</code> |
242 | */ |
243 | public void Delete( |
244 | /*[in]*/ int AffectRecords); |
245 | |
246 | /** |
247 | * <code>IDL: [ helpstring("") ]</code> |
248 | * |
249 | * @param Rows |
250 | * <code>IDL: [in] [optional] [default] LONG</code> |
251 | * @param Start |
252 | * <code>IDL: [in] [optional] VARIANT</code> |
253 | * @param Fields |
254 | * <code>IDL: [in] [optional] VARIANT</code> |
255 | * @return |
256 | * <code>IDL: [out] [retval] VARIANT*</code> |
257 | */ |
258 | public Object GetRows( |
259 | /*[in]*/ int Rows, |
260 | /*[in]*/ Object Start, |
261 | /*[in]*/ Object Fields); |
262 | |
263 | /** [optional=1] */ |
264 | public Object GetRows( |
265 | /*[in]*/ int Rows, |
266 | /*[in]*/ Object Start); |
267 | |
268 | /** [optional=2] */ |
269 | public Object GetRows( |
270 | /*[in]*/ int Rows); |
271 | |
272 | /** |
273 | * <code>IDL: [ helpstring("") ]</code> |
274 | * |
275 | * @param NumRecords |
276 | * <code>IDL: [in] LONG</code> |
277 | * @param Start |
278 | * <code>IDL: [in] [optional] VARIANT</code> |
279 | */ |
280 | public void Move( |
281 | /*[in]*/ int NumRecords, |
282 | /*[in]*/ Object Start); |
283 | |
284 | /** [optional=1] */ |
285 | public void Move( |
286 | /*[in]*/ int NumRecords); |
287 | |
288 | /** |
289 | * <code>IDL: [ helpstring("") ]</code> |
290 | * |
291 | */ |
292 | public void MoveNext(); |
293 | |
294 | /** |
295 | * <code>IDL: [ helpstring("") ]</code> |
296 | * |
297 | */ |
298 | public void MovePrevious(); |
299 | |
300 | /** |
301 | * <code>IDL: [ helpstring("") ]</code> |
302 | * |
303 | */ |
304 | public void MoveFirst(); |
305 | |
306 | /** |
307 | * <code>IDL: [ helpstring("") ]</code> |
308 | * |
309 | */ |
310 | public void MoveLast(); |
311 | |
312 | /** |
313 | * <code>IDL: [ helpstring("") ]</code> |
314 | * |
315 | * @param Source |
316 | * <code>IDL: [in] [optional] VARIANT</code> |
317 | * @param ActiveConnection |
318 | * <code>IDL: [in] [optional] VARIANT</code> |
319 | * @param CursorType |
320 | * <code>IDL: [in] [optional] [default] CursorTypeEnum</code> |
321 | * @param LockType |
322 | * <code>IDL: [in] [optional] [default] LockTypeEnum</code> |
323 | * @param Options |
324 | * <code>IDL: [in] [optional] [default] LONG</code> |
325 | */ |
326 | public void Open( |
327 | /*[in]*/ Object Source, |
328 | /*[in]*/ Object ActiveConnection, |
329 | /*[in]*/ int CursorType, |
330 | /*[in]*/ int LockType, |
331 | /*[in]*/ int Options); |
332 | |
333 | /** |
334 | * <code>IDL: [ helpstring("") ]</code> |
335 | * |
336 | * @param Options |
337 | * <code>IDL: [in] [optional] [default] LONG</code> |
338 | */ |
339 | public void Requery( |
340 | /*[in]*/ int Options); |
341 | |
342 | /** |
343 | * <code>IDL: [ helpstring("") ]</code> |
344 | * |
345 | * @param AffectRecords |
346 | * <code>IDL: [in] [optional] [default] AffectEnum</code> |
347 | */ |
348 | public void _xResync( |
349 | /*[in]*/ int AffectRecords); |
350 | |
351 | /** |
352 | * <code>IDL: [ helpstring("") ]</code> |
353 | * |
354 | * @param Fields |
355 | * <code>IDL: [in] [optional] VARIANT</code> |
356 | * @param Values |
357 | * <code>IDL: [in] [optional] VARIANT</code> |
358 | */ |
359 | public void Update( |
360 | /*[in]*/ Object Fields, |
361 | /*[in]*/ Object Values); |
362 | |
363 | /** [optional=1] */ |
364 | public void Update( |
365 | /*[in]*/ Object Fields); |
366 | |
367 | /** [optional=2] */ |
368 | public void Update(); |
369 | |
370 | /** |
371 | * <code>IDL: [ helpstring("") ]</code> |
372 | * |
373 | * @return |
374 | * <code>IDL: [out] [retval] PositionEnum*</code> |
375 | */ |
376 | public int getAbsolutePage(); |
377 | |
378 | /** |
379 | * <code>IDL: [ helpstring("") ]</code> |
380 | * |
381 | * @param pl |
382 | * <code>IDL: [in] PositionEnum</code> |
383 | */ |
384 | public void setAbsolutePage( |
385 | /*[in]*/ int pl); |
386 | |
387 | /** |
388 | * <code>IDL: [ helpstring("") ]</code> |
389 | * |
390 | * @return |
391 | * <code>IDL: [out] [retval] EditModeEnum*</code> |
392 | */ |
393 | public int getEditMode(); |
394 | |
395 | /** |
396 | * <code>IDL: [ helpstring("") ]</code> |
397 | * |
398 | * @return |
399 | * <code>IDL: [out] [retval] VARIANT*</code> |
400 | */ |
401 | public Object getFilter(); |
402 | |
403 | /** |
404 | * <code>IDL: [ helpstring("") ]</code> |
405 | * |
406 | * @param Criteria |
407 | * <code>IDL: [in] VARIANT</code> |
408 | */ |
409 | public void setFilter( |
410 | /*[in]*/ Object Criteria); |
411 | |
412 | /** |
413 | * <code>IDL: [ helpstring("") ]</code> |
414 | * |
415 | * @return |
416 | * <code>IDL: [out] [retval] LONG*</code> |
417 | */ |
418 | public int getPageCount(); |
419 | |
420 | /** |
421 | * <code>IDL: [ helpstring("") ]</code> |
422 | * |
423 | * @return |
424 | * <code>IDL: [out] [retval] LONG*</code> |
425 | */ |
426 | public int getPageSize(); |
427 | |
428 | /** |
429 | * <code>IDL: [ helpstring("") ]</code> |
430 | * |
431 | * @param pl |
432 | * <code>IDL: [in] LONG</code> |
433 | */ |
434 | public void setPageSize( |
435 | /*[in]*/ int pl); |
436 | |
437 | /** |
438 | * <code>IDL: [ helpstring("") ]</code> |
439 | * |
440 | * @return |
441 | * <code>IDL: [out] [retval] BSTR*</code> |
442 | */ |
443 | public String getSort(); |
444 | |
445 | /** |
446 | * <code>IDL: [ helpstring("") ]</code> |
447 | * |
448 | * @param Criteria |
449 | * <code>IDL: [in] BSTR</code> |
450 | */ |
451 | public void setSort( |
452 | /*[in]*/ String Criteria); |
453 | |
454 | /** |
455 | * <code>IDL: [ helpstring("") ]</code> |
456 | * |
457 | * @return |
458 | * <code>IDL: [out] [retval] LONG*</code> |
459 | */ |
460 | public int getStatus(); |
461 | |
462 | /** |
463 | * <code>IDL: [ helpstring("") ]</code> |
464 | * |
465 | * @return |
466 | * <code>IDL: [out] [retval] LONG*</code> |
467 | */ |
468 | public int getState(); |
469 | |
470 | /** |
471 | * <code>IDL: [ helpstring("") ]</code> |
472 | * |
473 | * @return |
474 | * <code>IDL: [out] [retval] _Recordset**</code> |
475 | */ |
476 | public com.moesol.bindings.platform_sdk.data_services._Recordset _xClone(); |
477 | |
478 | /** |
479 | * <code>IDL: [ helpstring("") ]</code> |
480 | * |
481 | * @param AffectRecords |
482 | * <code>IDL: [in] [optional] [default] AffectEnum</code> |
483 | */ |
484 | public void UpdateBatch( |
485 | /*[in]*/ int AffectRecords); |
486 | |
487 | /** |
488 | * <code>IDL: [ helpstring("") ]</code> |
489 | * |
490 | * @param AffectRecords |
491 | * <code>IDL: [in] [optional] [default] AffectEnum</code> |
492 | */ |
493 | public void CancelBatch( |
494 | /*[in]*/ int AffectRecords); |
495 | |
496 | /** |
497 | * <code>IDL: [ helpstring("") ]</code> |
498 | * |
499 | * @return |
500 | * <code>IDL: [out] [retval] CursorLocationEnum*</code> |
501 | */ |
502 | public int getCursorLocation(); |
503 | |
504 | /** |
505 | * <code>IDL: [ helpstring("") ]</code> |
506 | * |
507 | * @param plCursorLoc |
508 | * <code>IDL: [in] CursorLocationEnum</code> |
509 | */ |
510 | public void setCursorLocation( |
511 | /*[in]*/ int plCursorLoc); |
512 | |
513 | /** |
514 | * <code>IDL: [ helpstring("") ]</code> |
515 | * |
516 | * @param RecordsAffected |
517 | * <code>IDL: [out] [optional] VARIANT*</code> |
518 | * @return |
519 | * <code>IDL: [out] [retval] _Recordset**</code> |
520 | */ |
521 | public com.moesol.bindings.platform_sdk.data_services._Recordset NextRecordset( |
522 | /*[out]*/ Object[] RecordsAffected); |
523 | |
524 | /** [optional=1] */ |
525 | public com.moesol.bindings.platform_sdk.data_services._Recordset NextRecordset(); |
526 | |
527 | /** |
528 | * <code>IDL: [ helpstring("") ]</code> |
529 | * |
530 | * @param CursorOptions |
531 | * <code>IDL: [in] CursorOptionEnum</code> |
532 | * @return |
533 | * <code>IDL: [out] [retval] VARIANT_BOOL*</code> |
534 | */ |
535 | public boolean Supports( |
536 | /*[in]*/ int CursorOptions); |
537 | |
538 | /** |
539 | * <code>IDL: [ helpstring("") ]</code> |
540 | * |
541 | * @param Index |
542 | * <code>IDL: [in] VARIANT</code> |
543 | * @return |
544 | * <code>IDL: [out] [retval] VARIANT*</code> |
545 | */ |
546 | public Object getCollect( |
547 | /*[in]*/ Object Index); |
548 | |
549 | /** |
550 | * <code>IDL: [ helpstring("") ]</code> |
551 | * |
552 | * @param Index |
553 | * <code>IDL: [in] VARIANT</code> |
554 | * @param pvar |
555 | * <code>IDL: [in] VARIANT</code> |
556 | */ |
557 | public void setCollect( |
558 | /*[in]*/ Object Index, |
559 | /*[in]*/ Object pvar); |
560 | |
561 | /** |
562 | * <code>IDL: [ helpstring("") ]</code> |
563 | * |
564 | * @return |
565 | * <code>IDL: [out] [retval] MarshalOptionsEnum*</code> |
566 | */ |
567 | public int getMarshalOptions(); |
568 | |
569 | /** |
570 | * <code>IDL: [ helpstring("") ]</code> |
571 | * |
572 | * @param peMarshal |
573 | * <code>IDL: [in] MarshalOptionsEnum</code> |
574 | */ |
575 | public void setMarshalOptions( |
576 | /*[in]*/ int peMarshal); |
577 | |
578 | /** |
579 | * <code>IDL: [ helpstring("") ]</code> |
580 | * |
581 | * @param Criteria |
582 | * <code>IDL: [in] BSTR</code> |
583 | * @param SkipRecords |
584 | * <code>IDL: [in] [optional] [default] LONG</code> |
585 | * @param SearchDirection |
586 | * <code>IDL: [in] [optional] [default] SearchDirectionEnum</code> |
587 | * @param Start |
588 | * <code>IDL: [in] [optional] VARIANT</code> |
589 | */ |
590 | public void Find( |
591 | /*[in]*/ String Criteria, |
592 | /*[in]*/ int SkipRecords, |
593 | /*[in]*/ int SearchDirection, |
594 | /*[in]*/ Object Start); |
595 | |
596 | /** [optional=1] */ |
597 | public void Find( |
598 | /*[in]*/ String Criteria, |
599 | /*[in]*/ int SkipRecords, |
600 | /*[in]*/ int SearchDirection); |
601 | |
602 | |
603 | /** <em>Implementation</em>, <small>Java to COM</small>. */ |
604 | public static class Jni extends com.moesol.bindings.platform_sdk.data_services._ADO.Jni implements Recordset15 { |
605 | |
606 | protected Jni () { |
607 | } |
608 | |
609 | |
610 | private native int jni_getAbsolutePosition(); |
611 | public int getAbsolutePosition() { |
612 | |
613 | return jni_getAbsolutePosition(); |
614 | } |
615 | |
616 | private native void jni_setAbsolutePosition( |
617 | /*[in]*/ int p0); |
618 | public void setAbsolutePosition( |
619 | /*[in]*/ int p0) { |
620 | |
621 | jni_setAbsolutePosition(p0); |
622 | } |
623 | |
624 | private native void jni_setrefActiveConnection( |
625 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0); |
626 | public void setrefActiveConnection( |
627 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0) { |
628 | |
629 | jni_setrefActiveConnection(p0); |
630 | } |
631 | |
632 | private native void jni_setActiveConnection( |
633 | /*[in]*/ Object p0); |
634 | public void setActiveConnection( |
635 | /*[in]*/ Object p0) { |
636 | |
637 | jni_setActiveConnection(p0); |
638 | } |
639 | |
640 | private native Object jni_getActiveConnection(); |
641 | public Object getActiveConnection() { |
642 | |
643 | return jni_getActiveConnection(); |
644 | } |
645 | |
646 | private native boolean jni_getBOF(); |
647 | public boolean getBOF() { |
648 | |
649 | return jni_getBOF(); |
650 | } |
651 | |
652 | private native Object jni_getBookmark(); |
653 | public Object getBookmark() { |
654 | |
655 | return jni_getBookmark(); |
656 | } |
657 | |
658 | private native void jni_setBookmark( |
659 | /*[in]*/ Object p0); |
660 | public void setBookmark( |
661 | /*[in]*/ Object p0) { |
662 | |
663 | jni_setBookmark(p0); |
664 | } |
665 | |
666 | private native int jni_getCacheSize(); |
667 | public int getCacheSize() { |
668 | |
669 | return jni_getCacheSize(); |
670 | } |
671 | |
672 | private native void jni_setCacheSize( |
673 | /*[in]*/ int p0); |
674 | public void setCacheSize( |
675 | /*[in]*/ int p0) { |
676 | |
677 | jni_setCacheSize(p0); |
678 | } |
679 | |
680 | private native int jni_getCursorType(); |
681 | public int getCursorType() { |
682 | |
683 | return jni_getCursorType(); |
684 | } |
685 | |
686 | private native void jni_setCursorType( |
687 | /*[in]*/ int p0); |
688 | public void setCursorType( |
689 | /*[in]*/ int p0) { |
690 | |
691 | jni_setCursorType(p0); |
692 | } |
693 | |
694 | private native boolean jni_getEOF(); |
695 | public boolean getEOF() { |
696 | |
697 | return jni_getEOF(); |
698 | } |
699 | |
700 | private native com.moesol.bindings.platform_sdk.data_services.Fields jni_getFields(); |
701 | public com.moesol.bindings.platform_sdk.data_services.Fields getFields() { |
702 | |
703 | return jni_getFields(); |
704 | } |
705 | |
706 | private native int jni_getLockType(); |
707 | public int getLockType() { |
708 | |
709 | return jni_getLockType(); |
710 | } |
711 | |
712 | private native void jni_setLockType( |
713 | /*[in]*/ int p0); |
714 | public void setLockType( |
715 | /*[in]*/ int p0) { |
716 | |
717 | jni_setLockType(p0); |
718 | } |
719 | |
720 | private native int jni_getMaxRecords(); |
721 | public int getMaxRecords() { |
722 | |
723 | return jni_getMaxRecords(); |
724 | } |
725 | |
726 | private native void jni_setMaxRecords( |
727 | /*[in]*/ int p0); |
728 | public void setMaxRecords( |
729 | /*[in]*/ int p0) { |
730 | |
731 | jni_setMaxRecords(p0); |
732 | } |
733 | |
734 | private native int jni_getRecordCount(); |
735 | public int getRecordCount() { |
736 | |
737 | return jni_getRecordCount(); |
738 | } |
739 | |
740 | private native void jni_setrefSource( |
741 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0); |
742 | public void setrefSource( |
743 | /*[in]*/ com.moesol.bindings.platform_sdk.component_services.IDispatch p0) { |
744 | |
745 | jni_setrefSource(p0); |
746 | } |
747 | |
748 | private native void jni_setSource( |
749 | /*[in]*/ String p0); |
750 | public void setSource( |
751 | /*[in]*/ String p0) { |
752 | |
753 | jni_setSource(p0); |
754 | } |
755 | |
756 | private native Object jni_getSource(); |
757 | public Object getSource() { |
758 | |
759 | return jni_getSource(); |
760 | } |
761 | |
762 | private native void jni_AddNew( |
763 | /*[in]*/ Object p0, |
764 | /*[in]*/ Object p1); |
765 | public void AddNew( |
766 | /*[in]*/ Object p0, |
767 | /*[in]*/ Object p1) { |
768 | |
769 | jni_AddNew(p0, p1); |
770 | } |
771 | |
772 | /** [optional=1] */ |
773 | public void AddNew( |
774 | /*[in]*/ Object p0) { |
775 | |
776 | AddNew(p0, null); |
777 | } |
778 | /** [optional=2] */ |
779 | public void AddNew() { |
780 | |
781 | AddNew(null, null); |
782 | } |
783 | private native void jni_CancelUpdate(); |
784 | public void CancelUpdate() { |
785 | |
786 | jni_CancelUpdate(); |
787 | } |
788 | |
789 | private native void jni_Close(); |
790 | public void Close() { |
791 | |
792 | jni_Close(); |
793 | } |
794 | |
795 | private native void jni_Delete( |
796 | /*[in]*/ int p0); |
797 | public void Delete( |
798 | /*[in]*/ int p0) { |
799 | |
800 | jni_Delete(p0); |
801 | } |
802 | |
803 | private native Object jni_GetRows( |
804 | /*[in]*/ int p0, |
805 | /*[in]*/ Object p1, |
806 | /*[in]*/ Object p2); |
807 | public Object GetRows( |
808 | /*[in]*/ int p0, |
809 | /*[in]*/ Object p1, |
810 | /*[in]*/ Object p2) { |
811 | |
812 | return jni_GetRows(p0, p1, p2); |
813 | } |
814 | |
815 | /** [optional=1] */ |
816 | public Object GetRows( |
817 | /*[in]*/ int p0, |
818 | /*[in]*/ Object p1) { |
819 | |
820 | return GetRows(p0, p1, null); |
821 | } |
822 | /** [optional=2] */ |
823 | public Object GetRows( |
824 | /*[in]*/ int p0) { |
825 | |
826 | return GetRows(p0, null, null); |
827 | } |
828 | private native void jni_Move( |
829 | /*[in]*/ int p0, |
830 | /*[in]*/ Object p1); |
831 | public void Move( |
832 | /*[in]*/ int p0, |
833 | /*[in]*/ Object p1) { |
834 | |
835 | jni_Move(p0, p1); |
836 | } |
837 | |
838 | /** [optional=1] */ |
839 | public void Move( |
840 | /*[in]*/ int p0) { |
841 | |
842 | Move(p0, null); |
843 | } |
844 | private native void jni_MoveNext(); |
845 | public void MoveNext() { |
846 | |
847 | jni_MoveNext(); |
848 | } |
849 | |
850 | private native void jni_MovePrevious(); |
851 | public void MovePrevious() { |
852 | |
853 | jni_MovePrevious(); |
854 | } |
855 | |
856 | private native void jni_MoveFirst(); |
857 | public void MoveFirst() { |
858 | |
859 | jni_MoveFirst(); |
860 | } |
861 | |
862 | private native void jni_MoveLast(); |
863 | public void MoveLast() { |
864 | |
865 | jni_MoveLast(); |
866 | } |
867 | |
868 | private native void jni_Open( |
869 | /*[in]*/ Object p0, |
870 | /*[in]*/ Object p1, |
871 | /*[in]*/ int p2, |
872 | /*[in]*/ int p3, |
873 | /*[in]*/ int p4); |
874 | public void Open( |
875 | /*[in]*/ Object p0, |
876 | /*[in]*/ Object p1, |
877 | /*[in]*/ int p2, |
878 | /*[in]*/ int p3, |
879 | /*[in]*/ int p4) { |
880 | |
881 | jni_Open(p0, p1, p2, p3, p4); |
882 | } |
883 | |
884 | private native void jni_Requery( |
885 | /*[in]*/ int p0); |
886 | public void Requery( |
887 | /*[in]*/ int p0) { |
888 | |
889 | jni_Requery(p0); |
890 | } |
891 | |
892 | private native void jni__xResync( |
893 | /*[in]*/ int p0); |
894 | public void _xResync( |
895 | /*[in]*/ int p0) { |
896 | |
897 | jni__xResync(p0); |
898 | } |
899 | |
900 | private native void jni_Update( |
901 | /*[in]*/ Object p0, |
902 | /*[in]*/ Object p1); |
903 | public void Update( |
904 | /*[in]*/ Object p0, |
905 | /*[in]*/ Object p1) { |
906 | |
907 | jni_Update(p0, p1); |
908 | } |
909 | |
910 | /** [optional=1] */ |
911 | public void Update( |
912 | /*[in]*/ Object p0) { |
913 | |
914 | Update(p0, null); |
915 | } |
916 | /** [optional=2] */ |
917 | public void Update() { |
918 | |
919 | Update(null, null); |
920 | } |
921 | private native int jni_getAbsolutePage(); |
922 | public int getAbsolutePage() { |
923 | |
924 | return jni_getAbsolutePage(); |
925 | } |
926 | |
927 | private native void jni_setAbsolutePage( |
928 | /*[in]*/ int p0); |
929 | public void setAbsolutePage( |
930 | /*[in]*/ int p0) { |
931 | |
932 | jni_setAbsolutePage(p0); |
933 | } |
934 | |
935 | private native int jni_getEditMode(); |
936 | public int getEditMode() { |
937 | |
938 | return jni_getEditMode(); |
939 | } |
940 | |
941 | private native Object jni_getFilter(); |
942 | public Object getFilter() { |
943 | |
944 | return jni_getFilter(); |
945 | } |
946 | |
947 | private native void jni_setFilter( |
948 | /*[in]*/ Object p0); |
949 | public void setFilter( |
950 | /*[in]*/ Object p0) { |
951 | |
952 | jni_setFilter(p0); |
953 | } |
954 | |
955 | private native int jni_getPageCount(); |
956 | public int getPageCount() { |
957 | |
958 | return jni_getPageCount(); |
959 | } |
960 | |
961 | private native int jni_getPageSize(); |
962 | public int getPageSize() { |
963 | |
964 | return jni_getPageSize(); |
965 | } |
966 | |
967 | private native void jni_setPageSize( |
968 | /*[in]*/ int p0); |
969 | public void setPageSize( |
970 | /*[in]*/ int p0) { |
971 | |
972 | jni_setPageSize(p0); |
973 | } |
974 | |
975 | private native String jni_getSort(); |
976 | public String getSort() { |
977 | |
978 | return jni_getSort(); |
979 | } |
980 | |
981 | private native void jni_setSort( |
982 | /*[in]*/ String p0); |
983 | public void setSort( |
984 | /*[in]*/ String p0) { |
985 | |
986 | jni_setSort(p0); |
987 | } |
988 | |
989 | private native int jni_getStatus(); |
990 | public int getStatus() { |
991 | |
992 | return jni_getStatus(); |
993 | } |
994 | |
995 | private native int jni_getState(); |
996 | public int getState() { |
997 | |
998 | return jni_getState(); |
999 | } |
1000 | |
1001 | private native com.moesol.bindings.platform_sdk.data_services._Recordset jni__xClone(); |
1002 | public com.moesol.bindings.platform_sdk.data_services._Recordset _xClone() { |
1003 | |
1004 | return jni__xClone(); |
1005 | } |
1006 | |
1007 | private native void jni_UpdateBatch( |
1008 | /*[in]*/ int p0); |
1009 | public void UpdateBatch( |
1010 | /*[in]*/ int p0) { |
1011 | |
1012 | jni_UpdateBatch(p0); |
1013 | } |
1014 | |
1015 | private native void jni_CancelBatch( |
1016 | /*[in]*/ int p0); |
1017 | public void CancelBatch( |
1018 | /*[in]*/ int p0) { |
1019 | |
1020 | jni_CancelBatch(p0); |
1021 | } |
1022 | |
1023 | private native int jni_getCursorLocation(); |
1024 | public int getCursorLocation() { |
1025 | |
1026 | return jni_getCursorLocation(); |
1027 | } |
1028 | |
1029 | private native void jni_setCursorLocation( |
1030 | /*[in]*/ int p0); |
1031 | public void setCursorLocation( |
1032 | /*[in]*/ int p0) { |
1033 | |
1034 | jni_setCursorLocation(p0); |
1035 | } |
1036 | |
1037 | private native com.moesol.bindings.platform_sdk.data_services._Recordset jni_NextRecordset( |
1038 | /*[out]*/ Object[] p0); |
1039 | public com.moesol.bindings.platform_sdk.data_services._Recordset NextRecordset( |
1040 | /*[out]*/ Object[] p0) { |
1041 | |
1042 | return jni_NextRecordset(p0); |
1043 | } |
1044 | |
1045 | /** [optional=1] */ |
1046 | public com.moesol.bindings.platform_sdk.data_services._Recordset NextRecordset() { |
1047 | |
1048 | return NextRecordset(null); |
1049 | } |
1050 | private native boolean jni_Supports( |
1051 | /*[in]*/ int p0); |
1052 | public boolean Supports( |
1053 | /*[in]*/ int p0) { |
1054 | |
1055 | return jni_Supports(p0); |
1056 | } |
1057 | |
1058 | private native Object jni_getCollect( |
1059 | /*[in]*/ Object p0); |
1060 | public Object getCollect( |
1061 | /*[in]*/ Object p0) { |
1062 | |
1063 | return jni_getCollect(p0); |
1064 | } |
1065 | |
1066 | private native void jni_setCollect( |
1067 | /*[in]*/ Object p0, |
1068 | /*[in]*/ Object p1); |
1069 | public void setCollect( |
1070 | /*[in]*/ Object p0, |
1071 | /*[in]*/ Object p1) { |
1072 | |
1073 | jni_setCollect(p0, p1); |
1074 | } |
1075 | |
1076 | private native int jni_getMarshalOptions(); |
1077 | public int getMarshalOptions() { |
1078 | |
1079 | return jni_getMarshalOptions(); |
1080 | } |
1081 | |
1082 | private native void jni_setMarshalOptions( |
1083 | /*[in]*/ int p0); |
1084 | public void setMarshalOptions( |
1085 | /*[in]*/ int p0) { |
1086 | |
1087 | jni_setMarshalOptions(p0); |
1088 | } |
1089 | |
1090 | private native void jni_Find( |
1091 | /*[in]*/ String p0, |
1092 | /*[in]*/ int p1, |
1093 | /*[in]*/ int p2, |
1094 | /*[in]*/ Object p3); |
1095 | public void Find( |
1096 | /*[in]*/ String p0, |
1097 | /*[in]*/ int p1, |
1098 | /*[in]*/ int p2, |
1099 | /*[in]*/ Object p3) { |
1100 | |
1101 | jni_Find(p0, p1, p2, p3); |
1102 | } |
1103 | |
1104 | /** [optional=1] */ |
1105 | public void Find( |
1106 | /*[in]*/ String p0, |
1107 | /*[in]*/ int p1, |
1108 | /*[in]*/ int p2) { |
1109 | |
1110 | Find(p0, p1, p2, null); |
1111 | } |
1112 | } |
1113 | |
1114 | /** <em>Implementation</em>, <small>COM to Java</small>. */ |
1115 | public static class Disp extends com.moesol.bindings.platform_sdk.data_services._ADO.Disp { |
1116 | public static com.moesol.bindings.platform_sdk.component_services.IUnknown.Disp instance() { |
1117 | return s_instance; |
1118 | } |
1119 | |
1120 | private static Disp s_instance = new Disp(); |
1121 | |
1122 | protected Disp() { |
1123 | addEntry(1000, (short)2, "getAbsolutePosition", "()I"); |
1124 | addEntry(1000, (short)4, "setAbsolutePosition", "(I)V"); |
1125 | addEntry(1001, (short)8, "setrefActiveConnection", "(Lcom/moesol/bindings/platform_sdk/component_services/IDispatch;)V"); |
1126 | addEntry(1001, (short)4, "setActiveConnection", "(Ljava/lang/Object;)V"); |
1127 | addEntry(1001, (short)2, "getActiveConnection", "()Ljava/lang/Object;"); |
1128 | addEntry(1002, (short)2, "getBOF", "()Z"); |
1129 | addEntry(1003, (short)2, "getBookmark", "()Ljava/lang/Object;"); |
1130 | addEntry(1003, (short)4, "setBookmark", "(Ljava/lang/Object;)V"); |
1131 | addEntry(1004, (short)2, "getCacheSize", "()I"); |
1132 | addEntry(1004, (short)4, "setCacheSize", "(I)V"); |
1133 | addEntry(1005, (short)2, "getCursorType", "()I"); |
1134 | addEntry(1005, (short)4, "setCursorType", "(I)V"); |
1135 | addEntry(1006, (short)2, "getEOF", "()Z"); |
1136 | addEntry(0, (short)2, "getFields", "()Lcom/moesol/bindings/platform_sdk/data_services/Fields;"); |
1137 | addEntry(1008, (short)2, "getLockType", "()I"); |
1138 | addEntry(1008, (short)4, "setLockType", "(I)V"); |
1139 | addEntry(1009, (short)2, "getMaxRecords", "()I"); |
1140 | addEntry(1009, (short)4, "setMaxRecords", "(I)V"); |
1141 | addEntry(1010, (short)2, "getRecordCount", "()I"); |
1142 | addEntry(1011, (short)8, "setrefSource", "(Lcom/moesol/bindings/platform_sdk/component_services/IDispatch;)V"); |
1143 | addEntry(1011, (short)4, "setSource", "(Ljava/lang/String;)V"); |
1144 | addEntry(1011, (short)2, "getSource", "()Ljava/lang/Object;"); |
1145 | addEntry(1012, (short)1, "AddNew", "(Ljava/lang/Object;Ljava/lang/Object;)V"); |
1146 | addEntry(1013, (short)1, "CancelUpdate", "()V"); |
1147 | addEntry(1014, (short)1, "Close", "()V"); |
1148 | addEntry(1015, (short)1, "Delete", "(I)V"); |
1149 | addEntry(1016, (short)1, "GetRows", "(ILjava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;"); |
1150 | addEntry(1017, (short)1, "Move", "(ILjava/lang/Object;)V"); |
1151 | addEntry(1018, (short)1, "MoveNext", "()V"); |
1152 | addEntry(1019, (short)1, "MovePrevious", "()V"); |
1153 | addEntry(1020, (short)1, "MoveFirst", "()V"); |
1154 | addEntry(1021, (short)1, "MoveLast", "()V"); |
1155 | addEntry(1022, (short)1, "Open", "(Ljava/lang/Object;Ljava/lang/Object;III)V"); |
1156 | addEntry(1023, (short)1, "Requery", "(I)V"); |
1157 | addEntry(1610809378, (short)1, "_xResync", "(I)V"); |
1158 | addEntry(1025, (short)1, "Update", "(Ljava/lang/Object;Ljava/lang/Object;)V"); |
1159 | addEntry(1047, (short)2, "getAbsolutePage", "()I"); |
1160 | addEntry(1047, (short)4, "setAbsolutePage", "(I)V"); |
1161 | addEntry(1026, (short)2, "getEditMode", "()I"); |
1162 | addEntry(1030, (short)2, "getFilter", "()Ljava/lang/Object;"); |
1163 | addEntry(1030, (short)4, "setFilter", "(Ljava/lang/Object;)V"); |
1164 | addEntry(1050, (short)2, "getPageCount", "()I"); |
1165 | addEntry(1048, (short)2, "getPageSize", "()I"); |
1166 | addEntry(1048, (short)4, "setPageSize", "(I)V"); |
1167 | addEntry(1031, (short)2, "getSort", "()Ljava/lang/String;"); |
1168 | addEntry(1031, (short)4, "setSort", "(Ljava/lang/String;)V"); |
1169 | addEntry(1029, (short)2, "getStatus", "()I"); |
1170 | addEntry(1054, (short)2, "getState", "()I"); |
1171 | addEntry(1610809392, (short)1, "_xClone", "()Lcom/moesol/bindings/platform_sdk/data_services/_Recordset;"); |
1172 | addEntry(1035, (short)1, "UpdateBatch", "(I)V"); |
1173 | addEntry(1049, (short)1, "CancelBatch", "(I)V"); |
1174 | addEntry(1051, (short)2, "getCursorLocation", "()I"); |
1175 | addEntry(1051, (short)4, "setCursorLocation", "(I)V"); |
1176 | addEntry(1052, (short)1, "NextRecordset", "([Ljava/lang/Object;)Lcom/moesol/bindings/platform_sdk/data_services/_Recordset;"); |
1177 | addEntry(1036, (short)1, "Supports", "(I)Z"); |
1178 | addEntry(-8, (short)2, "getCollect", "(Ljava/lang/Object;)Ljava/lang/Object;"); |
1179 | addEntry(-8, (short)4, "setCollect", "(Ljava/lang/Object;Ljava/lang/Object;)V"); |
1180 | addEntry(1053, (short)2, "getMarshalOptions", "()I"); |
1181 | addEntry(1053, (short)4, "setMarshalOptions", "(I)V"); |
1182 | addEntry(1058, (short)1, "Find", "(Ljava/lang/String;IILjava/lang/Object;)V"); |
1183 | } |
1184 | } |
1185 | } |