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

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.HasIssuePermissionCondition
All Implemented Interfaces:
com.atlassian.plugin.web.Condition

public class HasIssuePermissionCondition
extends AbstractJiraPermissionCondition

Condition to check a permission against a given issue for the current user.

An issue must be in the JiraHelper context params.

Since:
v4.1

Field Summary
 
Fields inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraPermissionCondition
permission, permissionManager
 
Constructor Summary
HasIssuePermissionCondition(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

HasIssuePermissionCondition

public HasIssuePermissionCondition(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.