Class AbstractProjectsSecurityType

  extended by
      extended by
All Implemented Interfaces:
SchemeType, SecurityType
Direct Known Subclasses:
GroupDropdown, ProjectLead, ProjectRoleSecurityAndNotificationType, SingleUser

public abstract class AbstractProjectsSecurityType
extends AbstractSecurityType

Constructor Summary
Method Summary getQuery(com.atlassian.crowd.embedded.api.User searcher, org.ofbiz.core.entity.GenericValue entity, String parameter)
    getQuery(com.atlassian.crowd.embedded.api.User searcher, Project project, org.ofbiz.core.entity.GenericValue securityLevel, String parameter)
          Returns a query based on security level and the project passed in.
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
Methods inherited from interface com.atlassian.jira.scheme.SchemeType
doValidation, getDisplayName, getType, hasPermission, hasPermission

Constructor Detail


public AbstractProjectsSecurityType()
Method Detail


public getQuery(com.atlassian.crowd.embedded.api.User searcher,
                                               org.ofbiz.core.entity.GenericValue entity,
                                               String parameter)


public getQuery(com.atlassian.crowd.embedded.api.User searcher,
                                               Project project,
                                               org.ofbiz.core.entity.GenericValue securityLevel,
                                               String parameter)
Description copied from interface: SecurityType
Returns a query based on security level and the project passed in. This may be required in particular for role based issue security levels. (see JRA-12739)

searcher - The searcher conducting the search
project - The project for which we're constructing a query
securityLevel - The security level for which we are constructing the query
parameter - Parameter identifying user related field (reporter, assignee, etc)
A lucene permissions query

Copyright © 2002-2012 Atlassian. All Rights Reserved.