com.objectplanet.survey.event.events
Class NewSignupSurveyEvent

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

public class NewSignupSurveyEvent
extends AdminEvent

Represents an event that is fired when a new sing-up survey for panel is created.

Author:
Ina Skåre, Irina Brun

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.event.Event
Event.NonVetoable
 
Constructor Summary
NewSignupSurveyEvent(IEventListener source)
          Creates a new event.
 
Method Summary
 long getPanelId()
           
 long getSurveyId()
          Gets the surveyId attribute of the NewSurveyEvent object
 void setPanelId(long panelId)
           
 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

NewSignupSurveyEvent

public NewSignupSurveyEvent(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

getPanelId

public long getPanelId()
Returns:
Returns the panelId.

setPanelId

public void setPanelId(long panelId)
Parameters:
panelId - The panelId to set.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016