com.atlassian.jira.portal.portlets
Class TwoDimensionalStatsPortlet

java.lang.Object
  extended bycom.atlassian.jira.portal.PortletImpl
      extended bycom.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 authenticationContext, PermissionManager permissionManager, ApplicationProperties applicationProperties, SearchRequestManager searchRequestManager, CustomFieldManager customFieldManager, SearchProvider searchProvider)
           
 
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, getDescription, getDescriptor, getId, getIssueConstant, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hashCode, hasPermission, init
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwoDimensionalStatsPortlet

public TwoDimensionalStatsPortlet(JiraAuthenticationContext authenticationContext,
                                  PermissionManager permissionManager,
                                  ApplicationProperties applicationProperties,
                                  SearchRequestManager searchRequestManager,
                                  CustomFieldManager customFieldManager,
                                  SearchProvider searchProvider)
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

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-2006 Atlassian. All Rights Reserved.