public interface UserResolver extends NameResolver<com.atlassian.crowd.embedded.api.User>
| Modifier and Type | Method and Description |
|---|---|
com.atlassian.crowd.embedded.api.User |
get(Long id)
Get a user from an ID
|
Collection<com.atlassian.crowd.embedded.api.User> |
getAll()
Get all users
|
ApplicationUser |
getApplicationUser(Long id)
Gets an application user from an ID
|
List<String> |
getIdsFromName(String name)
Returns the list of ids of T objects that have the given name.
|
boolean |
idExists(Long id)
Returns true if the id would resolve to a domain object.
|
boolean |
nameExists(String name)
Returns true if the name would resolve to a domain object.
|
List<String> getIdsFromName(String name)
NameResolvergetIdsFromName in interface NameResolver<com.atlassian.crowd.embedded.api.User>name - the name of the T.boolean nameExists(String name)
NameResolvernameExists in interface NameResolver<com.atlassian.crowd.embedded.api.User>name - the addressable name.boolean idExists(Long id)
NameResolveridExists in interface NameResolver<com.atlassian.crowd.embedded.api.User>id - the primary key.com.atlassian.crowd.embedded.api.User get(Long id)
get in interface NameResolver<com.atlassian.crowd.embedded.api.User>id - the id.ApplicationUser getApplicationUser(Long id)
id - the id.Collection<com.atlassian.crowd.embedded.api.User> getAll()
getAll in interface NameResolver<com.atlassian.crowd.embedded.api.User>Copyright © 2002-2015 Atlassian. All Rights Reserved.