The persistency of this object towards the data store
is the responsibility of the client using the User
object itself by calling the
User.save method.
Parameters: login - the user login used when authenticating a User object which isn't persistent yet.
Return the Role object which is identified by data store id roleId
Parameters: roleId - the data store id of the desired Role object the Role object corresponding to data store id roleId
Return the Role object which is identified by the specified roleName
Parameters: roleName - the name by which the desired Role object is identified the Role object for the role with name roleName
Return the User object which is identified by data store id userId.
Only administrators can retrieve the User object for users that are
not themselve.
Parameters: userId - the data store id of the desired User object the User object corresponding to data store id userId
Return the User object which is identified by the specified userLogin
Parameters: userLogin - the login by which the desired User object is identified the User object for the user with login userLogin
Retrieves the display name of a user, using the user cache for quick access.
Only administrators are allowed to access the full user object, so this method
enables 'normal' users to resolve user ids to names.
Retrieves the id of a user based on its login. This method can be used
instead of getUser(login).getId() for non-administrator users.
throws: UserNotFoundException - if the user doesn't exist
Retrieves the login of a user.
Only administrators are allowed to access the full user object, so this method
enables 'normal' users to resolve user ids to logins.