com.atlassian.jira.issue.views
Class SearchRequestWordView

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

public class SearchRequestWordView
extends AbstractSearchRequestFullContentView


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

Constructor Detail

SearchRequestWordView

public SearchRequestWordView(JiraAuthenticationContext authenticationContext,
                             ApplicationProperties applicationProperties,
                             SearchRequestViewBodyWriterUtil searchRequestViewBodyWriterUtil)
Method Detail

getIssueViewClass

protected Class getIssueViewClass()
Description copied from class: AbstractSearchRequestFullContentView
Return a class that extends AbstractIssueHtmlView

Specified by:
getIssueViewClass in class AbstractSearchRequestFullContentView
Returns:

showLinkToIssueNavigator

protected boolean showLinkToIssueNavigator()
Description copied from class: AbstractSearchRequestFullContentView
With a word view of an issue - you do not want to show a link back to the previous

Specified by:
showLinkToIssueNavigator in class AbstractSearchRequestFullContentView
Returns:
true if you want links to Issue Navigator to be shown, false otherwise

writeHeaders

public void writeHeaders(SearchRequest searchRequest,
                         RequestHeaders requestHeaders)
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.

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


Copyright © 2002-2008 Atlassian. All Rights Reserved.