|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserService
Provides an API for working with Users.
Method Summary | |
---|---|
java.util.List<UserData> |
getAllUsers()
Returns the Crucible users. |
UserData |
getUser(java.lang.String userName)
Get a UserData object for a named user. |
UserProfileData |
getUserProfile(java.lang.String userName)
Get a UserProfileData object for a named user. |
Method Detail |
---|
java.util.List<UserData> getAllUsers() throws ServerException
NotPermittedException
- if the effective prinicpal is anonymous
and anonymous access is not allowed
ServerException
UserData getUser(java.lang.String userName) throws ServerException
NotPermittedException
- if the effective principal is anonymous
and anonymous access is not allowed
NotFoundException
- if there is no user with username userName
ServerException
UserProfileData getUserProfile(java.lang.String userName) throws ServerException
NotPermittedException
- if you are not logged in as the requested user
and you are not an administrator
NotFoundException
- if there is no user with username userName
ServerException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |