public class SearchResource extends AbstractResource
request, uriInfo
Constructor and Description |
---|
SearchResource(SearchController searchController) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
search(String entityType,
int maxResults,
int startIndex,
SearchRestrictionEntity searchRestriction)
Searches for entities of entity-type (either 'user' or 'group') satisfying the given search restriction.
|
javax.ws.rs.core.Response |
searchByCql(String entityType,
int maxResults,
int startIndex,
String cqlSearchRestriction)
Searches for entities of entity-type (either 'user' or 'group') with the specified search restriction
(as Crowd Query Language).
|
getApplicationName, getBaseUri, setApplicationName, setRequest, setUriInfo
public SearchResource(SearchController searchController)
public javax.ws.rs.core.Response search(String entityType, int maxResults, int startIndex, SearchRestrictionEntity searchRestriction)
entityType
- type of the entity to searchmaxResults
- maximum number of results returnedstartIndex
- starting index of the resultssearchRestriction
- restriction entities must satisfypublic javax.ws.rs.core.Response searchByCql(String entityType, int maxResults, int startIndex, String cqlSearchRestriction)
entityType
- type of the entity to searchmaxResults
- maximum number of results returnedstartIndex
- starting index of the resultscqlSearchRestriction
- restriction entities must satisfy in the Crowd Query LanguageCopyright © 2020 Atlassian. All rights reserved.