com.atlassian.crowd.plugin.rest.service.resource
Class SearchResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
com.atlassian.crowd.plugin.rest.service.resource.SearchResource
public class SearchResource
- extends AbstractResource
Search resource.
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchResource
public SearchResource(SearchController searchController)
search
public javax.ws.rs.core.Response search(String entityType,
int maxResults,
int startIndex,
SearchRestrictionEntity searchRestriction)
- Searches for entities satisfying the given search restriction.
- Parameters:
entityType
- type of the entity to searchmaxResults
- maximum number of results returnedstartIndex
- starting index of the resultssearchRestriction
- restriction entities must satisfy
search
public javax.ws.rs.core.Response search(String entityType,
int maxResults,
int startIndex,
String cqlSearchRestriction)
- Searches for entities satisfying the given search restriction.
- Parameters:
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 Language
Copyright © 2012 Atlassian. All Rights Reserved.