public class SearchRequestParamsImpl extends Object implements SearchRequestParams
Constructor and Description |
---|
SearchRequestParamsImpl(javax.servlet.http.HttpSession session,
PagerFilter pagerFilter,
Map<String,?> otherParams,
IssueViewFieldParams issueViewFieldParams,
String userAgent,
String fileExtension) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
convertSessionToMap(javax.servlet.http.HttpSession session) |
String |
getFileExtension() |
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<String,Object> |
getSession()
Used to access information that may have been stored in the HttpSession.
|
String |
getUserAgent() |
boolean |
isReturnMax() |
void |
setReturnMax(boolean returnMax) |
public SearchRequestParamsImpl(javax.servlet.http.HttpSession session, PagerFilter pagerFilter, Map<String,?> otherParams, IssueViewFieldParams issueViewFieldParams, String userAgent, String fileExtension)
public static Map<String,Object> convertSessionToMap(javax.servlet.http.HttpSession session)
public Map<String,Object> getSession()
SearchRequestParams
getSession
in interface SearchRequestParams
public PagerFilter getPagerFilter()
SearchRequestParams
getPagerFilter
in interface SearchRequestParams
public String getUserAgent()
getUserAgent
in interface SearchRequestParams
public IssueViewFieldParams getIssueViewFieldParams()
getIssueViewFieldParams
in interface IssueViewRequestParams
public void setReturnMax(boolean returnMax)
setReturnMax
in interface SearchRequestParams
returnMax
- true if the search should return up to the maximum number of issues configured for the
'jira.search.views.max.limit' application property, even if a greater value is set as
the max on the pager filter.public boolean isReturnMax()
isReturnMax
in interface SearchRequestParams
public String getFileExtension()
getFileExtension
in interface SearchRequestParams
Copyright © 2002-2018 Atlassian. All Rights Reserved.