com.atlassian.jira.portal.portlets
Class TwoDimensionalStatsPortlet
java.lang.Object
com.atlassian.jira.portal.PortletImpl
com.atlassian.jira.portal.portlets.TwoDimensionalStatsPortlet
- All Implemented Interfaces:
- Portlet
public class TwoDimensionalStatsPortlet
- extends PortletImpl
Methods inherited from class com.atlassian.jira.portal.PortletImpl |
equals, getCornerThumbnail, getCornerThumbnailPath, getDescription, getDescriptor, getId, getIssueConstant, getListFromMultiSelectValue, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getThumbnailPath, getViewHtml, hashCode, hasPermission, init, isEditablePortletConfig |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TwoDimensionalStatsPortlet
public TwoDimensionalStatsPortlet(JiraAuthenticationContext authCtx,
PermissionManager permissionManager,
ApplicationProperties appProps,
SearchRequestService searchRequestService,
CustomFieldManager customFieldManager,
SearchProvider searchProvider,
ProjectManager projectManager,
SearchService searchService,
FieldVisibilityManager fieldVisibilityManager,
ReaderCache readerCache)
getVelocityParams
protected java.util.Map getVelocityParams(PortletConfiguration portletConfiguration)
- Description copied from class:
PortletImpl
- Allow for the addition of additional Velocity parameters to the context.
Sub-classes may wish to override this to add their own object to the velocity context
- Overrides:
getVelocityParams
in class PortletImpl
- Parameters:
portletConfiguration
- portlet configuration
- Returns:
- map of velocity parameters, never null
searchCountMap
protected TwoDimensionalStatsMap searchCountMap(SearchRequest request,
StatisticsMapper xAxisStatsMapper,
StatisticsMapper yAxisStatsMapper)
throws SearchException
- Throws:
SearchException
getSearchUrlForHeaderCell
public java.lang.String getSearchUrlForHeaderCell(java.lang.Object xAxisObject,
StatisticsMapper xAxisMapper,
SearchRequest searchRequest)
getSearchUrlForCell
public java.lang.String getSearchUrlForCell(java.lang.Object xAxisObject,
java.lang.Object yAxisObject,
TwoDimensionalStatsMap statsMap,
SearchRequest searchRequest)
getYAxisUniqueTotal
public int getYAxisUniqueTotal(TwoDimensionalStatsMap statsMap)
getXAxisUniqueTotal
public int getXAxisUniqueTotal(TwoDimensionalStatsMap statsMap)
Copyright © 2002-2011 Atlassian. All Rights Reserved.