public class UserDirectoryServiceFacade extends Object
UserDirectoryServiceFacade is the service facade layer
that handles individual user directory operations.
Note that class acts as service facade to underlying user directory service,
essentially relaying operations, without consideration to speed of operations.| Constructor and Description |
|---|
UserDirectoryServiceFacade() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAllAdministratorUsernames()
Returns a set of names of all users that have administer permission of the cable database.
|
Set<String> |
getAllUsernames()
Returns a set of all user names currently registered in the directory.
|
String |
getEmail(String username)
Retrieves the email address for the given user.
|
String |
getUserFullName(String username)
Retrieves the full name of the given user.
|
String |
getUserFullNameAndEmail(String username)
Retrieves the full name and email of the user in the form Name Surname - mail@mail.com
|
public Set<String> getAllUsernames()
public Set<String> getAllAdministratorUsernames()
public String getEmail(String username)
username - the user namepublic String getUserFullName(String username)
username - the user nameCopyright © 2025 European Spallation Source. All rights reserved.