public abstract class AbstractSearchRequestExcelView extends AbstractSearchRequestIssueTableView
Modifier and Type | Field and Description |
---|---|
protected DateTimeFormatter |
dateTimeFormatter |
protected TableLayoutFactory |
tableLayoutFactory |
applicationProperties, authenticationContext, searchProvider
descriptor
Modifier | Constructor and Description |
---|---|
protected |
AbstractSearchRequestExcelView(JiraAuthenticationContext authenticationContext,
SearchProvider searchProvider,
ApplicationProperties appProperties,
TableLayoutFactory tableLayoutFactory,
SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil,
DateTimeFormatter dateTimeFormatter) |
Modifier and Type | Method and Description |
---|---|
protected abstract IssueTableLayoutBean |
getColumnLayout(SearchRequest searchRequest,
ApplicationUser user) |
void |
writeHeaders(SearchRequest searchRequest,
RequestHeaders requestHeaders,
SearchRequestParams searchRequestParams)
By default we don't care about the user agent
|
void |
writeSearchResults(SearchRequest searchRequest,
SearchRequestParams searchRequestParams,
Writer writer)
Responsible for writing out the searchResults including Headers and Footers of the implementing view type.
|
getSearchResults
init, writeHeaders
protected final TableLayoutFactory tableLayoutFactory
protected final DateTimeFormatter dateTimeFormatter
protected AbstractSearchRequestExcelView(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ApplicationProperties appProperties, TableLayoutFactory tableLayoutFactory, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil, DateTimeFormatter dateTimeFormatter)
public void writeSearchResults(SearchRequest searchRequest, SearchRequestParams searchRequestParams, Writer writer)
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.public void writeHeaders(SearchRequest searchRequest, RequestHeaders requestHeaders, SearchRequestParams searchRequestParams)
AbstractSearchRequestView
writeHeaders
in interface SearchRequestView
writeHeaders
in class AbstractSearchRequestView
searchRequest
- the original search request submitted by the userrequestHeaders
- subset of HttpServletResponse responsible for setting headers onlysearchRequestParams
- context about the current search requestprotected abstract IssueTableLayoutBean getColumnLayout(SearchRequest searchRequest, ApplicationUser user)
Copyright © 2002-2015 Atlassian. All Rights Reserved.