com.objectplanet.survey.plugin.interfaces
Interface ISurveyBlock


public interface ISurveyBlock

Interface that makes it possible for a plugin to block a survey from respondents.

Author:
Irina Brun

Method Summary
 java.lang.String getSurveyBlockedMessage()
          This method will be called if the survey has been blocked, and returns a customized message to show to the respondents.
 boolean isSurveyBlocked(long surveyId)
          This method will be called before new respondents object is created and will determine if the survey is blocked or not.
 

Method Detail

isSurveyBlocked

boolean isSurveyBlocked(long surveyId)
This method will be called before new respondents object is created and will determine if the survey is blocked or not.

Parameters:
surveyId - The survey id
Returns:
Returns if the survey is blocked from respondents

getSurveyBlockedMessage

java.lang.String getSurveyBlockedMessage()
This method will be called if the survey has been blocked, and returns a customized message to show to the respondents.

Returns:
The message to show to the respondents

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016