public interface ICreateReportLimit
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLimitReachedHTML()
Returns html for "limit is reached" page that will be displayed if
isMaxReportsPerSurveyReached(long userId, long surveyId) returns true. |
boolean |
isMaxReportsPerSurveyReached(long userId,
long surveyId)
Checks if maximum allowed reports per survey is reached.
|
boolean isMaxReportsPerSurveyReached(long userId, long surveyId)
userId
- User who wants to create reportsurveyId
- Survey idjava.lang.String getLimitReachedHTML()
isMaxReportsPerSurveyReached(long userId, long surveyId)
returns true. Built on October 18 2017