com.atlassian.confluence.plugin.descriptor.web.conditions
Class SystemAdministratorCondition

java.lang.Object
  extended by com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
      extended by com.atlassian.confluence.plugin.descriptor.web.conditions.SystemAdministratorCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition
Direct Known Subclasses:
GlobalAdministratorOnlyCondition, SystemAdministratorOrSuperUserCondition

public class SystemAdministratorCondition
extends BaseConfluenceCondition

Condition that restricts access to users with system administrator permission.

Since:
3.5

Field Summary
 
Fields inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
CONTEXT_KEY_HELPER
 
Constructor Summary
SystemAdministratorCondition()
           
 
Method Summary
 void setPermissionManager(PermissionManager permissionManager)
           
 boolean shouldDisplay(WebInterfaceContext context)
           
 
Methods inherited from class com.atlassian.confluence.plugin.descriptor.web.conditions.BaseConfluenceCondition
init, shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemAdministratorCondition

public SystemAdministratorCondition()
Method Detail

shouldDisplay

public boolean shouldDisplay(WebInterfaceContext context)
Specified by:
shouldDisplay in class BaseConfluenceCondition

setPermissionManager

public void setPermissionManager(PermissionManager permissionManager)


Copyright © 2003–2015 Atlassian. All rights reserved.