com.atlassian.jira.plugin.searchrequestview
Class DefaultSearchRequestURLHandler

java.lang.Object
  extended by com.atlassian.jira.plugin.searchrequestview.DefaultSearchRequestURLHandler
All Implemented Interfaces:
SearchRequestURLHandler

public class DefaultSearchRequestURLHandler
extends Object
implements SearchRequestURLHandler


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.plugin.searchrequestview.SearchRequestURLHandler
SearchRequestURLHandler.Parameter
 
Field Summary
 
Fields inherited from interface com.atlassian.jira.plugin.searchrequestview.SearchRequestURLHandler
NO_HEADERS_PARAMETER
 
Constructor Summary
DefaultSearchRequestURLHandler(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraAuthenticationContext authenticationContext, ApplicationProperties applicationProperties, I18nHelper.BeanFactory i18nBean, Authorizer requestAuthorizer, SearchProvider searchProvider, IssueViewRequestParamsHelper issueViewRequestParamsHelper, SearchService searchService, JqlStringSupport jqlStringSupport, BuildUtilsInfo buildUtilsInfo, DateTimeFormatterFactory dateTimeFormatterFactory)
           
 
Method Summary
protected  int getMaxAllowed()
           
protected  PagerFilter getPagerFilter(javax.servlet.http.HttpServletRequest request)
          Returns a PagerFilter initialised using URL parameters from the request
protected  SearchRequestService getSearchRequestService()
           
 String getURLWithoutContextPath(SearchRequestViewModuleDescriptor moduleDescriptor, SearchRequestInfo searchRequestInfo)
           
 void handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSearchRequestURLHandler

public DefaultSearchRequestURLHandler(com.atlassian.plugin.PluginAccessor pluginAccessor,
                                      JiraAuthenticationContext authenticationContext,
                                      ApplicationProperties applicationProperties,
                                      I18nHelper.BeanFactory i18nBean,
                                      Authorizer requestAuthorizer,
                                      SearchProvider searchProvider,
                                      IssueViewRequestParamsHelper issueViewRequestParamsHelper,
                                      SearchService searchService,
                                      JqlStringSupport jqlStringSupport,
                                      BuildUtilsInfo buildUtilsInfo,
                                      DateTimeFormatterFactory dateTimeFormatterFactory)
Method Detail

getURLWithoutContextPath

public String getURLWithoutContextPath(SearchRequestViewModuleDescriptor moduleDescriptor,
                                       SearchRequestInfo searchRequestInfo)
Specified by:
getURLWithoutContextPath in interface SearchRequestURLHandler

handleRequest

public void handleRequest(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws IOException
Specified by:
handleRequest in interface SearchRequestURLHandler
Throws:
IOException

getMaxAllowed

protected int getMaxAllowed()

getSearchRequestService

protected SearchRequestService getSearchRequestService()

getPagerFilter

protected PagerFilter getPagerFilter(javax.servlet.http.HttpServletRequest request)
Returns a PagerFilter initialised using URL parameters from the request

Parameters:
request - the request
Returns:
the PagerFilter


Copyright © 2002-2015 Atlassian. All Rights Reserved.