2 * ============LICENSE_START==========================================
4 * ===================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ===================================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
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
26 * https://creativecommons.org/licenses/by/4.0/
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.
34 * ============LICENSE_END============================================
38 package org.onap.portalapp.portal.transport;
40 import org.hibernate.validator.constraints.SafeHtml;
42 public class EPAppsManualPreference {
47 private String headerText;
49 private String imageLink;
51 private boolean restrictedApp;
56 private String subHeaderText;
59 private boolean addRemoveApps;
62 public boolean isAddRemoveApps() {
65 public void setAddRemoveApps(boolean addRemoveApps) {
66 this.addRemoveApps = addRemoveApps;
68 public Long getAppid() {
71 public void setAppid(Long appid) {
77 public void setCol(int col) {
80 public String getHeaderText() {
83 public void setHeaderText(String headerText) {
84 this.headerText = headerText;
86 public String getImageLink() {
89 public void setImageLink(String imageLink) {
90 this.imageLink = imageLink;
92 public int getOrder() {
95 public void setOrder(int order) {
98 public boolean isRestrictedApp() {
101 public void setRestrictedApp(boolean restrictedApp) {
102 this.restrictedApp = restrictedApp;
104 public int getRow() {
107 public void setRow(int row) {
110 public int getSizeX() {
113 public void setSizeX(int sizeX) {
116 public int getSizeY() {
119 public void setSizeY(int sizeY) {
122 public String getSubHeaderText() {
123 return subHeaderText;
125 public void setSubHeaderText(String subHeaderText) {
126 this.subHeaderText = subHeaderText;
128 public String getUrl() {
131 public void setUrl(String url) {
135 public boolean isValid(){
136 return appid != null;