com.objectplanet.survey.plugin.interfaces
Interface ISurveyLock


public interface ISurveyLock

Interface that makes it possible for a plugin to lock a survey.

Author:
Rikard Halvorsen
Created:
November 03, 2004

Method Summary
 java.lang.String getLockMessage()
          This method will be called if the survey has been locked by the implentor, and returns a customized lock message.
 boolean isLocked(long surveyId)
          This method will be called for all implementors of the interface, and will decide if the survey is locked by any of them.
 

Method Detail

isLocked

boolean isLocked(long surveyId)
This method will be called for all implementors of the interface, and will decide if the survey is locked by any of them.

Parameters:
surveyId - The survey id
Returns:
Returns if the survey is locked by the implementor, or not

getLockMessage

java.lang.String getLockMessage()
This method will be called if the survey has been locked by the implentor, and returns a customized lock message.

Returns:
The lockMessage value

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016