com.atlassian.jira.issue.views
Class AbstractSearchRequestExcelView

java.lang.Object
  extended by com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
      extended by com.atlassian.jira.issue.views.AbstractSearchRequestIssueTableView
          extended by com.atlassian.jira.issue.views.AbstractSearchRequestExcelView
All Implemented Interfaces:
SearchRequestView
Direct Known Subclasses:
SearchRequestExcelViewAllFields, SearchRequestExcelViewCurrentFields

public abstract class AbstractSearchRequestExcelView
extends AbstractSearchRequestIssueTableView


Field Summary
protected  TableLayoutFactory tableLayoutFactory
           
 
Fields inherited from class com.atlassian.jira.issue.views.AbstractSearchRequestIssueTableView
applicationProperties, authenticationContext, searchProvider
 
Fields inherited from class com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
descriptor
 
Constructor Summary
protected AbstractSearchRequestExcelView(JiraAuthenticationContext authenticationContext, SearchProvider searchProvider, ApplicationProperties appProperties, TableLayoutFactory tableLayoutFactory, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil)
           
 
Method Summary
protected abstract  IssueTableLayoutBean getColumnLayout(SearchRequest searchRequest, User 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.
 
Methods inherited from class com.atlassian.jira.issue.views.AbstractSearchRequestIssueTableView
getSearchResults
 
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

tableLayoutFactory

protected final TableLayoutFactory tableLayoutFactory
Constructor Detail

AbstractSearchRequestExcelView

protected AbstractSearchRequestExcelView(JiraAuthenticationContext authenticationContext,
                                         SearchProvider searchProvider,
                                         ApplicationProperties appProperties,
                                         TableLayoutFactory tableLayoutFactory,
                                         SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil)
Method Detail

writeSearchResults

public void writeSearchResults(SearchRequest searchRequest,
                               SearchRequestParams searchRequestParams,
                               Writer writer)
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.

writeHeaders

public void writeHeaders(SearchRequest searchRequest,
                         RequestHeaders requestHeaders,
                         SearchRequestParams searchRequestParams)
Description copied from class: AbstractSearchRequestView
By default we don't care about the user agent

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
searchRequestParams - context about the current search request

getColumnLayout

protected abstract IssueTableLayoutBean getColumnLayout(SearchRequest searchRequest,
                                                        User user)


Copyright © 2002-2009 Atlassian. All Rights Reserved.