com.stratelia.silverpeas.silverStatisticsPeas.servlets
Class SilverStatisticsActionAccessController

java.lang.Object
  extended by com.stratelia.silverpeas.silverStatisticsPeas.servlets.SilverStatisticsActionAccessController

public class SilverStatisticsActionAccessController
extends Object

Author:
ebonnet

Constructor Summary
SilverStatisticsActionAccessController()
           
 
Method Summary
 boolean hasRightAccess(String action, UserAccessLevel level)
          Check if user role has right access to the given action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SilverStatisticsActionAccessController

public SilverStatisticsActionAccessController()
Method Detail

hasRightAccess

public boolean hasRightAccess(String action,
                              UserAccessLevel level)
Check if user role has right access to the given action

Parameters:
action - the checked action
level - the current user access level
Returns:
true if given user access level has right access to the action


Copyright © 2016 Silverpeas. All Rights Reserved.