public class DefaultSharedEntitySearcher<S extends SharedEntity> extends Object implements SharedEntitySearcher<S>
SharedEntitySearcher
.Modifier and Type | Method and Description |
---|---|
SharedEntitySearchResult<S> |
search(SharedEntitySearchParameters searchParameters)
Search for
SharedEntity instances that match the passed in searchParameters. |
SharedEntitySearchResult<S> |
search(SharedEntitySearchParameters searchParameters,
ApplicationUser user,
int pageOffset,
int pageWidth)
Search for
SharedEntity instances that match the passed in searchParameters. |
public SharedEntitySearchResult<S> search(SharedEntitySearchParameters searchParameters, ApplicationUser user, int pageOffset, int pageWidth)
SharedEntitySearcher
SharedEntity
instances that match the passed in searchParameters.search
in interface SharedEntitySearcher<S extends SharedEntity>
searchParameters
- the search searchParameters for the search.user
- the user to perform the search as.pageOffset
- the page that should be returned by the search. Must be >=0.pageWidth
- the width of the page that should be returned by the search. Can be set to Integer.MAX_VALUE if you want to return all results
at one. In this case it is compulsory to set pageOffest to 0.public SharedEntitySearchResult<S> search(SharedEntitySearchParameters searchParameters)
SharedEntitySearcher
SharedEntity
instances that match the passed in searchParameters. Used for system searches. Unpaged and no permissions query
performed.search
in interface SharedEntitySearcher<S extends SharedEntity>
searchParameters
- the search searchParameters for the search.Copyright © 2002-2019 Atlassian. All Rights Reserved.