[PORTAL-16 PORTAL-18] Widget ms; staging
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / portal / transport / WidgetCatalogPersonalization.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 /**
23  * Model for the object PUT to the controller when the user takes an action on
24  * a widget in the catalog.
25  */
26
27 public class WidgetCatalogPersonalization {
28         
29                 public Long widgetId;
30                 public Boolean select;
31                 // not needed as only 'SHOW' and 'HIDE' status_cd is expected from the micro service now
32                 //public Boolean pending;
33
34                 public Long getWidgetId() {
35                         return widgetId;
36                 }
37
38                 public void setWidgetId(Long widgetId) {
39                         this.widgetId = widgetId;
40                 }
41
42                 public Boolean getSelect() {
43                         return select;
44                 }
45
46                 public void setSelect(Boolean select) {
47                         this.select = select;
48                 }
49
50                 /*public Boolean getPending() {
51                         return pending;
52                 }
53
54                 public void setPending(Boolean pending) {
55                         this.pending = pending;
56                 }*/
57 }