XSS Vulnerability fix in AppsController
[portal.git] / ecomp-portal-BE-common / src / main / java / org / onap / portalapp / portal / transport / EPWidgetsSortPreference.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ===================================================================
7  *
8  * Unless otherwise specified, all software contained herein is licensed
9  * under the Apache License, Version 2.0 (the "License");
10  * you may not use this software except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  *             http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  * Unless otherwise specified, all documentation contained herein is licensed
22  * under the Creative Commons License, Attribution 4.0 Intl. (the "License");
23  * you may not use this documentation except in compliance with the License.
24  * You may obtain a copy of the License at
25  *
26  *             https://creativecommons.org/licenses/by/4.0/
27  *
28  * Unless required by applicable law or agreed to in writing, documentation
29  * distributed under the License is distributed on an "AS IS" BASIS,
30  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
31  * See the License for the specific language governing permissions and
32  * limitations under the License.
33  *
34  * ============LICENSE_END============================================
35  *
36  * 
37  */
38 package org.onap.portalapp.portal.transport;
39
40 import java.util.List;
41 import org.hibernate.validator.constraints.SafeHtml;
42
43 public class EPWidgetsSortPreference {
44         
45         private int SizeX;
46         private int SizeY;
47         @SafeHtml
48         private String headerText;
49         @SafeHtml
50         private String url;
51         private Long widgetid;
52         private List<Object> attrb;
53         @SafeHtml
54         private String widgetIdentifier;
55         private int row;
56         private int col;
57         
58         public String getWidgetIdentifier() {
59                 return widgetIdentifier;
60         }
61         public List<Object> getAttrb() {
62                 return attrb;
63         }
64         public void setAttrb(List<Object> attrb) {
65                 this.attrb = attrb;
66         }
67         public void setWidgetIdentifier(String widgetIdentifier) {
68                 this.widgetIdentifier = widgetIdentifier;
69         }
70         public int getSizeX() {
71                 return SizeX;
72         }
73         public void setSizeX(int sizeX) {
74                 SizeX = sizeX;
75         }
76         public int getSizeY() {
77                 return SizeY;
78         }
79         public void setSizeY(int sizeY) {
80                 SizeY = sizeY;
81         }
82         public String getHeaderText() {
83                 return headerText;
84         }
85         public void setHeaderText(String headerText) {
86                 this.headerText = headerText;
87         }
88         public String getUrl() {
89                 return url;
90         }
91         public void setUrl(String url) {
92                 this.url = url;
93         }
94         public Long getWidgetid() {
95                 return widgetid;
96         }
97         public void setWidgetid(Long widgetid) {
98                 this.widgetid = widgetid;
99         }
100         public int getRow() {
101                 return row;
102         }
103         public void setRow(int row) {
104                 this.row = row;
105         }
106         public int getCol() {
107                 return col;
108         }
109         public void setCol(int col) {
110                 this.col = col;
111         }
112         
113         
114 }