com.objectplanet.survey.event.events
Class SurveyDeletedEvent

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

public class SurveyDeletedEvent
extends AdminEvent

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

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
SurveyDeletedEvent(IEventListener 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.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

SurveyDeletedEvent

public SurveyDeletedEvent(IEventListener 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 December 20 2016