com.atlassian.jira.issue.customfields.searchers
Class UserPickerGroupSearcher

java.lang.Object
  extended by com.atlassian.jira.issue.customfields.searchers.AbstractCustomFieldSearcher
      extended by com.atlassian.jira.issue.customfields.searchers.AbstractSingleValueSearcher
          extended by com.atlassian.jira.issue.customfields.searchers.UserPickerSearcher
              extended by com.atlassian.jira.issue.customfields.searchers.UserPickerGroupSearcher
All Implemented Interfaces:
CustomFieldSearcher

public class UserPickerGroupSearcher
extends UserPickerSearcher


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.customfields.searchers.UserPickerSearcher
userConverter
 
Constructor Summary
UserPickerGroupSearcher(UserConverter userConverter, com.opensymphony.user.UserManager userManager)
           
 
Method Summary
 java.util.Collection getGroups()
          This is used in the template to get a list of groups to show
 void index(org.apache.lucene.document.Document doc, CustomField field, java.lang.Object value)
          Add index to the given Document object.
protected  SearchParameter makeSearchParameter(CustomField field, java.lang.String paramValue, java.lang.String paramPrefix)
           
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.UserPickerSearcher
getValueFromSearchRequest
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.AbstractSingleValueSearcher
getParamsFromSearchRequest, getSearchDescription, getViewObject, makeSearchParameters
 
Methods inherited from class com.atlassian.jira.issue.customfields.searchers.AbstractCustomFieldSearcher
getDescription, getDescriptor, getKey, getName, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserPickerGroupSearcher

public UserPickerGroupSearcher(UserConverter userConverter,
                               com.opensymphony.user.UserManager userManager)
Method Detail

index

public void index(org.apache.lucene.document.Document doc,
                  CustomField field,
                  java.lang.Object value)
Description copied from interface: CustomFieldSearcher
Add index to the given Document object. The "value" is/are the value object (s) returned from the CustomFieldType.

Specified by:
index in interface CustomFieldSearcher
Overrides:
index in class UserPickerSearcher

makeSearchParameter

protected SearchParameter makeSearchParameter(CustomField field,
                                              java.lang.String paramValue,
                                              java.lang.String paramPrefix)
                                       throws CustomFieldValidationException
Overrides:
makeSearchParameter in class UserPickerSearcher
Throws:
CustomFieldValidationException

getGroups

public java.util.Collection getGroups()
This is used in the template to get a list of groups to show



Copyright © 2002-2006 Atlassian. All Rights Reserved.