com.atlassian.jira.charts.portlet
Interface SearchRequestAwareChartPortlet

All Superinterfaces:
Portlet
All Known Implementing Classes:
AbstractTimeChartPortlet, AverageAgeChartPortlet, CreatedVsResolvedChartPortlet, PieChartPortlet, RecentlyCreatedChartPortlet, ResolutionTimeChartPortlet, TimeSinceChartPortlet

public interface SearchRequestAwareChartPortlet
extends Portlet

Marker interface to identify any charting portlets. This is used to mark any charts to displayed in the charting SearchRequest view (com.atlassian.jira.web.action.charts.SavePortletSearchViewConfiguration).

Since:
v4.0

Method Summary
 String getSearchRequestViewHtml(PortletConfiguration portletConfiguration, SearchRequest searchRequest)
          Renders the SearchRequest View HTML for a given portlet configuration and searchrequest.
 
Methods inherited from interface com.atlassian.jira.portal.Portlet
getCornerThumbnail, getDescription, getDescriptor, getId, getName, getObjectConfiguration, getPermission, getTemplateLocation, getThumbnailfile, getViewHtml, hasPermission, init
 

Method Detail

getSearchRequestViewHtml

String getSearchRequestViewHtml(PortletConfiguration portletConfiguration,
                                SearchRequest searchRequest)
Renders the SearchRequest View HTML for a given portlet configuration and searchrequest.

Parameters:
portletConfiguration - The properties to use for the chart portlet to render
searchRequest - The search request, defining the data to chart
Returns:
The HTML of the chart portlet


Copyright © 2002-2009 Atlassian. All Rights Reserved.