|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.jql.resolver.UserResolverImpl
public class UserResolverImpl
Resolves User objects and their names.
| Constructor Summary | |
|---|---|
UserResolverImpl(UserPickerSearchService userPickerSearchService)
|
|
| Method Summary | |
|---|---|
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserResolverImpl(UserPickerSearchService userPickerSearchService)
| Method Detail |
|---|
public List<String> getIdsFromName(String name)
NameResolver
getIdsFromName in interface NameResolver<com.atlassian.crowd.embedded.api.User>getIdsFromName in interface UserResolvername - the name of the T.
public boolean nameExists(String name)
NameResolver
nameExists in interface NameResolver<com.atlassian.crowd.embedded.api.User>nameExists in interface UserResolvername - the addressable name.
public boolean idExists(Long id)
NameResolver
idExists in interface NameResolver<com.atlassian.crowd.embedded.api.User>idExists in interface UserResolverid - the primary key.
public com.atlassian.crowd.embedded.api.User get(Long id)
UserResolver
get in interface NameResolver<com.atlassian.crowd.embedded.api.User>get in interface UserResolverid - the id.
public Collection<com.atlassian.crowd.embedded.api.User> getAll()
UserResolver
getAll in interface NameResolver<com.atlassian.crowd.embedded.api.User>getAll in interface UserResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||