|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Allow mapping from Lucene indexes, back to the fields that they came from.
Any 'field' that implements this is capable of having a statistic calculated from it.
FilterStatisticsValuesGenerator
Method Summary | |
SearchRequest |
getSearchUrlSuffix(Object value,
SearchRequest searchRequest)
Get a suffix for the issue navigator, which allows for filtering on this value. |
boolean |
isFieldAlwaysPartOfAnIssue()
Check if the field is always part of an issues data. |
boolean |
isValidValue(Object value)
Check whether this value is valid for this particular search. |
Methods inherited from interface com.atlassian.jira.issue.search.LuceneFieldSorter |
getComparator, getDocumentConstant, getValueFromLuceneField |
Method Detail |
public boolean isValidValue(Object value)
value
- This is the same value that will be returned from LuceneFieldSorter.getValueFromLuceneField(String)
public boolean isFieldAlwaysPartOfAnIssue()
public SearchRequest getSearchUrlSuffix(Object value, SearchRequest searchRequest)
pid=10240
Note that values returned from implementations should return values that are URLEncoded.
value
- This is the same value that will be returned from LuceneFieldSorter.getValueFromLuceneField(String)
searchRequest
- is the search request that should be used as the base of the newly generated
SearchRequest object. If this parameter is null then the return type will also be null.
URLEncoder.encode(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |