[PORTAL-7] Rebase
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / EPAppsManualPreference.java
1 /*-\r
2  * ================================================================================\r
3  * ECOMP Portal\r
4  * ================================================================================\r
5  * Copyright (C) 2017 AT&T Intellectual Property\r
6  * ================================================================================\r
7  * Licensed under the Apache License, Version 2.0 (the "License");\r
8  * you may not use this file except in compliance with the License.\r
9  * You may obtain a copy of the License at\r
10  * \r
11  *      http://www.apache.org/licenses/LICENSE-2.0\r
12  * \r
13  * Unless required by applicable law or agreed to in writing, software\r
14  * distributed under the License is distributed on an "AS IS" BASIS,\r
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
16  * See the License for the specific language governing permissions and\r
17  * limitations under the License.\r
18  * ================================================================================\r
19  */\r
20 package org.openecomp.portalapp.portal.transport;\r
21 \r
22 public class EPAppsManualPreference {\r
23         \r
24         private Long appid;\r
25         private int col;\r
26         private String headerText;\r
27         private String imageLink;\r
28         private int order;\r
29         private boolean restrictedApp;\r
30         private int row;\r
31         private int sizeX;\r
32         private int sizeY;\r
33         private String subHeaderText;\r
34         private String url;\r
35         private boolean addRemoveApps;\r
36         \r
37         \r
38         public boolean isAddRemoveApps() {\r
39                 return addRemoveApps;\r
40         }\r
41         public void setAddRemoveApps(boolean addRemoveApps) {\r
42                 this.addRemoveApps = addRemoveApps;\r
43         }\r
44         public Long getAppid() {\r
45                 return appid;\r
46         }\r
47         public void setAppid(Long appid) {\r
48                 this.appid = appid;\r
49         }\r
50         public int getCol() {\r
51                 return col;\r
52         }\r
53         public void setCol(int col) {\r
54                 this.col = col;\r
55         }\r
56         public String getHeaderText() {\r
57                 return headerText;\r
58         }\r
59         public void setHeaderText(String headerText) {\r
60                 this.headerText = headerText;\r
61         }\r
62         public String getImageLink() {\r
63                 return imageLink;\r
64         }\r
65         public void setImageLink(String imageLink) {\r
66                 this.imageLink = imageLink;\r
67         }\r
68         public int getOrder() {\r
69                 return order;\r
70         }\r
71         public void setOrder(int order) {\r
72                 this.order = order;\r
73         }\r
74         public boolean isRestrictedApp() {\r
75                 return restrictedApp;\r
76         }\r
77         public void setRestrictedApp(boolean restrictedApp) {\r
78                 this.restrictedApp = restrictedApp;\r
79         }\r
80         public int getRow() {\r
81                 return row;\r
82         }\r
83         public void setRow(int row) {\r
84                 this.row = row;\r
85         }\r
86         public int getSizeX() {\r
87                 return sizeX;\r
88         }\r
89         public void setSizeX(int sizeX) {\r
90                 this.sizeX = sizeX;\r
91         }\r
92         public int getSizeY() {\r
93                 return sizeY;\r
94         }\r
95         public void setSizeY(int sizeY) {\r
96                 this.sizeY = sizeY;\r
97         }\r
98         public String getSubHeaderText() {\r
99                 return subHeaderText;\r
100         }\r
101         public void setSubHeaderText(String subHeaderText) {\r
102                 this.subHeaderText = subHeaderText;\r
103         }\r
104         public String getUrl() {\r
105                 return url;\r
106         }\r
107         public void setUrl(String url) {\r
108                 this.url = url;\r
109         }\r
110         \r
111         public boolean isValid(){\r
112                 return appid != null;\r
113         }\r
114 }\r