com.objectplanet.survey.plugin.event
Class NewSurveyEvent

java.lang.Object
  |
  +--com.objectplanet.survey.plugin.event.PluginBusEvent
        |
        +--com.objectplanet.survey.plugin.event.AdminEvent
              |
              +--com.objectplanet.survey.plugin.event.NewSurveyEvent

public class NewSurveyEvent
extends AdminEvent

Represents an event that is fired when a new Survey is created.

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
NewSurveyEvent(IPBComponent source)
          Creates a new event.
 
Method Summary
 long getSurveyId()
          Gets the surveyId attribute of the NewSurveyEvent object
 void setSurveyId(long surveyId)
          Sets the surveyId attribute of the NewSurveyEvent object
 
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

NewSurveyEvent

public NewSurveyEvent(IPBComponent source)
Creates a new event.

Parameters:
source - The event source
Method Detail

setSurveyId

public void setSurveyId(long surveyId)
Sets the surveyId attribute of the NewSurveyEvent object

Parameters:
surveyId - The new surveyId value

getSurveyId

public long getSurveyId()
Gets the surveyId attribute of the NewSurveyEvent object

Returns:
The surveyId value

Copyright © ObjectPlanet Inc. All Rights Reserved.

Built on May 7 2003