com.objectplanet.survey.event.events
Class UserUpdateEvent

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.UserUpdateEvent

public class UserUpdateEvent
extends AdminEvent

Represents an event that is fired when a user is updated in the storage.

Author:
Irina Brun

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
UserUpdateEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getUpdatedUserId()
          Get the id of the updated user
 java.lang.String getUpdatedUserLogin()
           
 void setUpdatedUserId(long updatedUserId)
          Sets the id of the updated user.
 void setUpdatedUserLogin(java.lang.String updatedUserLogin)
           
 
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

UserUpdateEvent

public UserUpdateEvent(IEventListener source)
Creates a new event.

Parameters:
source - The event source
Method Detail

getUpdatedUserId

public long getUpdatedUserId()
Get the id of the updated user

Returns:
Returns the updatedUserId.

setUpdatedUserId

public void setUpdatedUserId(long updatedUserId)
Sets the id of the updated user.

Parameters:
updatedUserId - The updatedUserId to set.

getUpdatedUserLogin

public java.lang.String getUpdatedUserLogin()
Returns:
Returns the updatedUserLogin.

setUpdatedUserLogin

public void setUpdatedUserLogin(java.lang.String updatedUserLogin)
Parameters:
updatedUserLogin - The updatedUserLogin to set.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016