Class SearchResource
java.lang.Object
com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
com.atlassian.crowd.plugin.rest.service.resource.usermanagement.SearchResource
@Path("search")
@Consumes({"application/xml","application/json"})
@Produces({"application/xml","application/json"})
public class SearchResource
extends AbstractResource
Search resource.
-
Field Summary
Fields inherited from class com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
request, uriInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
search
(String entityType, int maxResults, int startIndex, SearchRestrictionEntity searchRestriction) javax.ws.rs.core.Response
searchByCql
(String entityType, int maxResults, int startIndex, String cqlSearchRestriction) Methods inherited from class com.atlassian.crowd.plugin.rest.service.resource.AbstractResource
getApplicationName, getBaseUri, setApplicationName, setRequest, setUriInfo
-
Constructor Details
-
SearchResource
-
-
Method Details
-
search
@POST public javax.ws.rs.core.Response search(@QueryParam("entity-type") String entityType, @QueryParam("max-results") @DefaultValue("1000") int maxResults, @QueryParam("start-index") @DefaultValue("0") int startIndex, SearchRestrictionEntity searchRestriction) throws DirectoryNotFoundException, OperationFailedException -
searchByCql
-