com.atlassian.jira.plugin.webfragment.conditions
Class HasProjectPermissionCondition
java.lang.Object
com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraPermissionCondition
com.atlassian.jira.plugin.webfragment.conditions.HasProjectPermissionCondition
- All Implemented Interfaces:
- com.atlassian.plugin.web.Condition
public class HasProjectPermissionCondition
- extends AbstractJiraPermissionCondition
Checks if a project is selected (in JiraHelper
) and if the user has the AbstractJiraPermissionCondition.permission
for that project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HasProjectPermissionCondition
public HasProjectPermissionCondition(PermissionManager permissionManager)
shouldDisplay
public boolean shouldDisplay(com.atlassian.crowd.embedded.api.User user,
JiraHelper jiraHelper)
- Specified by:
shouldDisplay
in class AbstractJiraPermissionCondition
Copyright © 2002-2011 Atlassian. All Rights Reserved.