com.atlassian.jira.issue.statistics
Class ReporterStatisticsMapper

java.lang.Object
  extended bycom.atlassian.jira.issue.statistics.AbstractUserStatisticsMapper
      extended bycom.atlassian.jira.issue.statistics.ReporterStatisticsMapper
All Implemented Interfaces:
StatisticsMapper

public class ReporterStatisticsMapper
extends AbstractUserStatisticsMapper


Constructor Summary
ReporterStatisticsMapper(com.opensymphony.user.UserManager projectManager)
           
 
Method Summary
 java.lang.String getDocumentConstant()
          Get the constant that this field is indexed with.
 java.lang.String getSearchUrlSuffix(java.lang.Object value)
          Get a suffix for the issue navigator, which allows for filtering on this value.
 
Methods inherited from class com.atlassian.jira.issue.statistics.AbstractUserStatisticsMapper
getComparator, getValueFromLuceneField, isValidValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReporterStatisticsMapper

public ReporterStatisticsMapper(com.opensymphony.user.UserManager projectManager)
Method Detail

getDocumentConstant

public java.lang.String getDocumentConstant()
Description copied from interface: StatisticsMapper
Get the constant that this field is indexed with.

Specified by:
getDocumentConstant in interface StatisticsMapper
Specified by:
getDocumentConstant in class AbstractUserStatisticsMapper

getSearchUrlSuffix

public java.lang.String getSearchUrlSuffix(java.lang.Object value)
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 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 StatisticsMapper.getValueFromLuceneField(String)
Returns:
the suffix, or null if there is no suffix
See Also:
URLEncoder.encode(String)


Copyright © 2002-2005 Atlassian. All Rights Reserved.