com.objectplanet.survey.event.events
Class NewUserEvent

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

public class NewUserEvent
extends AdminEvent

Represents an event that is fired when a new response is created, after the response has been responded to and the object has been populated. This gives the plugin designer to do validation on the question responses, for example.

Author:
Torgeir Lund
Created:
16 November 2005

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewUserEvent(IEventListener source)
          Creates a new user event.
 
Method Summary
 long getNewUserId()
          Gets the user if of the newly created user
 java.lang.String getNewUserLogin()
           
 void setNewUserId(long newUserId)
          Sets the user id of the newly created user.
 void setNewUserLogin(java.lang.String newUserLogin)
           
 
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

NewUserEvent

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

Parameters:
source - The event source
Method Detail

getNewUserLogin

public java.lang.String getNewUserLogin()
Returns:
the newUserLogin

setNewUserLogin

public void setNewUserLogin(java.lang.String newUserLogin)
Parameters:
newUserLogin - the newUserLogin to set

setNewUserId

public void setNewUserId(long newUserId)
Sets the user id of the newly created user.

Parameters:
newUser - The new newUserId

getNewUserId

public long getNewUserId()
Gets the user if of the newly created user

Returns:
The newUserId

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016