com.atlassian.crowd.plugin.rest.service.controller
Class SearchController
java.lang.Object
com.atlassian.crowd.plugin.rest.service.controller.SearchController
public class SearchController
- extends java.lang.Object
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. |
UserEntityList |
searchUsers(java.lang.String applicationName,
SearchRestrictionEntity searchRestrictionEntity,
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)
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
Copyright © 2010 Atlassian. All Rights Reserved.