com.objectplanet.survey.event.events
Class PreSurveyDeleteEvent

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

public class PreSurveyDeleteEvent
extends AdminEvent

Represents an event that is fired just before a 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
PreSurveyDeleteEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getSurveyId()
          Gets the surveyId attribute of the PreSurveyDeleteEvent object
 java.lang.String getSurveyName()
           
 void setSurveyId(long surveyId)
          Sets the surveyId attribute of the PreSurveyDeleteEvent object
 void setSurveyName(java.lang.String surveyName)
           
 
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

PreSurveyDeleteEvent

public PreSurveyDeleteEvent(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 PreSurveyDeleteEvent object

Parameters:
surveyId - The new surveyId value

getSurveyId

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

Returns:
The surveyId value

getSurveyName

public java.lang.String getSurveyName()
Returns:
the surveyName

setSurveyName

public void setSurveyName(java.lang.String surveyName)
Parameters:
surveyName - the surveyName to set

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016