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

java.lang.Object
  extended bycom.atlassian.jira.issue.customfields.searchers.AbstractCustomFieldSearcher
      extended bycom.atlassian.jira.issue.customfields.searchers.AbstractSingleValueSearcher
          extended bycom.atlassian.jira.issue.customfields.searchers.SelectSearcher
All Implemented Interfaces:
CustomFieldSearcher, CustomFieldStatable

public class SelectSearcher
extends AbstractSingleValueSearcher
implements CustomFieldStatable


Constructor Summary
SelectSearcher(SelectConverter selectConverter)
           
 
Method Summary
 StatisticsMapper getStatisticsMapper(CustomField customField)
           
protected  java.util.Collection getValueFromSearchRequest(SearchParameter searchParameter)
           
 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.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

SelectSearcher

public SelectSearcher(SelectConverter selectConverter)
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
Parameters:
doc -
field -
value -

getValueFromSearchRequest

protected java.util.Collection getValueFromSearchRequest(SearchParameter searchParameter)
Specified by:
getValueFromSearchRequest in class AbstractSingleValueSearcher

makeSearchParameter

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

getStatisticsMapper

public StatisticsMapper getStatisticsMapper(CustomField customField)
Specified by:
getStatisticsMapper in interface CustomFieldStatable


Copyright © 2002-2005 Atlassian. All Rights Reserved.