Package com.atlassian.jira.issue.views
Class SearchRequestRecentCommentsView
java.lang.Object
com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
com.atlassian.jira.issue.views.SearchRequestRecentCommentsView
- All Implemented Interfaces:
SearchRequestView
-
Field Summary
FieldsFields inherited from class com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
descriptor
-
Constructor Summary
ConstructorsConstructorDescriptionSearchRequestRecentCommentsView
(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, RendererManager rendererManager, RecentCommentManager recentCommentManager, BuildUtilsInfo buildUtilsInfo) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
-
Field Details
-
DEFAULT_DESCRIPTION
- See Also:
-
-
Constructor Details
-
SearchRequestRecentCommentsView
public SearchRequestRecentCommentsView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, RendererManager rendererManager, RecentCommentManager recentCommentManager, BuildUtilsInfo buildUtilsInfo)
-
-
Method Details
-
writeHeaders
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 classAbstractSearchRequestView
-
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 interfaceSearchRequestView
- Specified by:
writeSearchResults
in classAbstractSearchRequestView
- Parameters:
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.- Throws:
SearchException
- Exceptions occured while trying to peform a search on theSearchRequest
-