com.objectplanet.survey.plugin.event
Class PreSurveyPageEvent

java.lang.Object
  extended by com.objectplanet.survey.plugin.event.PluginBusEvent
      extended by com.objectplanet.survey.plugin.event.SurveyEvent
          extended by com.objectplanet.survey.plugin.event.PreSurveyPageEvent

Deprecated.

public class PreSurveyPageEvent
extends SurveyEvent

Represents an event that is fired before a survey page is displayed/accessed. This class is deprecated. Use the new event mechanism in the com.objectplanet.survey.event and com.objectplanet.survey.event.events package.

Author:
Torgeir Lund
Created:
Fri Feb 04 16:55:05 CET 2005

Nested Class Summary
 
Nested classes/interfaces inherited from class com.objectplanet.survey.plugin.event.PluginBusEvent
PluginBusEvent.NonVetoable
 
Constructor Summary
PreSurveyPageEvent(IPBComponent source)
          Deprecated. Creates a new event.
 
Method Summary
 java.util.HashMap getResources()
          Deprecated. Gets the Resources object.
 long getRespondentId()
          Deprecated. Returns the respondent id for this event.
 void setResources(java.util.HashMap resources)
          Deprecated. Sets the resources Object.
 void setRespondentId(long respondentId)
          Deprecated. Sets the value of respondentId.
 
Methods inherited from class com.objectplanet.survey.plugin.event.SurveyEvent
getSurveyId, setSurveyId
 
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

PreSurveyPageEvent

public PreSurveyPageEvent(IPBComponent source)
Deprecated. 
Creates a new event.

Parameters:
source - The event source
Method Detail

setResources

public void setResources(java.util.HashMap resources)
Deprecated. 
Sets the resources Object.

Parameters:
data.getRespondentId() - The new respondentId value

getResources

public java.util.HashMap getResources()
Deprecated. 
Gets the Resources object. This will contain the HttpServletRequest object, and must be retrieved like this:

HttpServletRequest request = (HttpServletRequest) preSurveyPageEvent.getResources().get("HttpServletRequest");

Returns:
The respondentId value

setRespondentId

public void setRespondentId(long respondentId)
Deprecated. 
Sets the value of respondentId.

Parameters:
respondentId - The new value for respondentId.

getRespondentId

public long getRespondentId()
Deprecated. 
Returns the respondent id for this event.

Returns:
the respondent id value.

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016