com.objectplanet.survey.event.events
Class UserLoginEvent

java.lang.Object
  extended by com.objectplanet.survey.event.Event
      extended by com.objectplanet.survey.event.events.AdminEvent
          extended by com.objectplanet.survey.event.events.UserLoginEvent

public class UserLoginEvent
extends AdminEvent

Represents an event that is fired when a user logged in Opinio.

Author:
Yan Wang
Created:
12 March 2010

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
UserLoginEvent(IEventListener source)
          Creates a new user event.
 
Method Summary
 long getLoggedInUserId()
          Gets the user id who is just logged in
 java.lang.String getUserLogin()
           
 void setLoggedInUserId(long loggedInUserId)
          Sets the user id of the newly logged in user.
 void setUserLogin(java.lang.String userLogin)
           
 
Methods inherited from class com.objectplanet.survey.event.events.AdminEvent
getLogin, getUserId, setLogin, setUserId
 
Methods inherited from class com.objectplanet.survey.event.Event
getSource, isVetoed, paramString, toString, veto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserLoginEvent

public UserLoginEvent(IEventListener source)
Creates a new user event.

Parameters:
source - The event source
Method Detail

getUserLogin

public java.lang.String getUserLogin()
Returns:
the userLogin

setUserLogin

public void setUserLogin(java.lang.String userLogin)
Parameters:
userLogin - the userLogin to set

getLoggedInUserId

public long getLoggedInUserId()
Gets the user id who is just logged in

Returns:
the user id of the logged in user

setLoggedInUserId

public void setLoggedInUserId(long loggedInUserId)
Sets the user id of the newly logged in user.

Parameters:
loggedInUserId - The new loggedInUserId

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016