com.objectplanet.survey.event.events
Class SurveyUpdatedEvent

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

public class SurveyUpdatedEvent
extends AdminEvent

Represents an event that is fired after a survey is updated.

Author:
Eivind Pedersen, Torgeir Lund
Created:
30 January 2008

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
SurveyUpdatedEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getSurveyId()
          Gets the surveyId attribute of the SurveyUpdatedEvent object
 java.lang.String getSurveyName()
           
 boolean isPanelSignupSurvey()
           
 boolean isQuestionLibrary()
           
 void setPanelSignupSurvey(boolean isPanelSignupSurvey)
           
 void setQuestionLibrary(boolean isQuestionLibrary)
           
 void setSurveyId(long surveyId)
          Sets the surveyId attribute of the SurveyUpdatedEvent 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

SurveyUpdatedEvent

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

Parameters:
surveyId - The new surveyId value

getSurveyId

public long getSurveyId()
Gets the surveyId attribute of the SurveyUpdatedEvent 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

isQuestionLibrary

public boolean isQuestionLibrary()
Returns:
the isLibrary

setQuestionLibrary

public void setQuestionLibrary(boolean isQuestionLibrary)
Parameters:
isQuestionLibrary - the isLibrary to set

isPanelSignupSurvey

public boolean isPanelSignupSurvey()
Returns:
the isPanelSignupSurvey

setPanelSignupSurvey

public void setPanelSignupSurvey(boolean isPanelSignupSurvey)
Parameters:
isPanelSignupSurvey - the isPanelSignupSurvey to set

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016