com.atlassian.crowd.plugin.rest.service.controller
Class SearchController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.AbstractResourceController
com.atlassian.crowd.plugin.rest.service.controller.SearchController
public class SearchController
- extends AbstractResourceController
Controller for the Search resource.
|
Method Summary |
GroupEntityList |
searchGroups(java.lang.String applicationName,
SearchRestrictionEntity searchRestrictionEntity,
int maxResults,
int startIndex,
boolean expandGroup,
java.net.URI baseUri)
Searches for groups satisfying the restriction. |
GroupEntityList |
searchGroups(java.lang.String applicationName,
java.lang.String cqlSearchRestriction,
int maxResults,
int startIndex,
boolean expandGroup,
java.net.URI baseUri)
Searches for groups satisfying the restriction. |
UserEntityList |
searchUsers(java.lang.String applicationName,
SearchRestrictionEntity searchRestrictionEntity,
int maxResults,
int startIndex,
boolean expandUser,
java.net.URI baseUri)
Searches for users satisfying the restriction. |
UserEntityList |
searchUsers(java.lang.String applicationName,
java.lang.String cqlSearchRestriction,
int maxResults,
int startIndex,
boolean expandUser,
java.net.URI baseUri)
Searches for users satisfying the restriction. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchController
public SearchController(ApplicationService applicationService,
ApplicationManager applicationManager,
CqlQueryParser cqlQueryParser)
searchGroups
public GroupEntityList searchGroups(java.lang.String applicationName,
SearchRestrictionEntity searchRestrictionEntity,
int maxResults,
int startIndex,
boolean expandGroup,
java.net.URI baseUri)
- Searches for groups satisfying the restriction.
- Parameters:
applicationName - name of the application.searchRestrictionEntity - criteria for a group to be returnedmaxResults - maximum number of results to returnstartIndex - starting index of the resultexpandGroup - set to true if the group details should be expanded.baseUri - Base URI of the REST service
- Returns:
- GroupEntityList
searchUsers
public UserEntityList searchUsers(java.lang.String applicationName,
SearchRestrictionEntity searchRestrictionEntity,
int maxResults,
int startIndex,
boolean expandUser,
java.net.URI baseUri)
- Searches for users satisfying the restriction.
- Parameters:
applicationName - name of the application.searchRestrictionEntity - criteria for a user to be returnedmaxResults - maximum number of results to returnstartIndex - starting index of the resultexpandUser - set to true if the user details should be expanded.baseUri - Base URI of the REST service
- Returns:
- UserEntityList
searchGroups
public GroupEntityList searchGroups(java.lang.String applicationName,
java.lang.String cqlSearchRestriction,
int maxResults,
int startIndex,
boolean expandGroup,
java.net.URI baseUri)
- Searches for groups satisfying the restriction.
- Parameters:
applicationName - name of the application.cqlSearchRestriction - criteria for a group to be returned in the Crowd Query LanguagemaxResults - maximum number of results to returnstartIndex - starting index of the resultexpandGroup - set to true if the group details should be expanded.baseUri - Base URI of the REST service
- Returns:
- GroupEntityList
searchUsers
public UserEntityList searchUsers(java.lang.String applicationName,
java.lang.String cqlSearchRestriction,
int maxResults,
int startIndex,
boolean expandUser,
java.net.URI baseUri)
- Searches for users satisfying the restriction.
- Parameters:
applicationName - name of the application.cqlSearchRestriction - criteria for a user to be returned in the Crowd Query LanguagemaxResults - maximum number of results to returnstartIndex - starting index of the resultexpandUser - set to true if the user details should be expanded.baseUri - Base URI of the REST service
- Returns:
- UserEntityList
Copyright © 2011 Atlassian. All Rights Reserved.