1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krms.api.repository;
17
18 import org.kuali.rice.core.api.criteria.QueryByCriteria;
19 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
20 import org.kuali.rice.krms.api.KrmsConstants;
21 import org.kuali.rice.krms.api.repository.agenda.AgendaDefinition;
22 import org.kuali.rice.krms.api.repository.agenda.AgendaItemDefinition;
23 import org.kuali.rice.krms.api.repository.language.NaturalLanguageUsage;
24 import org.kuali.rice.krms.api.repository.proposition.PropositionDefinition;
25 import org.kuali.rice.krms.api.repository.reference.ReferenceObjectBinding;
26 import org.kuali.rice.krms.api.repository.rule.RuleDefinition;
27 import org.springframework.cache.annotation.Cacheable;
28
29 import javax.jws.WebMethod;
30 import javax.jws.WebParam;
31 import javax.jws.WebResult;
32 import javax.jws.WebService;
33 import javax.jws.soap.SOAPBinding;
34 import javax.xml.bind.annotation.XmlElement;
35 import javax.xml.bind.annotation.XmlElementWrapper;
36 import java.util.List;
37 import java.util.Set;
38 import org.kuali.rice.krms.api.repository.action.ActionDefinition;
39 import org.kuali.rice.krms.api.repository.context.ContextDefinition;
40 import org.kuali.rice.krms.api.repository.language.NaturalLanguageTemplate;
41
42
43
44
45
46
47
48 @WebService(name = "ruleManagementService", targetNamespace = KrmsConstants.Namespaces.KRMS_NAMESPACE_2_0)
49 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL,
50 parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
51 public interface RuleManagementService extends RuleRepositoryService, TranslateBusinessMethods {
52
53
54
55
56
57
58
59
60
61 @WebMethod(operationName = "createReferenceObjectBinding")
62 @WebResult(name = "referenceObjectBinding")
63 public ReferenceObjectBinding createReferenceObjectBinding(@WebParam(
64 name = "referenceObjectDefinition") ReferenceObjectBinding referenceObjectDefinition) throws RiceIllegalArgumentException;
65
66
67
68
69
70
71
72
73
74 @WebMethod(operationName = "getReferenceObjectBinding")
75 @WebResult(name = "referenceObjectBinding")
76 public ReferenceObjectBinding getReferenceObjectBinding(@WebParam(
77 name = "id") String id) throws RiceIllegalArgumentException;
78
79
80
81
82
83
84
85
86
87 @WebMethod(operationName = "getReferenceObjectBindings")
88 @XmlElementWrapper(name = "referenceObjectBindings", required = true)
89 @XmlElement(name = "referenceObjectBinding", required = false)
90 @WebResult(name = "referenceObjectBindings")
91 List<ReferenceObjectBinding> getReferenceObjectBindings(@WebParam(
92 name = "ids") List<String> ids) throws RiceIllegalArgumentException;
93
94
95
96
97
98
99
100
101
102
103
104 @WebMethod(operationName = "findReferenceObjectBindingsByReferenceDiscriminatorType")
105 @XmlElementWrapper(name = "referenceObjectBindings", required = true)
106 @XmlElement(name = "referenceObjectBinding", required = false)
107 @WebResult(name = "referenceObjectBindings")
108 public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceDiscriminatorType(
109 @WebParam(name = "referenceObjectReferenceDiscriminatorType") String referenceObjectReferenceDiscriminatorType) throws RiceIllegalArgumentException;
110
111
112
113
114
115
116
117
118
119
120
121 @WebMethod(operationName = "findReferenceObjectBindingsByKrmsDiscriminatorType")
122 @XmlElementWrapper(name = "referenceObjectBindings", required = true)
123 @XmlElement(name = "referenceObjectBinding", required = false)
124 @WebResult(name = "referenceObjectBindings")
125 public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsDiscriminatorType(
126 @WebParam(name = "referenceObjectKrmsDiscriminatorType") String referenceObjectKrmsDiscriminatorType) throws RiceIllegalArgumentException;
127
128
129
130
131
132
133
134
135
136
137
138
139
140 @WebMethod(operationName = "findReferenceObjectBindingsByReferenceObject ")
141 @XmlElementWrapper(name = "referenceObjectBindings", required = true)
142 @XmlElement(name = "referenceObjectBinding", required = false)
143 @WebResult(name = "referenceObjectBindings")
144 public List<ReferenceObjectBinding> findReferenceObjectBindingsByReferenceObject (
145 @WebParam(name = "referenceObjectReferenceDiscriminatorType") String referenceObjectReferenceDiscriminatorType,
146 @WebParam(name = "referenceObjectId") String referenceObjectId)
147 throws RiceIllegalArgumentException;
148
149
150
151
152
153
154
155
156
157
158 @WebMethod(operationName = "findReferenceObjectBindingsByKrmsObjectId")
159 @XmlElementWrapper(name = "referenceObjectBindings", required = true)
160 @XmlElement(name = "referenceObjectBinding", required = false)
161 @WebResult(name = "referenceObjectBindings")
162 public List<ReferenceObjectBinding> findReferenceObjectBindingsByKrmsObject(
163 @WebParam(name = "krmsObjectId") String krmsObjectId) throws RiceIllegalArgumentException;
164
165
166
167
168
169
170
171
172
173 @WebMethod(operationName = "updateReferenceObjectBinding")
174 public void updateReferenceObjectBinding(ReferenceObjectBinding referenceObjectBindingDefinition) throws RiceIllegalArgumentException;
175
176
177
178
179
180
181
182 @WebMethod(operationName = "deleteReferenceObjectBinding")
183 public void deleteReferenceObjectBinding(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
184
185
186
187
188
189
190
191
192
193
194
195
196
197 @WebMethod(operationName = "findReferenceObjectBindingIds")
198 @XmlElementWrapper(name = "referenceObjectBindingIds", required = true)
199 @XmlElement(name = "referenceObjectBindingId", required = false)
200 @WebResult(name = "referenceObjectBindingIds")
201 List<String> findReferenceObjectBindingIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
202
203
204
205
206
207
208
209
210
211
212
213
214 @WebMethod(operationName = "createAgenda")
215 @WebResult(name = "agenda")
216 public AgendaDefinition createAgenda(@WebParam(name = "AgendaDefinition") AgendaDefinition agendaDefinition) throws RiceIllegalArgumentException;
217
218
219
220
221
222
223
224
225 @WebMethod(operationName = "getAgenda")
226 @WebResult(name = "agenda")
227 public AgendaDefinition getAgenda(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
228
229
230
231
232
233
234
235
236
237 @WebMethod(operationName = "getAgendasByType")
238 @XmlElementWrapper(name = "agendas", required = true)
239 @XmlElement(name = "agenda", required = false)
240 @WebResult(name = "agendas")
241 public List<AgendaDefinition> getAgendasByType(@WebParam(name = "typeId") String typeId) throws RiceIllegalArgumentException;
242
243
244
245
246
247
248
249
250
251 @WebMethod(operationName = "getAgendasByContext")
252 @XmlElementWrapper(name = "agendas", required = true)
253 @XmlElement(name = "agenda", required = false)
254 @WebResult(name = "agendas")
255 public List<AgendaDefinition> getAgendasByContext(@WebParam(name = "contextId") String contextId) throws RiceIllegalArgumentException;
256
257
258
259
260
261
262
263
264
265
266 @WebMethod(operationName = "getAgendasByTypeAndContext")
267 @XmlElementWrapper(name = "agendas", required = true)
268 @XmlElement(name = "agenda", required = false)
269 @WebResult(name = "agendas")
270 public List<AgendaDefinition> getAgendasByTypeAndContext(@WebParam(name = "typeId") String typeId,
271 @WebParam(name = "contextId") String contextId) throws RiceIllegalArgumentException;
272
273
274
275
276
277
278
279
280 @WebMethod(operationName = "updateAgenda")
281 public void updateAgenda(@WebParam(name = "agendaDefinition") AgendaDefinition agendaDefinition) throws RiceIllegalArgumentException;
282
283
284
285
286
287
288
289 @WebMethod(operationName = "deleteAgenda")
290 public void deleteAgenda(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
291
292
293
294
295
296
297
298
299
300
301
302
303 @WebMethod(operationName = "createAgendaItem")
304 @WebResult(name = "agendaItem")
305 public AgendaItemDefinition createAgendaItem(@WebParam(name = "AgendaItemDefinition") AgendaItemDefinition agendaItemDefinition) throws RiceIllegalArgumentException;
306
307
308
309
310
311
312
313
314 @WebMethod(operationName = "getAgendaItem")
315 @WebResult(name = "agendaItem")
316 public AgendaItemDefinition getAgendaItem(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
317
318
319
320
321
322
323
324
325
326 @WebMethod(operationName = "getAgendaItemsByType")
327 @XmlElementWrapper(name = "agendaItems", required = true)
328 @XmlElement(name = "agendaItem", required = false)
329 @WebResult(name = "agendaItems")
330 public List<AgendaItemDefinition> getAgendaItemsByType(@WebParam(name = "typeId") String typeId) throws RiceIllegalArgumentException;
331
332
333
334
335
336
337
338
339
340 @WebMethod(operationName = "getAgendaItemsByContext")
341 @XmlElementWrapper(name = "agendaItems", required = true)
342 @XmlElement(name = "agendaItem", required = false)
343 @WebResult(name = "agendaItems")
344 public List<AgendaItemDefinition> getAgendaItemsByContext(@WebParam(name = "contextId") String contextId) throws RiceIllegalArgumentException;
345
346
347
348
349
350
351
352
353
354
355 @WebMethod(operationName = "getAgendaItemsByTypeAndContext")
356 @XmlElementWrapper(name = "agendaItems", required = true)
357 @XmlElement(name = "agendaItem", required = false)
358 @WebResult(name = "agendaItems")
359 public List<AgendaItemDefinition> getAgendaItemsByTypeAndContext(@WebParam(name = "typeId") String typeId,
360 @WebParam(name = "contextId") String contextId) throws RiceIllegalArgumentException;
361
362
363
364
365
366
367
368
369 @WebMethod(operationName = "updateAgendaItem")
370 public void updateAgendaItem(@WebParam(name = "agendaItemDefinition") AgendaItemDefinition agendaItemDefinition) throws RiceIllegalArgumentException;
371
372
373
374
375
376
377
378 @WebMethod(operationName = "deleteAgendaItem")
379 public void deleteAgendaItem(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
380
381
382
383
384
385
386
387
388
389
390
391
392 @WebMethod(operationName = "createRule")
393 @WebResult(name = "rule")
394 public RuleDefinition createRule(@WebParam(name = "ruleDefinition") RuleDefinition ruleDefinition) throws RiceIllegalArgumentException;
395
396
397
398
399
400
401
402
403
404
405
406
407 @WebMethod(operationName = "getRule")
408 @WebResult(name = "rule")
409 @Cacheable(value = RuleDefinition.Cache.NAME, key = "'ruleId=' + #p0")
410 public RuleDefinition getRule(@WebParam(name = "ruleId") String ruleId);
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431 @WebMethod(operationName = "getRules")
432 @XmlElementWrapper(name = "rules", required = true)
433 @XmlElement(name = "rule", required = false)
434 @WebResult(name = "rules")
435 public List<RuleDefinition> getRules(@WebParam(name = "ruleIds") List<String> ruleIds);
436
437
438
439
440
441
442
443
444 @WebMethod(operationName = "updateRule")
445 public void updateRule(@WebParam(name = "ruleDefinition") RuleDefinition ruleDefinition) throws RiceIllegalArgumentException;
446
447
448
449
450
451
452
453 @WebMethod(operationName = "deleteRule")
454 public void deleteRule(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
455
456
457
458
459
460
461
462
463
464
465
466
467 @WebMethod(operationName = "createAction")
468 @WebResult(name = "action")
469 public ActionDefinition createAction(@WebParam(name = "actionDefinition") ActionDefinition actionDefinition) throws RiceIllegalArgumentException;
470
471
472
473
474
475
476
477
478
479
480
481
482 @WebMethod(operationName = "getAction")
483 @WebResult(name = "action")
484 @Cacheable(value = ActionDefinition.Cache.NAME, key = "'actionId=' + #p0")
485 public ActionDefinition getAction(@WebParam(name = "actionId") String actionId) throws RiceIllegalArgumentException;
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503 @WebMethod(operationName = "getActions")
504 @XmlElementWrapper(name = "actions", required = true)
505 @XmlElement(name = "action", required = false)
506 @WebResult(name = "actions")
507 public List<ActionDefinition> getActions(@WebParam(name = "actionIds") List<String> actionIds) throws RiceIllegalArgumentException;
508
509
510
511
512
513
514
515
516
517 @WebMethod(operationName = "updateAction")
518 public void updateAction(@WebParam(name = "actionDefinition") ActionDefinition actionDefinition) throws RiceIllegalArgumentException;
519
520
521
522
523
524
525
526 @WebMethod(operationName = "deleteAction")
527 public void deleteAction(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
528
529
530
531
532
533
534
535
536
537
538
539
540
541 @WebMethod(operationName = "createProposition")
542 @WebResult(name = "proposition")
543 public PropositionDefinition createProposition(@WebParam(name = "propositionDefinition") PropositionDefinition propositionDefinition) throws RiceIllegalArgumentException;
544
545
546
547
548
549
550
551
552 @WebMethod(operationName = "getProposition")
553 @WebResult(name = "proposition")
554 public PropositionDefinition getProposition(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
555
556
557
558
559
560
561
562
563
564 @WebMethod(operationName = "getPropositionsByType")
565 @XmlElementWrapper(name = "propositions", required = true)
566 @XmlElement(name = "proposition", required = false)
567 @WebResult(name = "propositions")
568 public Set<PropositionDefinition> getPropositionsByType(@WebParam(name = "typeId") String typeId) throws RiceIllegalArgumentException;
569
570
571
572
573
574
575
576
577
578 @WebMethod(operationName = "getPropositionsByRule")
579 @XmlElementWrapper(name = "propositions", required = true)
580 @XmlElement(name = "proposition", required = false)
581 @WebResult(name = "propositions")
582 public Set<PropositionDefinition> getPropositionsByRule(@WebParam(name = "ruleId") String ruleId) throws RiceIllegalArgumentException;
583
584
585
586
587
588
589
590
591 @WebMethod(operationName = "updateProposition")
592 public void updateProposition(
593 @WebParam(name = "propositionDefinition") PropositionDefinition propositionDefinition) throws RiceIllegalArgumentException;
594
595
596
597
598
599
600
601 @WebMethod(operationName = "deleteProposition")
602 public void deleteProposition(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
603
604
605
606
607
608
609
610
611
612
613
614
615 @WebMethod(operationName = "createNaturalLanguageUsage")
616 @WebResult(name = "naturalLanguageUsage")
617 public NaturalLanguageUsage createNaturalLanguageUsage(@WebParam(name = "naturalLanguageUsage") NaturalLanguageUsage naturalLanguageUsage) throws RiceIllegalArgumentException;
618
619
620
621
622
623
624
625
626 @WebMethod(operationName = "getNaturalLanguageUsage")
627 @WebResult(name = "naturalLanguageUsage")
628 public NaturalLanguageUsage getNaturalLanguageUsage(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
629
630
631
632
633
634
635
636
637
638
639
640
641 @WebMethod(operationName = "getNaturalLanguageUsageByNameAndNamespace")
642 @WebResult(name = "naturalLanguageUsage")
643 public NaturalLanguageUsage getNaturalLanguageUsageByNameAndNamespace(@WebParam(name = "name") String name,
644 @WebParam(name = "namespace") String namespace)
645 throws RiceIllegalArgumentException;
646
647
648
649
650
651
652
653
654 @WebMethod(operationName = "updateNaturalLanguageUsage")
655 public void updateNaturalLanguageUsage(@WebParam(name = "naturalLanguageUsage") NaturalLanguageUsage naturalLanguageUsage) throws RiceIllegalArgumentException;
656
657
658
659
660
661
662
663 @WebMethod(operationName = "deleteNaturalLanguageUsage")
664 public void deleteNaturalLanguageUsage(@WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId) throws RiceIllegalArgumentException;
665
666
667
668
669
670
671
672
673
674 @WebMethod(operationName = "getNaturalLanguageUsagesByNamespace")
675 @XmlElementWrapper(name = "naturalLanguageUsages", required = true)
676 @XmlElement(name = "naturalLanguageUsage", required = false)
677 @WebResult(name = "naturalLanguageUsages")
678 public List<NaturalLanguageUsage> getNaturalLanguageUsagesByNamespace(@WebParam(name = "namespace") String namespace)
679 throws RiceIllegalArgumentException;
680
681
682
683
684
685
686
687
688
689
690
691
692 @WebMethod(operationName = "createContext")
693 @WebResult(name = "context")
694 public ContextDefinition createContext(@WebParam(name = "contextDefinition") ContextDefinition contextDefinition) throws RiceIllegalArgumentException;
695
696
697
698
699
700
701
702
703
704
705
706
707
708 @WebMethod(operationName = "findCreateContext")
709 @WebResult(name = "context")
710 public ContextDefinition findCreateContext(@WebParam(name = "contextDefinition") ContextDefinition contextDefinition) throws RiceIllegalArgumentException;
711
712
713
714
715
716
717
718
719
720
721 @WebMethod(operationName = "updateContext")
722 public void updateContext(@WebParam(name = "contextDefinition") ContextDefinition contextDefinition) throws RiceIllegalArgumentException;
723
724
725
726
727
728
729
730 @WebMethod(operationName = "deleteContext")
731 public void deleteContext(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
732
733
734
735
736
737
738
739
740 @WebMethod(operationName = "getContext")
741 @WebResult(name = "context")
742 public ContextDefinition getContext(@WebParam(name = "id") String id) throws RiceIllegalArgumentException;
743
744
745
746
747
748
749
750
751
752
753
754
755
756 @WebMethod(operationName = "getContextByNameAndNamespace")
757 @WebResult(name = "context")
758 public ContextDefinition getContextByNameAndNamespace(@WebParam(name = "name") String name,
759 @WebParam(name = "namespace") String namespace)
760 throws RiceIllegalArgumentException;
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776 @WebMethod(operationName = "createNaturalLanguageTemplate")
777 @WebResult(name = "naturalLanguageTemplate")
778 public NaturalLanguageTemplate createNaturalLanguageTemplate(@WebParam(name = "naturalLanguageTemplate") NaturalLanguageTemplate naturalLanguageTemplate)
779 throws RiceIllegalArgumentException;
780
781
782
783
784
785
786
787
788
789 @WebMethod(operationName = "getNaturalLanguageTemplate")
790 @WebResult(name = "naturalLanguageTemplate")
791 public NaturalLanguageTemplate getNaturalLanguageTemplate(@WebParam(name = "naturalLanguageTemplateId") String naturalLanguageTemplateId)
792 throws RiceIllegalArgumentException;
793
794
795
796
797
798
799
800
801
802 @WebMethod(operationName = "updateNaturalLanguageTemplate")
803 public void updateNaturalLanguageTemplate(@WebParam(name = "naturalLanguageTemplate") NaturalLanguageTemplate naturalLanguageTemplate)
804 throws RiceIllegalArgumentException;
805
806
807
808
809
810
811
812
813 @WebMethod(operationName = "deleteNaturalLanguageTemplate")
814 public void deleteNaturalLanguageTemplate(@WebParam(name = "naturalLanguageTemplateId") String naturalLanguageTemplateId)
815 throws RiceIllegalArgumentException;
816
817
818
819
820
821
822
823 @WebMethod(operationName = "findNaturalLanguageTemplatesByLanguageCode")
824 @XmlElementWrapper(name = "naturalLangaugeTemplates", required = true)
825 @XmlElement(name = "naturalLangaugeTemplate", required = false)
826 @WebResult(name = "naturalLangaugeTemplates")
827 public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByLanguageCode(@WebParam(name = "languageCode") String languageCode)
828 throws RiceIllegalArgumentException;
829
830 @WebMethod(operationName = "findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId")
831 @WebResult(name = "naturalLangaugeTemplate")
832 public NaturalLanguageTemplate findNaturalLanguageTemplateByLanguageCodeTypeIdAndNluId(@WebParam(name = "languageCode") String languageCode,
833 @WebParam(name = "typeId") String typeId,
834 @WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId)
835 throws RiceIllegalArgumentException;
836
837
838
839
840
841
842
843 @WebMethod(operationName = "findNaturalLanguageTemplatesByNaturalLanguageUsage")
844 @XmlElementWrapper(name = "naturalLangaugeTemplates", required = true)
845 @XmlElement(name = "naturalLangaugeTemplate", required = false)
846 @WebResult(name = "naturalLangaugeTemplates")
847 public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByNaturalLanguageUsage(@WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId)
848 throws RiceIllegalArgumentException;
849
850
851
852
853
854
855
856
857
858
859 @WebMethod(operationName = "findNaturalLanguageTemplatesByType")
860 @XmlElementWrapper(name = "naturalLangaugeTemplates", required = true)
861 @XmlElement(name = "naturalLangaugeTemplate", required = false)
862 @WebResult(name = "naturalLangaugeTemplates")
863 public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByType(@WebParam(name = "typeId") String typeId)
864 throws RiceIllegalArgumentException;
865
866
867
868
869
870
871
872 @WebMethod(operationName = "findNaturalLanguageTemplatesByTemplate")
873 @XmlElementWrapper(name = "naturalLangaugeTemplates", required = true)
874 @XmlElement(name = "naturalLangaugeTemplate", required = false)
875 @WebResult(name = "naturalLangaugeTemplates")
876 public List<NaturalLanguageTemplate> findNaturalLanguageTemplatesByTemplate(@WebParam(name = "template") String template)
877 throws RiceIllegalArgumentException;
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897 @WebMethod(operationName = "translateNaturalLanguageForObject")
898 @WebResult(name = "naturalLanguage")
899 @Override
900 public String translateNaturalLanguageForObject(@WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId,
901 @WebParam(name = "typeId") String typeId, @WebParam(name = "krmsObjectId") String krmsObjectId,
902 @WebParam(name = "languageCode") String languageCode) throws RiceIllegalArgumentException;
903
904
905
906
907
908
909 @WebMethod(operationName = "translateNaturalLanguageForProposition")
910 @WebResult(name = "naturalLanguage")
911 @Override
912 public String translateNaturalLanguageForProposition(@WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId,
913 @WebParam(name = "propositionDefinintion") PropositionDefinition propositionDefinintion,
914 @WebParam(name = "languageCode") String languageCode)
915 throws RiceIllegalArgumentException;
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932 @WebMethod(operationName = "translateNaturalLanguageTreeForProposition")
933 @WebResult(name = "naturalLanguageTree")
934 @Override
935 public NaturalLanguageTree translateNaturalLanguageTreeForProposition(@WebParam(name = "naturalLanguageUsageId") String naturalLanguageUsageId,
936 @WebParam(name = "propositionDefinintion") PropositionDefinition propositionDefinintion,
937 @WebParam(name = "languageCode") String languageCode)
938 throws RiceIllegalArgumentException;
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953 @WebMethod(operationName = "findContextIds")
954 @XmlElementWrapper(name = "contextIds", required = true)
955 @XmlElement(name = "context", required = false)
956 @WebResult(name = "contextIds")
957 List<String> findContextIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
958
959
960
961
962
963
964
965
966
967
968
969
970
971 @WebMethod(operationName = "findAgendaIds")
972 @XmlElementWrapper(name = "contextIds", required = true)
973 @XmlElement(name = "agenda", required = false)
974 @WebResult(name = "agendaIds")
975 List<String> findAgendaIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
976
977
978
979
980
981
982
983
984
985
986
987
988
989 @WebMethod(operationName = "findRuleIds")
990 @XmlElementWrapper(name = "ruleIds", required = true)
991 @XmlElement(name = "rule", required = false)
992 @WebResult(name = "ruleIds")
993 List<String> findRuleIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007 @WebMethod(operationName = "findPropositionIds")
1008 @XmlElementWrapper(name = "propositionIds", required = true)
1009 @XmlElement(name = "proposition", required = false)
1010 @WebResult(name = "propositionIds")
1011 List<String> findPropositionIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025 @WebMethod(operationName = "findActionIds")
1026 @XmlElementWrapper(name = "actionIds", required = true)
1027 @XmlElement(name = "action", required = false)
1028 @WebResult(name = "actionIds")
1029 List<String> findActionIds(@WebParam(name = "query") QueryByCriteria queryByCriteria) throws RiceIllegalArgumentException;
1030 }