|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserResolver
We need a non-generified interface here to make this work with PICO+OSGi in plugins2
| 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. |
| Method Detail |
|---|
List<String> getIdsFromName(String name)
NameResolver
getIdsFromName in interface NameResolver<com.atlassian.crowd.embedded.api.User>name - the name of the T.
boolean nameExists(String name)
NameResolver
nameExists in interface NameResolver<com.atlassian.crowd.embedded.api.User>name - the addressable name.
boolean idExists(Long id)
NameResolver
idExists 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.
Collection<com.atlassian.crowd.embedded.api.User> getAll()
getAll in interface NameResolver<com.atlassian.crowd.embedded.api.User>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||