Revision 1 -
(download)
(annotate)
Wed Jul 28 10:05:51 2010 UTC
(13 years, 10 months ago)
by dgarcia File size: 780 byte(s)
First code commit
package eu.smartlm.abs.portal.view.event;
import java.io.Serializable;
import eu.smartlm.abs.portal.security.login.model.User;
/**
* Event data that is sended to all the accounting and billing portlets when a user logs in
* @author David García Pérez - CESGA
*/
public class LoginEventData implements Serializable {
private static final long serialVersionUID = 3984754800439847340L;
private int status;
private User user;
public LoginEventData() {}
public LoginEventData(int status, User user) {
this.setStatus(status);
this.setUser(user);
}
public void setUser(User user) {
this.user = user;
}
public User getUser() {
return user;
}
public void setStatus(int status) {
this.status = status;
}
public int getStatus() {
return status;
}
}