com.objectplanet.survey.plugin.event
Class AdminEvent

java.lang.Object
  |
  +--com.objectplanet.survey.plugin.event.PluginBusEvent
        |
        +--com.objectplanet.survey.plugin.event.AdminEvent
Direct Known Subclasses:
NewSurveyEvent, NewUserEvent, SurveyDeletedEvent, UserDeletedEvent

public class AdminEvent
extends PluginBusEvent

Represents an event that is fired when an admin operation was performed.

Author:
Torgeir Lund
Created:
26. September 2002

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

AdminEvent

public AdminEvent(IPBComponent source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setUserId

public void setUserId(long userId)
Sets the userId


getUserId

public long getUserId()
Gets the userId

Returns:
The userId value

Copyright © ObjectPlanet Inc. All Rights Reserved.

Built on May 7 2003