cd59cdb0bf8d235875e02e8b8144fb51434f9674
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / EPAppsManualPreference.java
1 /*-
2  * ============LICENSE_START==========================================
3  * ONAP Portal
4  * ===================================================================
5  * Copyright © 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  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
37  */
38 package org.openecomp.portalapp.portal.transport;
39
40 public class EPAppsManualPreference {
41         
42         private Long appid;
43         private int col;
44         private String headerText;
45         private String imageLink;
46         private int order;
47         private boolean restrictedApp;
48         private int row;
49         private int sizeX;
50         private int sizeY;
51         private String subHeaderText;
52         private String url;
53         private boolean addRemoveApps;
54         
55         
56         public boolean isAddRemoveApps() {
57                 return addRemoveApps;
58         }
59         public void setAddRemoveApps(boolean addRemoveApps) {
60                 this.addRemoveApps = addRemoveApps;
61         }
62         public Long getAppid() {
63                 return appid;
64         }
65         public void setAppid(Long appid) {
66                 this.appid = appid;
67         }
68         public int getCol() {
69                 return col;
70         }
71         public void setCol(int col) {
72                 this.col = col;
73         }
74         public String getHeaderText() {
75                 return headerText;
76         }
77         public void setHeaderText(String headerText) {
78                 this.headerText = headerText;
79         }
80         public String getImageLink() {
81                 return imageLink;
82         }
83         public void setImageLink(String imageLink) {
84                 this.imageLink = imageLink;
85         }
86         public int getOrder() {
87                 return order;
88         }
89         public void setOrder(int order) {
90                 this.order = order;
91         }
92         public boolean isRestrictedApp() {
93                 return restrictedApp;
94         }
95         public void setRestrictedApp(boolean restrictedApp) {
96                 this.restrictedApp = restrictedApp;
97         }
98         public int getRow() {
99                 return row;
100         }
101         public void setRow(int row) {
102                 this.row = row;
103         }
104         public int getSizeX() {
105                 return sizeX;
106         }
107         public void setSizeX(int sizeX) {
108                 this.sizeX = sizeX;
109         }
110         public int getSizeY() {
111                 return sizeY;
112         }
113         public void setSizeY(int sizeY) {
114                 this.sizeY = sizeY;
115         }
116         public String getSubHeaderText() {
117                 return subHeaderText;
118         }
119         public void setSubHeaderText(String subHeaderText) {
120                 this.subHeaderText = subHeaderText;
121         }
122         public String getUrl() {
123                 return url;
124         }
125         public void setUrl(String url) {
126                 this.url = url;
127         }
128         
129         public boolean isValid(){
130                 return appid != null;
131         }
132 }