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)
           
 
Method Summary
 String getSearchUrlForCell(Object xAxisObject, Object yAxisObject, TwoDimensionalStatsMap statsMap, SearchRequest searchRequest)
           
 String getSearchUrlForHeaderCell(Object xAxisObject, StatisticsMapper xAxisMapper, SearchRequest searchRequest)
           
protected  Map getVelocityParams(PortletConfiguration portletConfiguration)
          Allow for the addition of additional Velocity parameters to the context.
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)
Method Detail

getVelocityParams

protected 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 String getSearchUrlForHeaderCell(Object xAxisObject,
                                        StatisticsMapper xAxisMapper,
                                        SearchRequest searchRequest)

getSearchUrlForCell

public String getSearchUrlForCell(Object xAxisObject,
                                  Object yAxisObject,
                                  TwoDimensionalStatsMap statsMap,
                                  SearchRequest searchRequest)


Copyright © 2002-2009 Atlassian. All Rights Reserved.