|
||||||||||
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 | |
---|---|
User |
get(Long id)
Get by id. |
Collection<User> |
getAll()
Gets all domain objects of this type in the underlying database. |
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<User>
name
- the name of the T.
boolean nameExists(String name)
NameResolver
nameExists
in interface NameResolver<User>
name
- the addressable name.
boolean idExists(Long id)
NameResolver
idExists
in interface NameResolver<User>
id
- the primary key.
User get(Long id)
NameResolver
get
in interface NameResolver<User>
id
- the id.
Collection<User> getAll()
NameResolver
getAll
in interface NameResolver<User>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |