com.atlassian.jira.plugin.webfragment.conditions
Class JiraGlobalPermissionCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
      extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
          extended by com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class JiraGlobalPermissionCondition
extends AbstractPermissionCondition

Checks if the user has the global permission: AbstractPermissionCondition.permission


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
permission, permissionManager
 
Constructor Summary
JiraGlobalPermissionCondition(PermissionManager permissionManager)
           
 
Method Summary
 boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractPermissionCondition
init
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractWebCondition
shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraGlobalPermissionCondition

public JiraGlobalPermissionCondition(PermissionManager permissionManager)
Method Detail

shouldDisplay

public boolean shouldDisplay(ApplicationUser user,
                             JiraHelper jiraHelper)
Specified by:
shouldDisplay in class AbstractWebCondition


Copyright © 2002-2014 Atlassian. All Rights Reserved.