Update css file name in conf.py
[policy/engine.git] / ONAP-PAP-REST / src / main / java / org / onap / policy / pap / xacml / rest / service / DictionaryService.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP-PAP-REST
4  * ================================================================================
5  * Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.onap.policy.pap.xacml.rest.service;
22
23 import java.io.IOException;
24
25 import javax.servlet.http.HttpServletRequest;
26 import javax.servlet.http.HttpServletResponse;
27
28 import org.onap.policy.pap.xacml.rest.controller.ActionPolicyDictionaryController;
29 import org.onap.policy.pap.xacml.rest.controller.BRMSDictionaryController;
30 import org.onap.policy.pap.xacml.rest.controller.ClosedLoopDictionaryController;
31 import org.onap.policy.pap.xacml.rest.controller.DecisionPolicyDictionaryController;
32 import org.onap.policy.pap.xacml.rest.controller.DescriptiveDictionaryController;
33 import org.onap.policy.pap.xacml.rest.controller.DictionaryController;
34 import org.onap.policy.pap.xacml.rest.controller.FirewallDictionaryController;
35 import org.onap.policy.pap.xacml.rest.controller.MicroServiceDictionaryController;
36 import org.onap.policy.pap.xacml.rest.controller.OptimizationDictionaryController;
37 import org.onap.policy.pap.xacml.rest.controller.PolicyScopeDictionaryController;
38 import org.onap.policy.pap.xacml.rest.controller.SafePolicyController;
39 import org.springframework.stereotype.Service;
40 import org.springframework.web.servlet.ModelAndView;
41
42 // TODO: Auto-generated Javadoc
43 /**
44  * The Class DictionaryService.
45  */
46 @Service("DictionaryService")
47 public class DictionaryService {
48
49     /**
50      * Save onap dictionary.
51      *
52      * @param request the request
53      * @param response the response
54      * @return the string
55      * @throws IOException Signals that an I/O exception has occurred.
56      */
57     /*
58      * Methods that call the controller method directly to Save and Update dictionary data
59      */
60     public String saveOnapDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
61
62         DictionaryController dictionary = new DictionaryController();
63         ModelAndView result = dictionary.saveOnapDictionary(request, response);
64         return result.getViewName();
65     }
66
67     /**
68      * Save attribute dictionary.
69      *
70      * @param request the request
71      * @param response the response
72      * @return the string
73      * @throws IOException Signals that an I/O exception has occurred.
74      */
75     public String saveAttributeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
76
77         DictionaryController dictionary = new DictionaryController();
78         ModelAndView result = dictionary.saveAttributeDictionary(request, response);
79         return result.getViewName();
80     }
81
82     /**
83      * Save action policy dictionary.
84      *
85      * @param request the request
86      * @param response the response
87      * @return the string
88      * @throws IOException Signals that an I/O exception has occurred.
89      */
90     public String saveActionPolicyDictionary(HttpServletRequest request, HttpServletResponse response)
91             throws IOException {
92
93         ActionPolicyDictionaryController action = new ActionPolicyDictionaryController();
94         ModelAndView result = action.saveActionPolicyDictionary(request, response);
95         return result.getViewName();
96     }
97
98     /**
99      * Save BRMS param dictionary.
100      *
101      * @param request the request
102      * @param response the response
103      * @return the string
104      * @throws IOException Signals that an I/O exception has occurred.
105      */
106     public String saveBRMSParamDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
107
108         BRMSDictionaryController dictionary = new BRMSDictionaryController();
109         ModelAndView result = dictionary.saveBRMSParamDictionary(request, response);
110         return result.getViewName();
111     }
112
113     /**
114      * Save VSCL action.
115      *
116      * @param request the request
117      * @param response the response
118      * @return the string
119      * @throws IOException Signals that an I/O exception has occurred.
120      */
121     public String saveVSCLAction(HttpServletRequest request, HttpServletResponse response) throws IOException {
122
123         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
124         ModelAndView result = dictionary.saveVSCLAction(request, response);
125         return result.getViewName();
126     }
127
128     /**
129      * Save vnf type.
130      *
131      * @param request the request
132      * @param response the response
133      * @return the string
134      * @throws IOException Signals that an I/O exception has occurred.
135      */
136     public String saveVnfType(HttpServletRequest request, HttpServletResponse response) throws IOException {
137
138         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
139         ModelAndView result = dictionary.saveVnfType(request, response);
140         return result.getViewName();
141     }
142
143     /**
144      * Save PEP options.
145      *
146      * @param request the request
147      * @param response the response
148      * @return the string
149      * @throws IOException Signals that an I/O exception has occurred.
150      */
151     public String savePEPOptions(HttpServletRequest request, HttpServletResponse response) throws IOException {
152
153         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
154         ModelAndView result = dictionary.savePEPOptions(request, response);
155         return result.getViewName();
156     }
157
158     /**
159      * Save varbind.
160      *
161      * @param request the request
162      * @param response the response
163      * @return the string
164      * @throws IOException Signals that an I/O exception has occurred.
165      */
166     public String saveVarbind(HttpServletRequest request, HttpServletResponse response) throws IOException {
167
168         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
169         ModelAndView result = dictionary.saveVarbind(request, response);
170         return result.getViewName();
171     }
172
173     /**
174      * Save service type.
175      *
176      * @param request the request
177      * @param response the response
178      * @return the string
179      * @throws IOException Signals that an I/O exception has occurred.
180      */
181     public String saveServiceType(HttpServletRequest request, HttpServletResponse response) throws IOException {
182
183         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
184         ModelAndView result = dictionary.saveServiceType(request, response);
185         return result.getViewName();
186     }
187
188     /**
189      * Save site type.
190      *
191      * @param request the request
192      * @param response the response
193      * @return the string
194      * @throws IOException Signals that an I/O exception has occurred.
195      */
196     public String saveSiteType(HttpServletRequest request, HttpServletResponse response) throws IOException {
197
198         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
199         ModelAndView result = dictionary.saveSiteType(request, response);
200         return result.getViewName();
201     }
202
203     /**
204      * Save settings dictionary.
205      *
206      * @param request the request
207      * @param response the response
208      * @return the string
209      * @throws IOException Signals that an I/O exception has occurred.
210      */
211     public String saveSettingsDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
212
213         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
214         ModelAndView result = dictionary.saveSettingsDictionary(request, response);
215         return result.getViewName();
216     }
217
218     /**
219      * Save rainy day dictionary.
220      *
221      * @param request the request
222      * @param response the response
223      * @return the string
224      * @throws IOException Signals that an I/O exception has occurred.
225      */
226     public String saveRainyDayDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
227
228         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
229         ModelAndView result = dictionary.saveRainyDayDictionary(request, response);
230         return result.getViewName();
231     }
232
233     /**
234      * Save descriptive dictionary.
235      *
236      * @param request the request
237      * @param response the response
238      * @return the string
239      * @throws IOException Signals that an I/O exception has occurred.
240      */
241     public String saveDescriptiveDictionary(HttpServletRequest request, HttpServletResponse response)
242             throws IOException {
243
244         DescriptiveDictionaryController dictionary = new DescriptiveDictionaryController();
245         ModelAndView result = dictionary.saveDescriptiveDictionary(request, response);
246         return result.getViewName();
247     }
248
249     /**
250      * Save action list dictionary.
251      *
252      * @param request the request
253      * @param response the response
254      * @return the string
255      * @throws IOException Signals that an I/O exception has occurred.
256      */
257     public String saveActionListDictionary(HttpServletRequest request, HttpServletResponse response)
258             throws IOException {
259
260         FirewallDictionaryController dictionary = new FirewallDictionaryController();
261         ModelAndView result = dictionary.saveActionListDictionary(request, response);
262         return result.getViewName();
263     }
264
265     /**
266      * Save protocol list dictionary.
267      *
268      * @param request the request
269      * @param response the response
270      * @return the string
271      * @throws IOException Signals that an I/O exception has occurred.
272      */
273     public String saveProtocolListDictionary(HttpServletRequest request, HttpServletResponse response)
274             throws IOException {
275
276         FirewallDictionaryController dictionary = new FirewallDictionaryController();
277         ModelAndView result = dictionary.saveProtocolListDictionary(request, response);
278         return result.getViewName();
279     }
280
281     /**
282      * Save zone dictionary.
283      *
284      * @param request the request
285      * @param response the response
286      * @return the string
287      * @throws IOException Signals that an I/O exception has occurred.
288      */
289     public String saveZoneDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
290
291         FirewallDictionaryController dictionary = new FirewallDictionaryController();
292         ModelAndView result = dictionary.saveZoneDictionary(request, response);
293         return result.getViewName();
294     }
295
296     /**
297      * Save security zone dictionary.
298      *
299      * @param request the request
300      * @param response the response
301      * @return the string
302      * @throws IOException Signals that an I/O exception has occurred.
303      */
304     public String saveSecurityZoneDictionary(HttpServletRequest request, HttpServletResponse response)
305             throws IOException {
306
307         FirewallDictionaryController dictionary = new FirewallDictionaryController();
308         ModelAndView result = dictionary.saveSecurityZoneDictionary(request, response);
309         return result.getViewName();
310     }
311
312     /**
313      * Save prefix list dictionary.
314      *
315      * @param request the request
316      * @param response the response
317      * @return the string
318      * @throws IOException Signals that an I/O exception has occurred.
319      */
320     public String savePrefixListDictionary(HttpServletRequest request, HttpServletResponse response)
321             throws IOException {
322
323         FirewallDictionaryController dictionary = new FirewallDictionaryController();
324         ModelAndView result = dictionary.savePrefixListDictionary(request, response);
325         return result.getViewName();
326     }
327
328     /**
329      * Save address group dictionary.
330      *
331      * @param request the request
332      * @param response the response
333      * @return the string
334      * @throws IOException Signals that an I/O exception has occurred.
335      */
336     public String saveAddressGroupDictionary(HttpServletRequest request, HttpServletResponse response)
337             throws IOException {
338
339         FirewallDictionaryController dictionary = new FirewallDictionaryController();
340         ModelAndView result = dictionary.saveAddressGroupDictionary(request, response);
341         return result.getViewName();
342     }
343
344     /**
345      * Save service group dictionary.
346      *
347      * @param request the request
348      * @param response the response
349      * @return the string
350      * @throws IOException Signals that an I/O exception has occurred.
351      */
352     public String saveServiceGroupDictionary(HttpServletRequest request, HttpServletResponse response)
353             throws IOException {
354
355         FirewallDictionaryController dictionary = new FirewallDictionaryController();
356         ModelAndView result = dictionary.saveServiceGroupDictionary(request, response);
357         return result.getViewName();
358     }
359
360     /**
361      * Save service list dictionary.
362      *
363      * @param request the request
364      * @param response the response
365      * @return the string
366      * @throws IOException Signals that an I/O exception has occurred.
367      */
368     public String saveServiceListDictionary(HttpServletRequest request, HttpServletResponse response)
369             throws IOException {
370
371         FirewallDictionaryController dictionary = new FirewallDictionaryController();
372         ModelAndView result = dictionary.saveServiceListDictionary(request, response);
373         return result.getViewName();
374     }
375
376     /**
377      * Save term list dictionary.
378      *
379      * @param request the request
380      * @param response the response
381      * @return the string
382      * @throws IOException Signals that an I/O exception has occurred.
383      */
384     public String saveTermListDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
385
386         FirewallDictionaryController dictionary = new FirewallDictionaryController();
387         ModelAndView result = dictionary.saveTermListDictionary(request, response);
388         return result.getViewName();
389     }
390
391     /**
392      * Save micro service location dictionary.
393      *
394      * @param request the request
395      * @param response the response
396      * @return the string
397      * @throws IOException Signals that an I/O exception has occurred.
398      */
399     public String saveMicroServiceLocationDictionary(HttpServletRequest request, HttpServletResponse response)
400             throws IOException {
401
402         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
403         ModelAndView result = dictionary.saveMicroServiceLocationDictionary(request, response);
404         return result.getViewName();
405     }
406
407     /**
408      * Save micro service config name dictionary.
409      *
410      * @param request the request
411      * @param response the response
412      * @return the string
413      * @throws IOException Signals that an I/O exception has occurred.
414      */
415     public String saveMicroServiceConfigNameDictionary(HttpServletRequest request, HttpServletResponse response)
416             throws IOException {
417
418         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
419         ModelAndView result = dictionary.saveMicroServiceConfigNameDictionary(request, response);
420         return result.getViewName();
421     }
422
423     /**
424      * Save micro service dictionary data.
425      *
426      * @param request the request
427      * @param response the response
428      * @return the string
429      * @throws IOException Signals that an I/O exception has occurred.
430      */
431     public String saveMicroServiceDictionaryData(HttpServletRequest request, HttpServletResponse response)
432             throws IOException {
433
434         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
435         ModelAndView result = dictionary.saveDictionaryData(request, response);
436         return result.getViewName();
437     }
438
439     /**
440      * Save DCAEUUID dictionary.
441      *
442      * @param request the request
443      * @param response the response
444      * @return the string
445      * @throws IOException Signals that an I/O exception has occurred.
446      */
447     public String saveDCAEUUIDDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
448
449         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
450         ModelAndView result = dictionary.saveDCAEUUIDDictionary(request, response);
451         return result.getViewName();
452     }
453
454     /**
455      * Save micro service models dictionary.
456      *
457      * @param request the request
458      * @param response the response
459      * @return the string
460      * @throws IOException Signals that an I/O exception has occurred.
461      */
462     public String saveMicroServiceModelsDictionary(HttpServletRequest request, HttpServletResponse response)
463             throws IOException {
464
465         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
466         ModelAndView result = dictionary.saveMicroServiceModelsDictionary(request, response);
467         return result.getViewName();
468     }
469
470     /**
471      * Save micro service dictionary.
472      *
473      * @param request the request
474      * @param response the response
475      * @return the string
476      * @throws IOException Signals that an I/O exception has occurred.
477      */
478     public String saveMicroServiceDictionary(HttpServletRequest request, HttpServletResponse response)
479             throws IOException {
480
481         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
482         ModelAndView result = dictionary.saveMicroServiceAttributeDictionary(request, response);
483         return result.getViewName();
484     }
485
486     /**
487      * Save optimization models dictionary.
488      *
489      * @param request the request
490      * @param response the response
491      * @return the string
492      * @throws IOException Signals that an I/O exception has occurred.
493      */
494     public String saveOptimizationModelsDictionary(HttpServletRequest request, HttpServletResponse response)
495             throws IOException {
496
497         OptimizationDictionaryController dictionary = new OptimizationDictionaryController();
498         ModelAndView result = dictionary.saveOptimizationModelsDictionary(request, response);
499         return result.getViewName();
500     }
501
502     /**
503      * Save PS service dictionary.
504      *
505      * @param request the request
506      * @param response the response
507      * @return the string
508      * @throws IOException Signals that an I/O exception has occurred.
509      */
510     public String savePSServiceDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
511
512         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
513         ModelAndView result = dictionary.savePSServiceDictionary(request, response);
514         return result.getViewName();
515     }
516
517     /**
518      * Save PS resource dictionary.
519      *
520      * @param request the request
521      * @param response the response
522      * @return the string
523      * @throws IOException Signals that an I/O exception has occurred.
524      */
525     public String savePSResourceDictionary(HttpServletRequest request, HttpServletResponse response)
526             throws IOException {
527
528         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
529         ModelAndView result = dictionary.savePSResourceDictionary(request, response);
530         return result.getViewName();
531     }
532
533     /**
534      * Save PS type dictionary.
535      *
536      * @param request the request
537      * @param response the response
538      * @return the string
539      * @throws IOException Signals that an I/O exception has occurred.
540      */
541     public String savePSTypeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
542
543         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
544         ModelAndView result = dictionary.savePSTypeDictionary(request, response);
545         return result.getViewName();
546     }
547
548     /**
549      * Save PS closed loop dictionary.
550      *
551      * @param request the request
552      * @param response the response
553      * @return the string
554      * @throws IOException Signals that an I/O exception has occurred.
555      */
556     public String savePSClosedLoopDictionary(HttpServletRequest request, HttpServletResponse response)
557             throws IOException {
558
559         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
560         ModelAndView result = dictionary.savePSClosedLoopDictionary(request, response);
561         return result.getViewName();
562     }
563
564     /**
565      * Save PS group scope dictionary.
566      *
567      * @param request the request
568      * @param response the response
569      * @return the string
570      * @throws IOException Signals that an I/O exception has occurred.
571      */
572     public String savePSGroupScopeDictionary(HttpServletRequest request, HttpServletResponse response)
573             throws IOException {
574
575         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
576         ModelAndView result = dictionary.savePSGroupScopeDictionary(request, response);
577         return result.getViewName();
578     }
579
580     /**
581      * Save risk type dictionary.
582      *
583      * @param request the request
584      * @param response the response
585      * @return the string
586      * @throws IOException Signals that an I/O exception has occurred.
587      */
588     public String saveRiskTypeDictionary(HttpServletRequest request, HttpServletResponse response) throws IOException {
589
590         SafePolicyController dictionary = new SafePolicyController();
591         ModelAndView result = dictionary.saveRiskTypeDictionary(request, response);
592         return result.getViewName();
593     }
594
595     /**
596      * Save safe policy warning dictionary.
597      *
598      * @param request the request
599      * @param response the response
600      * @return the string
601      * @throws IOException Signals that an I/O exception has occurred.
602      */
603     public String saveSafePolicyWarningDictionary(HttpServletRequest request, HttpServletResponse response)
604             throws IOException {
605         SafePolicyController dictionary = new SafePolicyController();
606         ModelAndView result = dictionary.saveSafePolicyWarningDictionary(request, response);
607         return result.getViewName();
608     }
609
610     /**
611      * Gets the onap dictionary.
612      *
613      * @param response the response
614      * @return the onap dictionary
615      */
616     /*
617      * Methods that call the controller get methods directly to get dictionary data
618      */
619     public void getOnapDictionary(HttpServletResponse response) {
620         DictionaryController dictionary = new DictionaryController();
621         dictionary.getOnapNameDictionaryEntityData(response);
622     }
623
624     /**
625      * Gets the attribute dictionary.
626      *
627      * @param response the response
628      * @return the attribute dictionary
629      */
630     public void getAttributeDictionary(HttpServletResponse response) {
631         DictionaryController dictionary = new DictionaryController();
632         dictionary.getAttributeDictionaryEntityData(response);
633     }
634
635     /**
636      * Gets the action policy dictionary.
637      *
638      * @param response the response
639      * @return the action policy dictionary
640      */
641     public void getActionPolicyDictionary(HttpServletResponse response) {
642         ActionPolicyDictionaryController action = new ActionPolicyDictionaryController();
643         action.getActionPolicyDictionaryEntityData(response);
644     }
645
646     /**
647      * Gets the BRMS param dictionary.
648      *
649      * @param response the response
650      * @return the BRMS param dictionary
651      */
652     public void getBRMSParamDictionary(HttpServletResponse response) {
653         BRMSDictionaryController dictionary = new BRMSDictionaryController();
654         dictionary.getBRMSParamDictionaryEntityData(response);
655     }
656
657     /**
658      * Gets the VSCL action.
659      *
660      * @param response the response
661      * @return the VSCL action
662      */
663     public void getVSCLAction(HttpServletResponse response) {
664         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
665         dictionary.getVSCLActionDictionaryEntityData(response);
666     }
667
668     /**
669      * Gets the vnf type.
670      *
671      * @param response the response
672      * @return the vnf type
673      */
674     public void getVnfType(HttpServletResponse response) {
675         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
676         dictionary.getVNFTypeDictionaryEntityData(response);
677     }
678
679     /**
680      * Gets the PEP options.
681      *
682      * @param response the response
683      * @return the PEP options
684      */
685     public void getPEPOptions(HttpServletResponse response) {
686         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
687         dictionary.getPEPOptionsDictionaryEntityData(response);
688     }
689
690     /**
691      * Gets the varbind.
692      *
693      * @param response the response
694      * @return the varbind
695      */
696     public void getVarbind(HttpServletResponse response) {
697         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
698         dictionary.getVarbindDictionaryEntityData(response);
699     }
700
701     /**
702      * Gets the service type.
703      *
704      * @param response the response
705      * @return the service type
706      */
707     public void getServiceType(HttpServletResponse response) {
708         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
709         dictionary.getClosedLoopServiceDictionaryEntityData(response);
710     }
711
712     /**
713      * Gets the site type.
714      *
715      * @param response the response
716      * @return the site type
717      */
718     public void getSiteType(HttpServletResponse response) {
719         ClosedLoopDictionaryController dictionary = new ClosedLoopDictionaryController();
720         dictionary.getClosedLoopSiteDictionaryEntityData(response);
721     }
722
723     /**
724      * Gets the settings dictionary.
725      *
726      * @param response the response
727      * @return the settings dictionary
728      */
729     public void getSettingsDictionary(HttpServletResponse response) {
730         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
731         dictionary.getSettingsDictionaryEntityData(response);
732     }
733
734     /**
735      * Gets the rainy day dictionary.
736      *
737      * @param response the response
738      * @return the rainy day dictionary
739      */
740     public void getRainyDayDictionary(HttpServletResponse response) {
741         DecisionPolicyDictionaryController dictionary = new DecisionPolicyDictionaryController();
742         dictionary.getRainyDayDictionaryEntityData(response);
743     }
744
745     /**
746      * Gets the descriptive dictionary.
747      *
748      * @param response the response
749      * @return the descriptive dictionary
750      */
751     public void getDescriptiveDictionary(HttpServletResponse response) {
752         DescriptiveDictionaryController dictionary = new DescriptiveDictionaryController();
753         dictionary.getDescriptiveDictionaryEntityData(response);
754     }
755
756     /**
757      * Gets the action list dictionary.
758      *
759      * @param response the response
760      * @return the action list dictionary
761      */
762     public void getActionListDictionary(HttpServletResponse response) {
763         FirewallDictionaryController dictionary = new FirewallDictionaryController();
764         dictionary.getActionListDictionaryEntityData(response);
765     }
766
767     /**
768      * Gets the protocol list dictionary.
769      *
770      * @param response the response
771      * @return the protocol list dictionary
772      */
773     public void getProtocolListDictionary(HttpServletResponse response) {
774         FirewallDictionaryController dictionary = new FirewallDictionaryController();
775         dictionary.getProtocolListDictionaryEntityData(response);
776     }
777
778     /**
779      * Gets the zone dictionary.
780      *
781      * @param response the response
782      * @return the zone dictionary
783      */
784     public void getZoneDictionary(HttpServletResponse response) {
785         FirewallDictionaryController dictionary = new FirewallDictionaryController();
786         dictionary.getZoneDictionaryEntityData(response);
787     }
788
789     /**
790      * Gets the security zone dictionary.
791      *
792      * @param response the response
793      * @return the security zone dictionary
794      */
795     public void getSecurityZoneDictionary(HttpServletResponse response) {
796         FirewallDictionaryController dictionary = new FirewallDictionaryController();
797         dictionary.getSecurityZoneDictionaryEntityData(response);
798     }
799
800     /**
801      * Gets the prefix list dictionary.
802      *
803      * @param response the response
804      * @return the prefix list dictionary
805      */
806     public void getPrefixListDictionary(HttpServletResponse response) {
807         FirewallDictionaryController dictionary = new FirewallDictionaryController();
808         dictionary.getPrefixListDictionaryEntityData(response);
809     }
810
811     /**
812      * Gets the address group dictionary.
813      *
814      * @param response the response
815      * @return the address group dictionary
816      */
817     public void getAddressGroupDictionary(HttpServletResponse response) {
818         FirewallDictionaryController dictionary = new FirewallDictionaryController();
819         dictionary.getAddressGroupDictionaryEntityData(response);
820     }
821
822     /**
823      * Gets the service group dictionary.
824      *
825      * @param response the response
826      * @return the service group dictionary
827      */
828     public void getServiceGroupDictionary(HttpServletResponse response) {
829         FirewallDictionaryController dictionary = new FirewallDictionaryController();
830         dictionary.getServiceGroupDictionaryEntityData(response);
831     }
832
833     /**
834      * Gets the service list dictionary.
835      *
836      * @param response the response
837      * @return the service list dictionary
838      */
839     public void getServiceListDictionary(HttpServletResponse response) {
840         FirewallDictionaryController dictionary = new FirewallDictionaryController();
841         dictionary.getServiceListDictionaryEntityData(response);
842     }
843
844     /**
845      * Gets the term list dictionary.
846      *
847      * @param response the response
848      * @return the term list dictionary
849      */
850     public void getTermListDictionary(HttpServletResponse response) {
851         FirewallDictionaryController dictionary = new FirewallDictionaryController();
852         dictionary.getTermListDictionaryEntityData(response);
853     }
854
855     /**
856      * Gets the micro service location dictionary.
857      *
858      * @param response the response
859      * @return the micro service location dictionary
860      */
861     public void getMicroServiceLocationDictionary(HttpServletResponse response) {
862         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
863         dictionary.getMicroServiceLocationDictionaryEntityData(response);
864     }
865
866     /**
867      * Gets the micro service config name dictionary.
868      *
869      * @param response the response
870      * @return the micro service config name dictionary
871      */
872     public void getMicroServiceConfigNameDictionary(HttpServletResponse response) {
873         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
874         dictionary.getMicroServiceConfigNameDictionaryEntityData(response);
875     }
876
877     /**
878      * Gets the micro service dictionary data.
879      *
880      * @param response the response
881      * @return the micro service dictionary data
882      */
883     public void getMicroServiceDictionaryData(HttpServletResponse response) {
884         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
885         dictionary.getMicroServiceDictNameDictionaryEntityData(response);
886     }
887
888     /**
889      * Gets the DCAEUUID dictionary.
890      *
891      * @param response the response
892      * @return the DCAEUUID dictionary
893      */
894     public void getDCAEUUIDDictionary(HttpServletResponse response) {
895         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
896         dictionary.getDCAEUUIDDictionaryEntityData(response);
897     }
898
899     /**
900      * Gets the micro service models dictionary.
901      *
902      * @param response the response
903      * @return the micro service models dictionary
904      */
905     public void getMicroServiceModelsDictionary(HttpServletResponse response) {
906         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
907         dictionary.getMicroServiceModelsDictionaryEntityData(response);
908     }
909
910     /**
911      * Gets the micro service dictionary.
912      *
913      * @param response the response
914      * @return the micro service dictionary
915      */
916     public void getMicroServiceDictionary(HttpServletResponse response) {
917         MicroServiceDictionaryController dictionary = new MicroServiceDictionaryController();
918         dictionary.getMicroServiceModelsDictionaryEntityData(response);
919     }
920
921     /**
922      * Gets the optimization models dictionary.
923      *
924      * @param response the response
925      * @return the optimization models dictionary
926      */
927     public void getOptimizationModelsDictionary(HttpServletResponse response) {
928         OptimizationDictionaryController dictionary = new OptimizationDictionaryController();
929         dictionary.getOptimizationModelsDictionaryEntityData(response);
930     }
931
932     /**
933      * Gets the PS service dictionary.
934      *
935      * @param response the response
936      * @return the PS service dictionary
937      */
938     public void getPSServiceDictionary(HttpServletResponse response) {
939         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
940         dictionary.getPSServiceEntityData(response);
941     }
942
943     /**
944      * Gets the PS resource dictionary.
945      *
946      * @param response the response
947      * @return the PS resource dictionary
948      */
949     public void getPSResourceDictionary(HttpServletResponse response) {
950         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
951         dictionary.getPSResourceEntityData(response);
952     }
953
954     /**
955      * Gets the PS type dictionary.
956      *
957      * @param response the response
958      * @return the PS type dictionary
959      */
960     public void getPSTypeDictionary(HttpServletResponse response) {
961         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
962         dictionary.getPSTypeEntityData(response);
963     }
964
965     /**
966      * Gets the PS closed loop dictionary.
967      *
968      * @param response the response
969      * @return the PS closed loop dictionary
970      */
971     public void getPSClosedLoopDictionary(HttpServletResponse response) {
972         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
973         dictionary.getPSClosedLoopEntityData(response);
974     }
975
976     /**
977      * Gets the PS group scope dictionary.
978      *
979      * @param response the response
980      * @return the PS group scope dictionary
981      */
982     public void getPSGroupScopeDictionary(HttpServletResponse response) {
983         PolicyScopeDictionaryController dictionary = new PolicyScopeDictionaryController();
984         dictionary.getGroupPolicyScopeEntityData(response);
985     }
986
987     /**
988      * Gets the risk type dictionary.
989      *
990      * @param response the response
991      * @return the risk type dictionary
992      */
993     public void getRiskTypeDictionary(HttpServletResponse response) {
994         SafePolicyController dictionary = new SafePolicyController();
995         dictionary.getRiskTypeDictionaryEntityData(response);
996     }
997
998     /**
999      * Gets the safe policy warning dictionary.
1000      *
1001      * @param response the response
1002      * @return the safe policy warning dictionary
1003      */
1004     public void getSafePolicyWarningDictionary(HttpServletResponse response) {
1005         SafePolicyController dictionary = new SafePolicyController();
1006         dictionary.getSafePolicyWarningeEntityData(response);
1007     }
1008 }