com.atlassian.jira.security.type
Class AbstractProjectsSecurityType
java.lang.Object
com.atlassian.jira.security.type.AbstractSecurityType
com.atlassian.jira.security.type.AbstractProjectsSecurityType
- All Implemented Interfaces:
- SchemeType, SecurityType
- Direct Known Subclasses:
- GroupDropdown, ProjectLead, ProjectRoleSecurityAndNotificationType, SingleUser
public abstract class AbstractProjectsSecurityType
- extends AbstractSecurityType
Method Summary |
org.apache.lucene.search.Query |
getQuery(com.atlassian.crowd.embedded.api.User searcher,
org.ofbiz.core.entity.GenericValue entity,
String parameter)
|
org.apache.lucene.search.Query |
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProjectsSecurityType
public AbstractProjectsSecurityType()
getQuery
public org.apache.lucene.search.Query getQuery(com.atlassian.crowd.embedded.api.User searcher,
org.ofbiz.core.entity.GenericValue entity,
String parameter)
getQuery
public org.apache.lucene.search.Query 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)
- Parameters:
searcher
- The searcher conducting the searchproject
- The project for which we're constructing a querysecurityLevel
- The security level for which we are constructing the queryparameter
- Parameter identifying user related field (reporter, assignee, etc)
- Returns:
- A lucene permissions query
Copyright © 2002-2011 Atlassian. All Rights Reserved.