public class SearchRequestRecentCommentsView extends AbstractSearchRequestView
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_DESCRIPTION |
descriptor
Constructor and Description |
---|
SearchRequestRecentCommentsView(JiraAuthenticationContext authenticationContext,
ApplicationProperties applicationProperties,
RendererManager rendererManager,
RecentCommentManager recentCommentManager,
BuildUtilsInfo buildUtilsInfo) |
Modifier and Type | Method and Description |
---|---|
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.
|
init, writeHeaders
public static final String DEFAULT_DESCRIPTION
public SearchRequestRecentCommentsView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, RendererManager rendererManager, RecentCommentManager recentCommentManager, BuildUtilsInfo buildUtilsInfo)
public void writeHeaders(SearchRequest searchRequest, RequestHeaders requestHeaders)
AbstractSearchRequestView
writeHeaders
in class AbstractSearchRequestView
public void writeSearchResults(SearchRequest searchRequest, SearchRequestParams searchRequestParams, Writer writer) throws SearchException
SearchRequestView
writeSearchResults
in interface SearchRequestView
writeSearchResults
in class AbstractSearchRequestView
searchRequest
- the original search request submitted by the usersearchRequestParams
- stores a shallow copy of the session and a pagerfilter to determine how many results to displaywriter
- The writer used to stream the response.SearchException
- Exceptions occured while trying to peform a search on the SearchRequest
public String getFooter()
Copyright © 2002-2022 Atlassian. All Rights Reserved.