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

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
      extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraPermissionCondition
          extended by com.atlassian.jira.plugin.webfragment.conditions.JiraGlobalPermissionCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class JiraGlobalPermissionCondition
extends AbstractJiraPermissionCondition

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


Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraPermissionCondition
permission, permissionManager
 
Constructor Summary
JiraGlobalPermissionCondition(PermissionManager permissionManager)
           
 
Method Summary
 boolean shouldDisplay(com.opensymphony.user.User user, JiraHelper jiraHelper)
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraPermissionCondition
init
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
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(com.opensymphony.user.User user,
                             JiraHelper jiraHelper)
Specified by:
shouldDisplay in class AbstractJiraPermissionCondition


Copyright © 2002-2010 Atlassian. All Rights Reserved.