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

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.TextSearcher
              extended by com.atlassian.jira.issue.customfields.searchers.ExactTextSearcher
All Implemented Interfaces:
CustomFieldSearcher

public class ExactTextSearcher
extends TextSearcher


Field Summary
 
Fields inherited from class com.atlassian.jira.issue.customfields.searchers.TextSearcher
stringConverter
 
Constructor Summary
ExactTextSearcher(StringConverter stringConverter)
           
 
Method Summary
 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.TextSearcher
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

ExactTextSearcher

public ExactTextSearcher(StringConverter stringConverter)
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 TextSearcher

makeSearchParameter

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


Copyright © 2002-2006 Atlassian. All Rights Reserved.