-
Notifications
You must be signed in to change notification settings - Fork 0
/
ClearQuestOleServer.hs
8270 lines (7274 loc) · 270 KB
/
ClearQuestOleServer.hs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- Automatically generated by HaskellDirect (ihc.exe), version 0.21
-- Created: 07:46 CET, Monday 25 March, 2013
-- Command line: -fno-export-list -d -dshow-passes --verbose -fvariant-enum-instances cqole.IDL
module ClearQuestOleServer where
import Prelude (fromEnum, toEnum)
import qualified Prelude
--import qualified System.Win32.Com.Automation (IDispatch, outIDispatch, propertyGet,
--inIDispatch, propertySet, outBool, function1, outVariant,
--inString, method0, inInt32, outString, Variant, inVariant,
--outInt32, method3, inBool, VARIANT, inInt16, outIUnknown,
--inIUnknown, outInt16, method6) as Automation
import qualified System.Win32.Com.Automation as Automation
--import qualified System.Win32.Com (LIBID, mkLIBID, IID, mkIID, CLSID, mkCLSID,
--IUnknown) as Com
import qualified System.Win32.Com as Com
--import qualified System.Win32.Com.Server (ComVTable) as Server
import qualified System.Win32.Com.Server as ComServ
--import qualified Data.Int (Int32, Int16)
import qualified Data.Int as Int
--import qualified System.Win32.Com.Server.StdDispatch (createStdDispatchVTBL2,
--mkDispMethod, apply_1, retVal, inArg, apply_0)
import qualified System.Win32.Com.Server.StdDispatch as StdDispatch
libidClearQuestOleServer :: Com.LIBID
libidClearQuestOleServer =
Com.mkLIBID "{B805FDF6-BEA8-11D1-B36D-00A0C9851B52}"
-- --------------------------------------------------
--
-- dispinterface IOAdSession
--
-- --------------------------------------------------
data IOAdSession_ a = IOAdSession__
type IOAdSession a = Automation.IDispatch (IOAdSession_ a)
iidIOAdSession :: Com.IID (IOAdSession ())
iidIOAdSession = Com.mkIID "{94773111-72E8-11D0-A42E-00A024DED613}"
getQueryDefs :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getQueryDefs =
Automation.propertyGet "QueryDefs"
[]
Automation.outIDispatch
setQueryDefs :: Automation.IDispatch a0
-> IOAdSession a1
-> Prelude.IO ()
setQueryDefs prop =
Automation.propertySet "QueryDefs"
[Automation.inIDispatch prop]
isMetadataReadonly :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isMetadataReadonly =
Automation.function1 "IsMetadataReadonly"
[]
Automation.outBool
getAuxEntityDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getAuxEntityDefNames =
Automation.function1 "GetAuxEntityDefNames"
[]
Automation.outVariant
getReqEntityDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getReqEntityDefNames =
Automation.function1 "GetReqEntityDefNames"
[]
Automation.outVariant
getEntityDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getEntityDefNames =
Automation.function1 "GetEntityDefNames"
[]
Automation.outVariant
getSubmitEntityDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getSubmitEntityDefNames =
Automation.function1 "GetSubmitEntityDefNames"
[]
Automation.outVariant
getQueryEntityDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getQueryEntityDefNames =
Automation.function1 "GetQueryEntityDefNames"
[]
Automation.outVariant
buildEntity :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (IOAdEntity ()) --Automation.IDispatch ())
buildEntity entity_def_name =
Automation.function1 "BuildEntity"
[Automation.inString entity_def_name]
--Automation.outIDispatch
Automation.outIUnknown
editEntity :: Automation.IDispatch a1
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
editEntity entity edit_action_name =
Automation.method0 "EditEntity"
[ Automation.inIDispatch entity
, Automation.inString edit_action_name
]
buildResultSet :: Automation.IDispatch a1
-> IOAdSession a0
-- -> Prelude.IO (Automation.IDispatch ())
-> Prelude.IO (IOAdResultSet ()) --Automation.IDispatch ())
buildResultSet query_def =
Automation.function1 "BuildResultSet"
[Automation.inIDispatch query_def]
Automation.outIUnknown --outIDispatch
openQueryDef :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
openQueryDef filename =
Automation.function1 "OpenQueryDef"
[Automation.inString filename]
Automation.outIDispatch
getEntity :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO (IOAdEntity ())
getEntity entity_def_name display_name =
Automation.function1 "GetEntity"
[ Automation.inString entity_def_name
, Automation.inString display_name
]
--Automation.outIDispatch
Automation.outIUnknown
getEntityByDbId :: Prelude.String
-> Int.Int32
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getEntityByDbId entity_def_name db_id =
Automation.function1 "GetEntityByDbId"
[ Automation.inString entity_def_name
, Automation.inInt32 db_id
]
Automation.outIDispatch
testingThrowException :: Int.Int32
-> IOAdSession a0
-> Prelude.IO ()
testingThrowException exception_code =
Automation.method0 "TestingThrowException"
[Automation.inInt32 exception_code]
getEntityDef :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (IOAdEntityDef ())
-- -> Prelude.IO (Automation.IDispatch ())
getEntityDef entity_def_name =
Automation.function1 "GetEntityDef"
[Automation.inString entity_def_name]
Automation.outIUnknown
-- Automation.outIDispatch
markEntityAsDuplicate :: Automation.IDispatch a1
-> Automation.IDispatch a2
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
markEntityAsDuplicate entity_to_mark entity_it_duplicates duplicate_action_name =
Automation.method0 "MarkEntityAsDuplicate"
[ Automation.inIDispatch entity_to_mark
, Automation.inIDispatch entity_it_duplicates
, Automation.inString duplicate_action_name
]
unmarkEntityAsDuplicate :: Automation.IDispatch a1
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
unmarkEntityAsDuplicate entity unduplicate_action_name =
Automation.method0 "UnmarkEntityAsDuplicate"
[ Automation.inIDispatch entity
, Automation.inString unduplicate_action_name
]
getServerInfo :: IOAdSession a0
-> Prelude.IO Prelude.String
getServerInfo =
Automation.function1 "GetServerInfo"
[]
Automation.outString
outputDebugString :: Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
outputDebugString the_string =
Automation.method0 "OutputDebugString"
[Automation.inString the_string]
outputTextMessage :: Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
outputTextMessage the_message =
Automation.method0 "OutputTextMessage"
[Automation.inString the_message]
userLogon :: Prelude.String
-> Prelude.String
-> Prelude.String
-> Int.Int32
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
userLogon login_name password database_name session_type database_set =
Automation.method0 "UserLogon"
[ Automation.inString login_name
, Automation.inString password
, Automation.inString database_name
, Automation.inInt32 session_type
, Automation.inString database_set
]
getUserLoginName :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserLoginName =
Automation.function1 "GetUserLoginName"
[]
Automation.outString
getUserFullName :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserFullName =
Automation.function1 "GetUserFullName"
[]
Automation.outString
getUserEmail :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserEmail =
Automation.function1 "GetUserEmail"
[]
Automation.outString
getUserPhone :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserPhone =
Automation.function1 "GetUserPhone"
[]
Automation.outString
getUserMiscInfo :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserMiscInfo =
Automation.function1 "GetUserMiscInfo"
[]
Automation.outString
getUserGroups :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getUserGroups =
Automation.function1 "GetUserGroups"
[]
Automation.outVariant
getAccessibleDatabases :: -- (Automation.Variant a1)
-- => Prelude.String
Prelude.String
-> Prelude.String
-> Prelude.String
-> IOAdSession a0
-- -> Prelude.IO a1
-> Prelude.IO (IOAdDatabases ())
getAccessibleDatabases master_db_name user_login_name db_set_name =
Automation.function1 "GetAccessibleDatabases"
[ Automation.inString master_db_name
, Automation.inString user_login_name
, Automation.inString db_set_name
]
Automation.outIUnknown
--Automation.outVariant
buildSQLQuery :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
buildSQLQuery sql_string =
Automation.function1 "BuildSQLQuery"
[Automation.inString sql_string]
Automation.outIDispatch
buildQuery :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (IOAdQueryDef ()) --Automation.IDispatch ())
buildQuery primary_entitydef_name =
Automation.function1 "BuildQuery"
[Automation.inString primary_entitydef_name]
-- Automation.outIDispatch
Automation.outIUnknown
getSessionDatabase :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getSessionDatabase =
Automation.function1 "GetSessionDatabase"
[]
Automation.outIDispatch
getInstalledMasters :: (Automation.Variant a1, Automation.Variant a2)
=> a1
-> a2
-> IOAdSession a0
-> Prelude.IO ()
getInstalledMasters dbSets masterDbs =
Automation.method0 "GetInstalledMasters"
[ Automation.inVariant dbSets
, Automation.inVariant masterDbs
]
getDefaultEntityDef :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getDefaultEntityDef =
Automation.function1 "GetDefaultEntityDef"
[]
Automation.outIDispatch
hasValue :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
hasValue name =
Automation.function1 "HasValue"
[Automation.inString name]
Automation.outBool
getListDefNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getListDefNames =
Automation.function1 "GetListDefNames"
[]
Automation.outVariant
getListMembers :: (Automation.Variant a1)
=> Prelude.String
-> IOAdSession a0
-> Prelude.IO a1
getListMembers listName =
Automation.function1 "GetListMembers"
[Automation.inString listName]
Automation.outVariant
setListMembers :: (Automation.Variant a1)
=> Prelude.String
-> a1
-> IOAdSession a0
-> Prelude.IO ()
setListMembers listName members =
Automation.method0 "SetListMembers"
[ Automation.inString listName
, Automation.inVariant members
]
addListMember :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
addListMember listName member =
Automation.method0 "AddListMember"
[ Automation.inString listName
, Automation.inString member
]
deleteListMember :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO ()
deleteListMember listName member =
Automation.method0 "DeleteListMember"
[ Automation.inString listName
, Automation.inString member
]
getUserEncryptedPassword :: IOAdSession a0
-> Prelude.IO Prelude.String
getUserEncryptedPassword =
Automation.function1 "GetUserEncryptedPassword"
[]
Automation.outString
deleteEntity :: Automation.IDispatch a1
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
deleteEntity entity deleteActionName =
Automation.function1 "DeleteEntity"
[ Automation.inIDispatch entity
, Automation.inString deleteActionName
]
Automation.outString
getNameValue :: (Automation.Variant a1)
=> Prelude.String
-> IOAdSession a0
-> Prelude.IO a1
getNameValue name =
Automation.propertyGet "NameValue"
[Automation.inString name]
Automation.outVariant
setNameValue :: (Automation.Variant a1)
=> Prelude.String
-> a1
-> IOAdSession a0
-> Prelude.IO ()
setNameValue name rhs =
Automation.propertySet "NameValue"
[ Automation.inString name
, Automation.inVariant rhs
]
getWorkSpace :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getWorkSpace =
Automation.function1 "GetWorkSpace"
[]
Automation.outIDispatch
clearNameValues :: IOAdSession a0
-> Prelude.IO ()
clearNameValues =
Automation.method0 "ClearNameValues"
[]
fireRecordScriptAlias :: Automation.IDispatch a1
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
fireRecordScriptAlias entity editActionName =
Automation.function1 "FireRecordScriptAlias"
[ Automation.inIDispatch entity
, Automation.inString editActionName
]
Automation.outString
registerSchemaRepoFromFile :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
registerSchemaRepoFromFile filePath =
Automation.function1 "RegisterSchemaRepoFromFile"
[Automation.inString filePath]
Automation.outString
getEntityDefFamilyNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getEntityDefFamilyNames =
Automation.function1 "GetEntityDefFamilyNames"
[]
Automation.outVariant
getEntityDefFamily :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getEntityDefFamily familyName =
Automation.function1 "GetEntityDefFamily"
[Automation.inString familyName]
Automation.outIDispatch
getEntityDefOrFamily :: Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getEntityDefOrFamily familyName =
Automation.function1 "GetEntityDefOrFamily"
[Automation.inString familyName]
Automation.outIDispatch
getQueryEntityDefFamilyNames :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getQueryEntityDefFamilyNames =
Automation.function1 "GetQueryEntityDefFamilyNames"
[]
Automation.outVariant
isEmailEnabled :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isEmailEnabled =
Automation.function1 "IsEmailEnabled"
[]
Automation.outBool
getEnabledPackageRevs :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getEnabledPackageRevs =
Automation.function1 "GetEnabledPackageRevs"
[]
Automation.outIDispatch
getEnabledEntityDefs :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getEnabledEntityDefs package rev =
Automation.function1 "GetEnabledEntityDefs"
[ Automation.inString package
, Automation.inString rev
]
Automation.outIDispatch
signOff :: IOAdSession a0
-> Prelude.IO Prelude.Bool
signOff =
Automation.function1 "SignOff"
[]
Automation.outBool
emitMessage :: Prelude.String
-> Int.Int32
-> IOAdSession a0
-> Prelude.IO ()
emitMessage message kind =
Automation.method0 "EmitMessage"
[ Automation.inString message
, Automation.inInt32 kind
]
getNextMessage :: IOAdSession a0
-> Prelude.IO (Prelude.String, Int.Int32, Prelude.Bool)
getNextMessage =
Automation.method3 "GetNextMessage"
[]
Automation.outString
Automation.outInt32
Automation.outBool
getMessageCount :: IOAdSession a0
-> Prelude.IO Int.Int32
getMessageCount =
Automation.function1 "GetMessageCount"
[]
Automation.outInt32
clearMessages :: IOAdSession a0
-> Prelude.IO ()
clearMessages =
Automation.method0 "ClearMessages"
[]
checkHeartbeat :: IOAdSession a0
-> Prelude.IO Prelude.Bool
checkHeartbeat =
Automation.function1 "CheckHeartbeat"
[]
Automation.outBool
setRestrictedUser :: IOAdSession a0
-> Prelude.IO Prelude.Bool
setRestrictedUser =
Automation.function1 "SetRestrictedUser"
[]
Automation.outBool
isRestrictedUser :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isRestrictedUser =
Automation.function1 "IsRestrictedUser"
[]
Automation.outBool
getNextEmission :: IOAdSession a0
-> Prelude.IO Prelude.String
getNextEmission =
Automation.function1 "GetNextEmission"
[]
Automation.outString
isUserAppBuilder :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isUserAppBuilder =
Automation.function1 "IsUserAppBuilder"
[]
Automation.outBool
isUserSuperUser :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isUserSuperUser =
Automation.function1 "IsUserSuperUser"
[]
Automation.outBool
getLocalReplica :: IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
getLocalReplica =
Automation.function1 "GetLocalReplica"
[]
Automation.outIDispatch
getSiteExtendedNames :: (Automation.Variant a1)
=> Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO a1
getSiteExtendedNames lpszEDefName lpszDisplayName =
Automation.function1 "GetSiteExtendedNames"
[ Automation.inString lpszEDefName
, Automation.inString lpszDisplayName
]
Automation.outVariant
isSiteExtendedName :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
isSiteExtendedName name =
Automation.function1 "IsSiteExtendedName"
[Automation.inString name]
Automation.outBool
parseSiteExtendedName :: (Automation.Variant a1, Automation.Variant a2)
=> Prelude.String
-> a1
-> a2
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
parseSiteExtendedName name display_name replica_dbid =
Automation.function1 "ParseSiteExtendedName"
[ Automation.inString name
, Automation.inVariant display_name
, Automation.inVariant replica_dbid
]
Automation.outBool
getUnextendedName :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
getUnextendedName name =
Automation.function1 "GetUnextendedName"
[Automation.inString name]
Automation.outString
getSiteExtension :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Int.Int32
getSiteExtension name =
Automation.function1 "GetSiteExtension"
[Automation.inString name]
Automation.outInt32
getDisplayNamesNeedingSiteExtension :: (Automation.Variant a1)
=> Prelude.String
-> IOAdSession a0
-> Prelude.IO a1
getDisplayNamesNeedingSiteExtension edefname =
Automation.function1 "GetDisplayNamesNeedingSiteExtension"
[Automation.inString edefname]
Automation.outVariant
getSessionFeatureLevel :: IOAdSession a0
-> Prelude.IO Int.Int32
getSessionFeatureLevel =
Automation.function1 "GetSessionFeatureLevel"
[]
Automation.outInt32
getMinCompatibleFeatureLevel :: IOAdSession a0
-> Prelude.IO Int.Int32
getMinCompatibleFeatureLevel =
Automation.function1 "GetMinCompatibleFeatureLevel"
[]
Automation.outInt32
getMaxCompatibleFeatureLevel :: IOAdSession a0
-> Prelude.IO Int.Int32
getMaxCompatibleFeatureLevel =
Automation.function1 "GetMaxCompatibleFeatureLevel"
[]
Automation.outInt32
hasUserPrivilege :: Int.Int32
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
hasUserPrivilege priv_mask =
Automation.function1 "HasUserPrivilege"
[Automation.inInt32 priv_mask]
Automation.outBool
loadEntity :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
loadEntity entity_def_name display_name =
Automation.function1 "LoadEntity"
[ Automation.inString entity_def_name
, Automation.inString display_name
]
Automation.outIDispatch
loadEntityByDbId :: Prelude.String
-> Int.Int32
-> IOAdSession a0
-> Prelude.IO (Automation.IDispatch ())
loadEntityByDbId entity_def_name db_id =
Automation.function1 "LoadEntityByDbId"
[ Automation.inString entity_def_name
, Automation.inInt32 db_id
]
Automation.outIDispatch
isReplicated :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isReplicated =
Automation.function1 "IsReplicated"
[]
Automation.outBool
getProductVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getProductVersion =
Automation.function1 "GetProductVersion"
[]
Automation.outString
getSuiteVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getSuiteVersion =
Automation.function1 "GetSuiteVersion"
[]
Automation.outString
getStageLabel :: IOAdSession a0
-> Prelude.IO Prelude.String
getStageLabel =
Automation.function1 "GetStageLabel"
[]
Automation.outString
entityExistsByDbId :: Prelude.String
-> Int.Int32
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
entityExistsByDbId entity_def_name db_id =
Automation.function1 "EntityExistsByDbId"
[ Automation.inString entity_def_name
, Automation.inInt32 db_id
]
Automation.outBool
entityExists :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
entityExists entity_def_name display_name =
Automation.function1 "EntityExists"
[ Automation.inString entity_def_name
, Automation.inString display_name
]
Automation.outBool
isMultisiteActivated :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isMultisiteActivated =
Automation.function1 "IsMultisiteActivated"
[]
Automation.outBool
registerSchemaRepoFromFileByDbSet :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
registerSchemaRepoFromFileByDbSet dbset filePath =
Automation.function1 "RegisterSchemaRepoFromFileByDbSet"
[ Automation.inString dbset
, Automation.inString filePath
]
Automation.outString
isPackageUpgradeNeeded :: (Automation.Variant a1, Automation.Variant a2)
=> Prelude.String
-> a1
-> a2
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
isPackageUpgradeNeeded package_name current_rev highest_rev =
Automation.function1 "IsPackageUpgradeNeeded"
[ Automation.inString package_name
, Automation.inVariant current_rev
, Automation.inVariant highest_rev
]
Automation.outBool
stringIdToDbId :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Int.Int32
stringIdToDbId string_id =
Automation.function1 "StringIdToDbId"
[Automation.inString string_id]
Automation.outInt32
dbIdToStringId :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
dbIdToStringId db_id =
Automation.function1 "DbIdToStringId"
[Automation.inString db_id]
Automation.outString
isStringInCQDataCodePage :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
isStringInCQDataCodePage string =
Automation.function1 "IsStringInCQDataCodePage"
[Automation.inString string]
Automation.outBool
cQDataCodePageIsSet :: IOAdSession a0
-> Prelude.IO Prelude.Bool
cQDataCodePageIsSet =
Automation.function1 "CQDataCodePageIsSet"
[]
Automation.outBool
isUnsupportedClientCodePage :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isUnsupportedClientCodePage =
Automation.function1 "IsUnsupportedClientCodePage"
[]
Automation.outBool
isClientCodePageCompatibleWithCQDataCodePage :: IOAdSession a0
-> Prelude.IO Prelude.Bool
isClientCodePageCompatibleWithCQDataCodePage =
Automation.function1 "IsClientCodePageCompatibleWithCQDataCodePage"
[]
Automation.outBool
getCQDataCodePage :: IOAdSession a0
-> Prelude.IO Prelude.String
getCQDataCodePage =
Automation.function1 "GetCQDataCodePage"
[]
Automation.outString
getClientCodePage :: IOAdSession a0
-> Prelude.IO Prelude.String
getClientCodePage =
Automation.function1 "GetClientCodePage"
[]
Automation.outString
validateStringInCQDataCodePage :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
validateStringInCQDataCodePage string =
Automation.function1 "ValidateStringInCQDataCodePage"
[Automation.inString string]
Automation.outString
getSuiteProductVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getSuiteProductVersion =
Automation.function1 "GetSuiteProductVersion"
[]
Automation.outString
canSubmit :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.Bool
canSubmit entDefName =
Automation.function1 "CanSubmit"
[Automation.inString entDefName]
Automation.outBool
getEntityDefNamesForSubmit :: (Automation.Variant a1)
=> IOAdSession a0
-> Prelude.IO a1
getEntityDefNamesForSubmit =
Automation.function1 "GetEntityDefNamesForSubmit"
[]
Automation.outVariant
validateUserCredentials :: Prelude.String
-> Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
validateUserCredentials login pw =
Automation.function1 "ValidateUserCredentials"
[ Automation.inString login
, Automation.inString pw
]
Automation.outString
getAuthenticationLoginName :: IOAdSession a0
-> Prelude.IO Prelude.String
getAuthenticationLoginName =
Automation.function1 "GetAuthenticationLoginName"
[]
Automation.outString
getUserAuthenticationMode :: IOAdSession a0
-> Prelude.IO Int.Int32
getUserAuthenticationMode =
Automation.function1 "GetUserAuthenticationMode"
[]
Automation.outInt32
getBasicReturnStringMode :: IOAdSession a0
-> Prelude.IO Int.Int32
getBasicReturnStringMode =
Automation.function1 "GetBasicReturnStringMode"
[]
Automation.outInt32
setBasicReturnStringMode :: Int.Int32
-> IOAdSession a0
-> Prelude.IO ()
setBasicReturnStringMode mode =
Automation.method0 "SetBasicReturnStringMode"
[Automation.inInt32 mode]
echoString :: Prelude.String
-> IOAdSession a0
-> Prelude.IO Prelude.String
echoString toEcho =
Automation.function1 "EchoString"
[Automation.inString toEcho]
Automation.outString
getFullProductVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getFullProductVersion =
Automation.function1 "GetFullProductVersion"
[]
Automation.outString
getPatchVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getPatchVersion =
Automation.function1 "GetPatchVersion"
[]
Automation.outString
getLicenseVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getLicenseVersion =
Automation.function1 "GetLicenseVersion"
[]
Automation.outString
getLicenseFeature :: IOAdSession a0
-> Prelude.IO Prelude.String
getLicenseFeature =
Automation.function1 "GetLicenseFeature"
[]
Automation.outString
getWebLicenseVersion :: IOAdSession a0
-> Prelude.IO Prelude.String
getWebLicenseVersion =
Automation.function1 "GetWebLicenseVersion"
[]
Automation.outString
getCompanyName :: IOAdSession a0
-> Prelude.IO Prelude.String
getCompanyName =
Automation.function1 "GetCompanyName"
[]
Automation.outString
getCompanyFullName :: IOAdSession a0
-> Prelude.IO Prelude.String
getCompanyFullName =
Automation.function1 "GetCompanyFullName"
[]
Automation.outString
getCompanyEmailAddress :: IOAdSession a0
-> Prelude.IO Prelude.String
getCompanyEmailAddress =
Automation.function1 "GetCompanyEmailAddress"
[]
Automation.outString
getCompanyWebAddress :: IOAdSession a0
-> Prelude.IO Prelude.String
getCompanyWebAddress =
Automation.function1 "GetCompanyWebAddress"
[]
Automation.outString