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 java.lang.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
 java.lang.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, java.io.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 java.lang.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.

Specified by:
writeHeaders in interface SearchRequestView
Overrides:
writeHeaders in class AbstractSearchRequestView
Parameters:
searchRequest - the original search request submitted by the user
requestHeaders - subset of HttpServletResponse responsible for setting headers only

writeSearchResults

public void writeSearchResults(SearchRequest searchRequest,
                               SearchRequestParams searchRequestParams,
                               java.io.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 java.lang.String getFooter()


Copyright © 2002-2010 Atlassian. All Rights Reserved.