com.objectplanet.survey.plugin.interfaces
Interface ICreateUserLimit


public interface ICreateUserLimit

Interface for create user limit check.

Author:
Irina Brun

Method Summary
 java.lang.String getLimitReachedHTML()
          Returns html for "limit is reached" page that will be displayed if isMaxUsersReached(long userId) returns true.
 boolean isMaxUsersReached(long userId)
          Checks if maximum allowed users is reached.
 

Method Detail

isMaxUsersReached

boolean isMaxUsersReached(long userId)
Checks if maximum allowed users is reached.

Parameters:
userId - User who wants to create another user
Returns:
True maximum allowed users is reached for this user.

getLimitReachedHTML

java.lang.String getLimitReachedHTML()
Returns html for "limit is reached" page that will be displayed if isMaxUsersReached(long userId) returns true.

NOT YET IMPLEMENTED.

Returns:
html for "no access" page

Copyright ? ObjectPlanet Inc. All Rights Reserved.

Built on December 20 2016