com.objectplanet.survey.plugin.event
Class NewUserEvent

java.lang.Object
  |
  +--com.objectplanet.survey.plugin.event.PluginBusEvent
        |
        +--com.objectplanet.survey.plugin.event.AdminEvent
              |
              +--com.objectplanet.survey.plugin.event.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:
9. September 2002

Nested Class Summary
 
Nested classes inherited from class com.objectplanet.survey.plugin.event.PluginBusEvent
PluginBusEvent.NonVetoable
 
Constructor Summary
NewUserEvent(IPBComponent source)
          Creates a new event.
 
Method Summary
 long getNewUserId()
          Gets the newUserId
 void setNewUserId(long newUserId)
          Sets the newUserId
 
Methods inherited from class com.objectplanet.survey.plugin.event.AdminEvent
getUserId, setUserId
 
Methods inherited from class com.objectplanet.survey.plugin.event.PluginBusEvent
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(IPBComponent source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setNewUserId

public void setNewUserId(long newUserId)
Sets the newUserId


getNewUserId

public long getNewUserId()
Gets the newUserId

Returns:
The newUserId

Copyright © ObjectPlanet Inc. All Rights Reserved.

Built on May 7 2003