Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Accounting and Billing Portal
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[abportal] Annotation of /src/main/java/eu/smartlm/abs/portal/view/event/LoginEventData.java
[abportal] / src / main / java / eu / smartlm / abs / portal / view / event / LoginEventData.java Repository:
ViewVC logotype

Annotation of /src/main/java/eu/smartlm/abs/portal/view/event/LoginEventData.java

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : dgarcia 1 package eu.smartlm.abs.portal.view.event;
2 :    
3 :     import java.io.Serializable;
4 :    
5 :     import eu.smartlm.abs.portal.security.login.model.User;
6 :    
7 :     /**
8 :     * Event data that is sended to all the accounting and billing portlets when a user logs in
9 :     * @author David García Pérez - CESGA
10 :     */
11 :     public class LoginEventData implements Serializable {
12 :     private static final long serialVersionUID = 3984754800439847340L;
13 :     private int status;
14 :     private User user;
15 :    
16 :     public LoginEventData() {}
17 :    
18 :     public LoginEventData(int status, User user) {
19 :     this.setStatus(status);
20 :     this.setUser(user);
21 :     }
22 :    
23 :     public void setUser(User user) {
24 :     this.user = user;
25 :     }
26 :    
27 :     public User getUser() {
28 :     return user;
29 :     }
30 :    
31 :     public void setStatus(int status) {
32 :     this.status = status;
33 :     }
34 :    
35 :     public int getStatus() {
36 :     return status;
37 :     }
38 :     }

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge