com.atlassian.jira.issue.views
Class SearchRequestRecentCommentsView

java.lang.Object
  extended by com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
      extended by com.atlassian.jira.issue.views.SearchRequestRecentCommentsView
All Implemented Interfaces:
SearchRequestView

public class SearchRequestRecentCommentsView
extends AbstractSearchRequestView


Field Summary
static String DEFAULT_DESCRIPTION
           
 
Fields inherited from class com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
descriptor
 
Constructor Summary
SearchRequestRecentCommentsView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, RendererManager rendererManager, RecentCommentManager recentCommentManager, BuildUtilsInfo buildUtilsInfo)
           
 
Method Summary
 String getFooter()
           
 void writeHeaders(SearchRequest searchRequest, RequestHeaders requestHeaders)
          A default implementation which sets headers the explicitly tell the browser not to cache the content generated by this SearchRequestView.
 void writeSearchResults(SearchRequest searchRequest, SearchRequestParams searchRequestParams, Writer writer)
          Responsible for writing out the searchResults including Headers and Footers of the implementing view type.
 
Methods inherited from class com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
init, writeHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DESCRIPTION

public static final String DEFAULT_DESCRIPTION
See Also:
Constant Field Values
Constructor Detail

SearchRequestRecentCommentsView

public SearchRequestRecentCommentsView(JiraAuthenticationContext authenticationContext,
                                       ApplicationProperties applicationProperties,
                                       RendererManager rendererManager,
                                       RecentCommentManager recentCommentManager,
                                       BuildUtilsInfo buildUtilsInfo)
Method Detail

writeHeaders

public void writeHeaders(SearchRequest searchRequest,
                         RequestHeaders requestHeaders)
Description copied from class: AbstractSearchRequestView
A default implementation which sets headers the explicitly tell the browser not to cache the content generated by this SearchRequestView. Override this method if you would like to change this behaviour.

Overrides:
writeHeaders in class AbstractSearchRequestView

writeSearchResults

public void writeSearchResults(SearchRequest searchRequest,
                               SearchRequestParams searchRequestParams,
                               Writer writer)
                        throws SearchException
Description copied from interface: SearchRequestView
Responsible for writing out the searchResults including Headers and Footers of the implementing view type.

Specified by:
writeSearchResults in interface SearchRequestView
Specified by:
writeSearchResults in class AbstractSearchRequestView
Parameters:
searchRequest - the original search request submitted by the user
searchRequestParams - stores a shallow copy of the session and a pagerfilter to determine how many results to display
writer - The writer used to stream the response.
Throws:
SearchException - Exceptions occured while trying to peform a search on the SearchRequest

getFooter

public String getFooter()


Copyright © 2002-2014 Atlassian. All Rights Reserved.