|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.crowd.plugin.rest.service.resources.AbstractResource com.atlassian.crowd.plugin.rest.service.resources.SearchResource
public class SearchResource
Search resource.
Field Summary |
---|
Fields inherited from class com.atlassian.crowd.plugin.rest.service.resources.AbstractResource |
---|
DEFAULT_SEARCH_RESULT_SIZE, MAX_RESULTS_PARAM, request, START_INDEX_PARAM, uriInfo |
Constructor Summary | |
---|---|
SearchResource(SearchController searchController)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
search(java.lang.String entityType,
int maxResults,
int startIndex,
SearchRestrictionEntity searchRestriction)
Searches for entities satisfying the given search restriction. |
Methods inherited from class com.atlassian.crowd.plugin.rest.service.resources.AbstractResource |
---|
getApplicationName, getBaseUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchResource(SearchController searchController)
Method Detail |
---|
public javax.ws.rs.core.Response search(java.lang.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 satisfy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |