[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / EPAppsManualPreference.java
1 /*-
2  * ================================================================================
3  * ECOMP Portal
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property
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  * ================================================================================
19  */
20 package org.openecomp.portalapp.portal.transport;
21
22 public class EPAppsManualPreference {
23         
24         private Long appid;
25         private int col;
26         private String headerText;
27         private String imageLink;
28         private int order;
29         private boolean restrictedApp;
30         private int row;
31         private int sizeX;
32         private int sizeY;
33         private String subHeaderText;
34         private String url;
35         private boolean addRemoveApps;
36         
37         
38         public boolean isAddRemoveApps() {
39                 return addRemoveApps;
40         }
41         public void setAddRemoveApps(boolean addRemoveApps) {
42                 this.addRemoveApps = addRemoveApps;
43         }
44         public Long getAppid() {
45                 return appid;
46         }
47         public void setAppid(Long appid) {
48                 this.appid = appid;
49         }
50         public int getCol() {
51                 return col;
52         }
53         public void setCol(int col) {
54                 this.col = col;
55         }
56         public String getHeaderText() {
57                 return headerText;
58         }
59         public void setHeaderText(String headerText) {
60                 this.headerText = headerText;
61         }
62         public String getImageLink() {
63                 return imageLink;
64         }
65         public void setImageLink(String imageLink) {
66                 this.imageLink = imageLink;
67         }
68         public int getOrder() {
69                 return order;
70         }
71         public void setOrder(int order) {
72                 this.order = order;
73         }
74         public boolean isRestrictedApp() {
75                 return restrictedApp;
76         }
77         public void setRestrictedApp(boolean restrictedApp) {
78                 this.restrictedApp = restrictedApp;
79         }
80         public int getRow() {
81                 return row;
82         }
83         public void setRow(int row) {
84                 this.row = row;
85         }
86         public int getSizeX() {
87                 return sizeX;
88         }
89         public void setSizeX(int sizeX) {
90                 this.sizeX = sizeX;
91         }
92         public int getSizeY() {
93                 return sizeY;
94         }
95         public void setSizeY(int sizeY) {
96                 this.sizeY = sizeY;
97         }
98         public String getSubHeaderText() {
99                 return subHeaderText;
100         }
101         public void setSubHeaderText(String subHeaderText) {
102                 this.subHeaderText = subHeaderText;
103         }
104         public String getUrl() {
105                 return url;
106         }
107         public void setUrl(String url) {
108                 this.url = url;
109         }
110         
111         public boolean isValid(){
112                 return appid != null;
113         }
114 }