Class SimpleIssueFieldSecurityType

  extended by
      extended by
          extended by
All Implemented Interfaces:
SchemeType, SecurityType
Direct Known Subclasses:
CurrentAssignee, CurrentAssigneeHasAssignablePermission, CurrentReporter, CurrentReporterHasCreatePermission

public abstract class SimpleIssueFieldSecurityType
extends AbstractIssueFieldSecurityType

The common class for IssueField SecurityTypes that rely on a simple field (ie a field of the Issue Generic Value).


Constructor Summary
Method Summary
protected abstract  String getField()
protected  boolean hasIssuePermission(com.atlassian.crowd.embedded.api.User user, boolean issueCreation, org.ofbiz.core.entity.GenericValue issueGv, String argument)
          Defines whether the given user has permission to see the given issue.
Methods inherited from class
getFieldName, getQuery, getQuery, getQueryForProject, getQueryForSecurityLevel, getUsers, hasPermission, hasPermission, hasProjectPermission
Methods inherited from class
getArgumentDisplay, isValidForPermission
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.jira.scheme.SchemeType
doValidation, getDisplayName, getType

Constructor Detail


public SimpleIssueFieldSecurityType()
Method Detail


protected abstract String getField()


protected boolean hasIssuePermission(com.atlassian.crowd.embedded.api.User user,
                                     boolean issueCreation,
                                     org.ofbiz.core.entity.GenericValue issueGv,
                                     String argument)
Defines whether the given user has permission to see the given issue.

Specified by:
hasIssuePermission in class AbstractIssueFieldSecurityType
user - the User for whom permission is being determined.
issueCreation - not used.
issueGv - the issue.
argument - a parameter to be optionally used by overriders.
true only if the User has permission to see the issue, false if issueGv is not an issue.

Copyright © 2002-2012 Atlassian. All Rights Reserved.