com.atlassian.jira.portal.portlets
Class TwoDimensionalStatsPortlet

java.lang.Object
  extended by com.atlassian.jira.portal.PortletImpl
      extended by com.atlassian.jira.portal.portlets.TwoDimensionalStatsPortlet
All Implemented Interfaces:
Portlet

public class TwoDimensionalStatsPortlet
extends PortletImpl


Field Summary
 
Fields inherited from class com.atlassian.jira.portal.PortletImpl
applicationProperties, authenticationContext, permissionManager
 
Constructor Summary
TwoDimensionalStatsPortlet(JiraAuthenticationContext authCtx, PermissionManager permissionManager, ApplicationProperties appProps, SearchRequestService searchRequestService, CustomFieldManager customFieldManager, SearchProvider searchProvider, ProjectManager projectManager, SearchService searchService, FieldVisibilityManager fieldVisibilityManager, ReaderCache readerCache)
           
 
Method Summary
 java.lang.String getSearchUrlForCell(java.lang.Object xAxisObject, java.lang.Object yAxisObject, TwoDimensionalStatsMap statsMap, SearchRequest searchRequest)
           
 java.lang.String getSearchUrlForHeaderCell(java.lang.Object xAxisObject, StatisticsMapper xAxisMapper, SearchRequest searchRequest)
           
protected  java.util.Map getVelocityParams(PortletConfiguration portletConfiguration)
          Allow for the addition of additional Velocity parameters to the context.
 int getXAxisUniqueTotal(TwoDimensionalStatsMap statsMap)
           
 int getYAxisUniqueTotal(TwoDimensionalStatsMap statsMap)
           
protected  TwoDimensionalStatsMap searchCountMap(SearchRequest request, StatisticsMapper xAxisStatsMapper, StatisticsMapper yAxisStatsMapper)
           
 
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
 

Constructor Detail

TwoDimensionalStatsPortlet

public TwoDimensionalStatsPortlet(JiraAuthenticationContext authCtx,
                                  PermissionManager permissionManager,
                                  ApplicationProperties appProps,
                                  SearchRequestService searchRequestService,
                                  CustomFieldManager customFieldManager,
                                  SearchProvider searchProvider,
                                  ProjectManager projectManager,
                                  SearchService searchService,
                                  FieldVisibilityManager fieldVisibilityManager,
                                  ReaderCache readerCache)
Method Detail

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.