com.atlassian.jira.issue.views
Class AbstractSearchRequestFullContentView

java.lang.Object
  extended by com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
      extended by com.atlassian.jira.issue.views.AbstractSearchRequestFullContentView
All Implemented Interfaces:
SearchRequestView
Direct Known Subclasses:
SearchRequestFullContentView, SearchRequestWordView

public abstract class AbstractSearchRequestFullContentView
extends AbstractSearchRequestView


Field Summary
protected  ApplicationProperties applicationProperties
           
 
Fields inherited from class com.atlassian.jira.plugin.searchrequestview.AbstractSearchRequestView
descriptor
 
Constructor Summary
AbstractSearchRequestFullContentView(JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil)
           
 
Method Summary
protected abstract  Class getIssueViewClass()
          Return a class that extends AbstractIssueHtmlView
protected abstract  boolean showLinkToIssueNavigator()
          With a word view of an issue - you do not want to show a link back to the previous
 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, writeHeaders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

applicationProperties

protected final ApplicationProperties applicationProperties
Constructor Detail

AbstractSearchRequestFullContentView

public AbstractSearchRequestFullContentView(JiraAuthenticationContext authenticationContext,
                                            ApplicationProperties applicationProperties,
                                            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.

getIssueViewClass

protected abstract Class getIssueViewClass()
Return a class that extends AbstractIssueHtmlView

Returns:

showLinkToIssueNavigator

protected abstract boolean showLinkToIssueNavigator()
With a word view of an issue - you do not want to show a link back to the previous

Returns:
true if you want links to Issue Navigator to be shown, false otherwise


Copyright © 2002-2015 Atlassian. All Rights Reserved.