com.atlassian.jira.issue.statistics
Class ReporterStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.AbstractUserStatisticsMapper
com.atlassian.jira.issue.statistics.ReporterStatisticsMapper
- All Implemented Interfaces:
- LuceneFieldSorter, StatisticsMapper
public class ReporterStatisticsMapper
- extends AbstractUserStatisticsMapper
ReporterStatisticsMapper
public ReporterStatisticsMapper(UserManager projectManager)
getDocumentConstant
public String getDocumentConstant()
- Description copied from interface:
LuceneFieldSorter
- Get the constant that this field is indexed with.
- Specified by:
getDocumentConstant
in interface LuceneFieldSorter
- Specified by:
getDocumentConstant
in class AbstractUserStatisticsMapper
- See Also:
IssueDocument
,
CustomFieldSearcher
getUserParameter
protected SearchParameter getUserParameter(String value)
- Specified by:
getUserParameter
in class AbstractUserStatisticsMapper
getSearchUrlSuffix
public SearchRequest getSearchUrlSuffix(Object value,
SearchRequest searchRequest)
- Description copied from interface:
StatisticsMapper
- Get a suffix for the issue navigator, which allows for filtering on this value.
eg. a project field would return a SearchRequest object who's getQueryString method will produce
pid=10240
Note that values returned from implementations should return values that are URLEncoded.
- Parameters:
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.
- Returns:
- a SearchRequest object that will generate the correct issue navigator url to search
the correct statistics set, null otherwise.
- See Also:
URLEncoder.encode(String)
Copyright © 2002-2009 Atlassian. All Rights Reserved.