public interface SearchRequestFactory
Modifier and Type | Method and Description |
---|---|
SearchRequest |
createFromParameters(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
ActionParams parameterMap)
Deprecated.
Since 6.3.3, use
createFromQuery(SearchRequest, ApplicationUser, com.atlassian.query.Query) instead. |
SearchRequest |
createFromQuery(SearchRequest oldSearchRequest,
ApplicationUser searchUser,
Query query)
Takes a user, a SearchQuery and an original search request that are used to create an object
representation of the search request.
|
@Deprecated SearchRequest createFromParameters(SearchRequest oldSearchRequest, ApplicationUser searchUser, ActionParams parameterMap)
createFromQuery(SearchRequest, ApplicationUser, com.atlassian.query.Query)
instead.oldSearchRequest
- The original SearchRequest, if provided will be cloned as the basis for the new
search request. The search requests Query
will always be populated from
the passed in parameters. If this is the same as the oldSearchRequest then the new search requests modified
flag will be false. This can be null.searchUser
- The user that is searchingparameterMap
- The raw request parameters that will be passed through the
SearchInputTransformer.populateFromParams(ApplicationUser,com.atlassian.jira.issue.transport.FieldValuesHolder,com.atlassian.jira.issue.transport.ActionParams)
and SearchInputTransformer.getSearchClause(ApplicationUser,com.atlassian.jira.issue.transport.FieldValuesHolder)
methods to create a search clause. The parameters will also be used to create an OrderBy
clause via the SearchSortUtil.getOrderByClause(java.util.Map)
call.
Must not be null.SearchRequest createFromQuery(SearchRequest oldSearchRequest, ApplicationUser searchUser, Query query)
oldSearchRequest
- The original SearchRequest, if provided will be cloned as the basis for the new
search request. The search requests Query
will always be populated from
the passed in parameters. If this is the same as the oldSearchRequest then the new search requests modified
flag will be false. This can be null.searchUser
- The user that is searchingquery
- the query that defines the search requests where and order by clauses.Copyright © 2002-2015 Atlassian. All Rights Reserved.