public interface UserResolver extends NameResolver<ApplicationUser>
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.
|
List<String> getIdsFromName(String name)
NameResolver
getIdsFromName
in interface NameResolver<ApplicationUser>
name
- the name of the T.boolean nameExists(String name)
NameResolver
nameExists
in interface NameResolver<ApplicationUser>
name
- the addressable name.boolean idExists(Long id)
NameResolver
idExists
in interface NameResolver<ApplicationUser>
id
- the primary key.ApplicationUser get(Long id)
get
in interface NameResolver<ApplicationUser>
id
- the id.ApplicationUser getApplicationUser(Long id)
id
- the id.Collection<ApplicationUser> getAll()
getAll
in interface NameResolver<ApplicationUser>
Copyright © 2002-2021 Atlassian. All Rights Reserved.