public class FilterViewHelper extends SharedEntitySearchViewHelper<SearchRequest>
SharedEntitySearchViewHelper.SearchResult<E>, SharedEntitySearchViewHelper.SortColumn
Constructor and Description |
---|
FilterViewHelper(ShareTypeFactory shareTypeFactory,
JiraAuthenticationContext authCtx,
String applicationContext,
String actionUrlPrefix,
SearchRequestService searchRequestService,
FeatureManager featureManager,
UserManager userManager) |
Modifier and Type | Method and Description |
---|---|
protected SharedEntitySearchResult<SearchRequest> |
doExecuteSearch(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth)
Execute the search for the passed parameters.
|
SharedEntitySearchContext |
getEntitySearchContext() |
protected boolean |
validateSearchParameters(JiraServiceContext ctx,
SharedEntitySearchParameters searchParameters,
int pageOffset,
int pageWidth)
Ensure that it is possible to execute a search with the passed parameters.
|
addParameter, createBasicUrlSearchParams, generateSortCssClass, generateSortIcon, generateSortUrl, getGroupShare, getPagingOffset, getPopularFilters, getProjectShare, getRoleShare, getSearchName, getSearchOwnerUserName, getSearchShareType, getSearchShareTypeJSON, getShareTypeRendererBeans, getSortColumn, getUserShare, isSortAscending, search, setGroupShare, setPagingOffset, setProjectShare, setRoleShare, setSearchName, setSearchOwnerUserName, setSearchShareType, setSortAscending, setSortColumn, setUserShare
public FilterViewHelper(ShareTypeFactory shareTypeFactory, JiraAuthenticationContext authCtx, String applicationContext, String actionUrlPrefix, SearchRequestService searchRequestService, FeatureManager featureManager, UserManager userManager)
public SharedEntitySearchContext getEntitySearchContext()
getEntitySearchContext
in class SharedEntitySearchViewHelper<SearchRequest>
protected SharedEntitySearchResult<SearchRequest> doExecuteSearch(JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)
SharedEntitySearchViewHelper
doExecuteSearch
in class SharedEntitySearchViewHelper<SearchRequest>
ctx
- the context to execute the search under.searchParameters
- the parameters for the search.pageOffset
- the offset of the search result page to return.pageWidth
- the width of a search result page.protected boolean validateSearchParameters(JiraServiceContext ctx, SharedEntitySearchParameters searchParameters, int pageOffset, int pageWidth)
SharedEntitySearchViewHelper
validateSearchParameters
in class SharedEntitySearchViewHelper<SearchRequest>
ctx
- the context to execute the search under.searchParameters
- the parameters for the search.pageOffset
- the offset of the search result page to return.pageWidth
- the width of a search result page.Copyright © 2002-2019 Atlassian. All Rights Reserved.