com.atlassian.jira.issue.statistics
Class AssigneeStatisticsMapper
java.lang.Object
com.atlassian.jira.issue.statistics.AbstractUserStatisticsMapper
com.atlassian.jira.issue.statistics.AssigneeStatisticsMapper
- All Implemented Interfaces:
- LuceneFieldSorter, StatisticsMapper
- public class AssigneeStatisticsMapper
- extends AbstractUserStatisticsMapper
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssigneeStatisticsMapper
public AssigneeStatisticsMapper(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
getUserParameter
protected SearchParameter getUserParameter(String value)
- Specified by:
getUserParameter
in class AbstractUserStatisticsMapper
isFieldAlwaysPartOfAnIssue
public boolean isFieldAlwaysPartOfAnIssue()
- Description copied from interface:
StatisticsMapper
- Check if the field is always part of an issues data. This should only return false in the case of a
custom field where the value does not have to be set for each issue.
- Specified by:
isFieldAlwaysPartOfAnIssue
in interface StatisticsMapper
- Overrides:
isFieldAlwaysPartOfAnIssue
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-2006 Atlassian. All Rights Reserved.