pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.survey
Class SurveyControllerConfiguration

java.lang.Object
  extended by org.torweg.pulse.configuration.Configuration
      extended by org.torweg.pulse.component.survey.SurveyControllerConfiguration
All Implemented Interfaces:
java.io.Serializable

public class SurveyControllerConfiguration
extends Configuration

The Configuration of the SurveyController.

Version:
$Revision: 1583 $
Author:
Daniel Dietz
See Also:
Serialized Form

Constructor Summary
protected SurveyControllerConfiguration()
          Default constructor.
 
Method Summary
 java.lang.String getPreviousQuestionParameterName()
          Returns the previousQuestionParameterName.
 java.lang.String getRedirectFinishedURI(java.lang.String surveyName)
          Returns the URI to be used for the redirect once the Survey is finished.
 java.lang.String getRedirectParticipatedURI(java.lang.String surveyName)
          Returns the URI to be used for the redirect once the Survey is finished and the current User has already submitted a complete Survey.
 java.lang.String getSurveyIdParameterName()
          Returns the surveyIdParameterName.
 java.lang.String getSurveyQuestionParameterName()
          Returns the surveyQuestionParameterName.
 java.lang.String getSurveyTokenParameterName()
          Returns the surveyTokenParameterName.
 
Methods inherited from class org.torweg.pulse.configuration.Configuration
getBundle, isBundleConfiguration, isModified, setBundle, setConfigFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurveyControllerConfiguration

protected SurveyControllerConfiguration()
Default constructor.

Method Detail

getSurveyIdParameterName

public final java.lang.String getSurveyIdParameterName()
Returns the surveyIdParameterName.

Returns:
the surveyIdParameterName

getSurveyQuestionParameterName

public final java.lang.String getSurveyQuestionParameterName()
Returns the surveyQuestionParameterName.

Returns:
the surveyQuestionParameterName

getPreviousQuestionParameterName

public final java.lang.String getPreviousQuestionParameterName()
Returns the previousQuestionParameterName.

Returns:
the previousQuestionParameterName

getSurveyTokenParameterName

public final java.lang.String getSurveyTokenParameterName()
Returns the surveyTokenParameterName.

Returns:
the surveyTokenParameterName

getRedirectFinishedURI

public final java.lang.String getRedirectFinishedURI(java.lang.String surveyName)
Returns the URI to be used for the redirect once the Survey is finished.

Parameters:
surveyName - the name of the Survey
Returns:
the URI to be used for the redirect, null otherwise

getRedirectParticipatedURI

public final java.lang.String getRedirectParticipatedURI(java.lang.String surveyName)
Returns the URI to be used for the redirect once the Survey is finished and the current User has already submitted a complete Survey.

Parameters:
surveyName - the name of the Survey
Returns:
the URI to be used for the redirect, null otherwise