com.atlassian.jira.security.type
Interface SecurityType

All Superinterfaces:
SchemeType
All Known Implementing Classes:
AbstractSecurityType

public interface SecurityType
extends SchemeType


Method Summary
 String getArgumentDisplay(String argument)
           
 org.apache.lucene.search.Query getQuery(User searcher, org.ofbiz.core.entity.GenericValue entity, String parameter)
           
 Set getUsers(PermissionContext permissionContext, String argument)
          Returns a list of Users represented by a security type instance.
 
Methods inherited from interface com.atlassian.jira.scheme.SchemeType
doValidation, getDisplayName, getType, hasPermission, hasPermission
 

Method Detail

getQuery

public org.apache.lucene.search.Query getQuery(User searcher,
                                               org.ofbiz.core.entity.GenericValue entity,
                                               String parameter)

getArgumentDisplay

public String getArgumentDisplay(String argument)

getUsers

public Set getUsers(PermissionContext permissionContext,
                    String argument)
Returns a list of Users represented by a security type instance. The collection must not contain any nulls.

Parameters:
permissionContext - The current issue and project
argument - Instance value, eg. a group name, user name, custom field id
Returns:
A set of Users.
Throws:
IllegalArgumentException - if argument is invalid for this type.


Copyright © 2002-2006 Atlassian. All Rights Reserved.