com.atlassian.jira.plugin.searchrequestview
Class SearchRequestParamsImpl

java.lang.Object
  extended by com.atlassian.jira.plugin.searchrequestview.SearchRequestParamsImpl
All Implemented Interfaces:
IssueViewRequestParams, SearchRequestParams

public class SearchRequestParamsImpl
extends Object
implements SearchRequestParams

Default implmentation of @see com.atlassian.jira.plugin.searchrequestview.SearchRequestParams.


Constructor Summary
SearchRequestParamsImpl(javax.servlet.http.HttpSession session)
           
SearchRequestParamsImpl(javax.servlet.http.HttpSession session, PagerFilter pagerFilter)
           
SearchRequestParamsImpl(javax.servlet.http.HttpSession session, PagerFilter pagerFilter, IssueViewFieldParams issueViewFieldParams)
           
SearchRequestParamsImpl(javax.servlet.http.HttpSession session, PagerFilter pagerFilter, Map otherParams, IssueViewFieldParams issueViewFieldParams)
           
SearchRequestParamsImpl(javax.servlet.http.HttpSession session, PagerFilter pagerFilter, Map otherParams, IssueViewFieldParams issueViewFieldParams, String userAgent)
           
SearchRequestParamsImpl(Map params, PagerFilter pagerFilter)
           
 
Method Summary
 IssueViewFieldParams getIssueViewFieldParams()
           
 PagerFilter getPagerFilter()
          Used to get a handle on a pager filter that will have its start and max values setup based on either system defaults or possibly overridden by request parameters ('tempMax' and 'pager/start').
 Map getSession()
          Used to access information that may have been stored in the HttpSession.
 String getUserAgent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchRequestParamsImpl

public SearchRequestParamsImpl(javax.servlet.http.HttpSession session)

SearchRequestParamsImpl

public SearchRequestParamsImpl(javax.servlet.http.HttpSession session,
                               PagerFilter pagerFilter)

SearchRequestParamsImpl

public SearchRequestParamsImpl(Map params,
                               PagerFilter pagerFilter)

SearchRequestParamsImpl

public SearchRequestParamsImpl(javax.servlet.http.HttpSession session,
                               PagerFilter pagerFilter,
                               IssueViewFieldParams issueViewFieldParams)

SearchRequestParamsImpl

public SearchRequestParamsImpl(javax.servlet.http.HttpSession session,
                               PagerFilter pagerFilter,
                               Map otherParams,
                               IssueViewFieldParams issueViewFieldParams)

SearchRequestParamsImpl

public SearchRequestParamsImpl(javax.servlet.http.HttpSession session,
                               PagerFilter pagerFilter,
                               Map otherParams,
                               IssueViewFieldParams issueViewFieldParams,
                               String userAgent)
Method Detail

getSession

public Map getSession()
Description copied from interface: SearchRequestParams
Used to access information that may have been stored in the HttpSession. Values stored in the session cannot be modified in any way.

Specified by:
getSession in interface SearchRequestParams
Returns:
map containing a shallow copy of the HttpSession

getPagerFilter

public PagerFilter getPagerFilter()
Description copied from interface: SearchRequestParams
Used to get a handle on a pager filter that will have its start and max values setup based on either system defaults or possibly overridden by request parameters ('tempMax' and 'pager/start').

Specified by:
getPagerFilter in interface SearchRequestParams
Returns:
PagerFilter with appropriate max and start values set.

getUserAgent

public String getUserAgent()
Specified by:
getUserAgent in interface SearchRequestParams
Returns:
the user agent string from the request

getIssueViewFieldParams

public IssueViewFieldParams getIssueViewFieldParams()
Specified by:
getIssueViewFieldParams in interface IssueViewRequestParams


Copyright © 2002-2012 Atlassian. All Rights Reserved.