public class UserResolverImpl extends Object implements UserResolver
| Constructor and Description |
|---|
UserResolverImpl(UserKeyService userKeyService,
UserManager userManager,
UserSearchService userSearchService) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationUser |
get(Long id)
Get a user from an ID
|
Collection<ApplicationUser> |
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.
|
public UserResolverImpl(UserKeyService userKeyService, UserManager userManager, UserSearchService userSearchService)
public List<String> getIdsFromName(String name)
NameResolvergetIdsFromName in interface NameResolver<ApplicationUser>getIdsFromName in interface UserResolvername - the name of the T.public boolean nameExists(String name)
NameResolvernameExists in interface NameResolver<ApplicationUser>nameExists in interface UserResolvername - the addressable name.public boolean idExists(Long id)
NameResolveridExists in interface NameResolver<ApplicationUser>idExists in interface UserResolverid - the primary key.public ApplicationUser get(Long id)
UserResolverget in interface NameResolver<ApplicationUser>get in interface UserResolverid - the id.public ApplicationUser getApplicationUser(Long id)
UserResolvergetApplicationUser in interface UserResolverid - the id.@Nonnull public Collection<ApplicationUser> getAll()
UserResolvergetAll in interface NameResolver<ApplicationUser>getAll in interface UserResolverCopyright © 2002-2021 Atlassian. All Rights Reserved.