public class UserResource extends Object
Shamelessly copy-pasta'd from the Crowd REST Plugin SearchResource and SearchController, with simplifications to make it use the CrowdService, instead of the ApplicationService.
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SEARCH_RESULT_SIZE |
Constructor and Description |
---|
UserResource(com.atlassian.crowd.embedded.api.CrowdService crowdService) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.crowd.plugin.rest.entity.GroupEntityList |
searchGroups(SearchRestrictionEntity searchRestrictionEntity,
int startIndex,
int maxResults) |
com.atlassian.crowd.plugin.rest.entity.UserEntityList |
searchUsers(SearchRestrictionEntity searchRestrictionEntity,
int startIndex,
int maxResults) |
public static final String DEFAULT_SEARCH_RESULT_SIZE
public UserResource(com.atlassian.crowd.embedded.api.CrowdService crowdService)
public com.atlassian.crowd.plugin.rest.entity.UserEntityList searchUsers(SearchRestrictionEntity searchRestrictionEntity, int startIndex, int maxResults)
public com.atlassian.crowd.plugin.rest.entity.GroupEntityList searchGroups(SearchRestrictionEntity searchRestrictionEntity, int startIndex, int maxResults)
Copyright © 2003–2017 Atlassian. All rights reserved.