54a17fc2c08b0d5a8178d1486116f43623818eb8
[portal.git] / ecomp-portal-BE-common / src / main / java / org / openecomp / portalapp / command / EPLoginBean.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.command;
39
40 import java.util.Set;
41
42 import org.openecomp.portalapp.portal.domain.EPUser;
43 import org.openecomp.portalsdk.core.domain.support.FusionCommand;
44
45 public class EPLoginBean extends FusionCommand {
46     private String loginId;
47     private String loginPwd;
48     private String hrid;
49     private String orgUserId;
50     private String siteAccess;
51     private String loginErrorMessage;
52
53     private EPUser user;
54     private Set<?>  menu;
55     private Set<?>  businessDirectMenu;
56
57     /**
58      * getLoginId
59      *
60      * @return String
61      */
62     public String getLoginId() {
63         return loginId;
64     }
65
66     /**
67      * getLoginPwd
68      *
69      * @return String
70      */
71     public String getLoginPwd() {
72         return loginPwd;
73     }
74
75     /**
76      * getMenu
77      *
78      * @return Set
79      */
80     public Set<?> getMenu() {
81         return menu;
82     }
83
84     /**
85      * getUser
86      *
87      * @return User
88      */
89     public EPUser getUser() {
90         return user;
91     }
92
93     /**
94      * getHrid
95      *
96      * @return String
97      */
98     public String getHrid() {
99         return hrid;
100     }
101
102     /**
103      * getSiteAccess
104      *
105      * @return String
106      */
107     public String getSiteAccess() {
108         return siteAccess;
109     }
110
111     /**
112      * getBusinessDirectMenu
113      *
114      * @return Set
115      */
116     public Set<?> getBusinessDirectMenu() {
117         return businessDirectMenu;
118     }
119
120     /**
121      * getLoginErrorMessage
122      *
123      * @return String
124      */
125     public String getLoginErrorMessage() {
126         return loginErrorMessage;
127     }
128
129     public String getOrgUserId() {
130         return orgUserId;
131     }
132
133     /**
134      * setLoginId
135      *
136      * @param loginId String
137      */
138     public void setLoginId(String loginId) {
139         this.loginId = loginId;
140     }
141
142     /**
143      * setLoginPwd
144      *
145      * @param loginPwd String
146      */
147     public void setLoginPwd(String loginPwd) {
148         this.loginPwd = loginPwd;
149     }
150
151     public void setMenu(Set<?> menu) {
152         this.menu = menu;
153     }
154
155     /**
156      * setUser
157      *
158      * @param user User
159      */
160     public void setUser(EPUser user) {
161         this.user = user;
162     }
163
164     /**
165      * setHrid
166      *
167      * @param hrid String
168      */
169     public void setHrid(String hrid) {
170         this.hrid = hrid;
171     }
172
173     /**
174      * setSiteAccess
175      *
176      * @param siteAccess String
177      */
178     public void setSiteAccess(String siteAccess) {
179         this.siteAccess = siteAccess;
180     }
181
182     /**
183      * setBusinessDirectMenu
184      *
185      * @param businessDirectMenu Set
186      */
187     public void setBusinessDirectMenu(Set<?> businessDirectMenu) {
188         this.businessDirectMenu = businessDirectMenu;
189     }
190
191     /**
192      * setLoginErrorMessage
193      *
194      * @param loginErrorMessage String
195      */
196     public void setLoginErrorMessage(String loginErrorMessage) {
197         this.loginErrorMessage = loginErrorMessage;
198     }
199
200     public void setOrgUserId(String orgUserId) {
201         this.orgUserId = orgUserId;
202     }
203 }
204