com.objectplanet.survey.plugin.event
Class AdminEvent

java.lang.Object
  extended by com.objectplanet.survey.plugin.event.PluginBusEvent
      extended by com.objectplanet.survey.plugin.event.AdminEvent
Direct Known Subclasses:
NewSurveyEvent, NewUserEvent, PreSurveyDeleteEvent, PreUserDeleteEvent, SurveyDeletedEvent, UserDeletedEvent, UserUpdatedEvent

Deprecated.

public class AdminEvent
extends PluginBusEvent

Represents an event that is fired when an admin operation was performed. This class is deprecated. Use the new event mechanism in the com.objectplanet.survey.event and com.objectplanet.survey.event.events package.

Author:
Torgeir Lund
Created:
26. September 2002

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

Parameters:
source - The event source
Method Detail

setUserId

public void setUserId(long userId)
Deprecated. 
Sets the userId

Parameters:
user - The new userId value

getUserId

public long getUserId()
Deprecated. 
Gets the userId

Returns:
The userId value

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016