public class SearchResource extends AbstractResource
DEFAULT_SEARCH_RESULT_SIZE, MAX_RESULTS_PARAM, request, START_INDEX_PARAM, 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 satisfying the given search restriction.
|
javax.ws.rs.core.Response |
search(String entityType,
int maxResults,
int startIndex,
String cqlSearchRestriction)
Searches for entities satisfying the given search restriction.
|
getApplicationName, getBaseUri
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 search(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 © 2013 Atlassian. All Rights Reserved.