public interface ICreateSurveyLimit
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLimitReachedHTML()
Returns html for "limit is reached" page that will be displayed if
isMaxSurveysReached(long userId) returns true. |
boolean |
isMaxSurveysReached(long userId,
long folderId)
Checks if maximum allowed surveys is reached.
|
boolean isMaxSurveysReached(long userId, long folderId)
userId
- User who wants to create another surveyfolderId
- Current folder idjava.lang.String getLimitReachedHTML()
isMaxSurveysReached(long userId)
returns true. Built on April 12 2018