

Public Member Functions | |
| cern.laser.console.User | createUser (String name, String password) throws LaserConsoleException |
| cern.laser.console.User | getUser (String name) throws LaserConsoleException |
| Collection | getUsers () throws LaserConsoleException |
| void | removeUser (String name) throws LaserConsoleException |
Static Public Member Functions | |
| static cern.laser.console.UserHandler | get () |
Private Member Functions | |
| UserHandler () | |
Static Private Attributes | |
| static final Logger | logger |
| static final int | userCounter = 6 |
| static final int | confCounter = 5 |
| static final String | userName = "bartek" |
| static final String | confName = "config" |
| static List | userList = null |
| static cern.laser.guiplatform.user.helpers.UserHandler | INSTANCE = null |
This class is only for simulating bussines layer. In the future is should be changed.
| cern::laser::guiplatform::user::helpers::UserHandler::UserHandler | ( | ) | [inline, private] |
Creates a new instance of UserHandler
Referenced by get().
| cern.laser.console.User cern::laser::guiplatform::user::helpers::UserHandler::createUser | ( | String | name, | |
| String | password | |||
| ) | throws LaserConsoleException [inline, virtual] |
Factory method. Define a new alarm console user.
| name | the user name. | |
| password | the user password. |
| LaserConsoleException | if the request can not be served. | |
| LaserUserDuplicationException | if the user already exists. |
Implements cern::laser::console::UserHandler.
| static cern.laser.console.UserHandler cern::laser::guiplatform::user::helpers::UserHandler::get | ( | ) | [inline, static] |
Factory method.
| LaserConsoleException | if the request can not be served |
Reimplemented from cern::laser::console::UserHandler.
References INSTANCE, and UserHandler().
| cern.laser.console.User cern::laser::guiplatform::user::helpers::UserHandler::getUser | ( | String | name | ) | throws LaserConsoleException [inline, virtual] |
Get the user by its name.
| name | the user name. |
| LaserConsoleException | if the request can not be served. | |
| LaserUserNotFoundException | if the user does not exist. |
Implements cern::laser::console::UserHandler.
| Collection cern::laser::guiplatform::user::helpers::UserHandler::getUsers | ( | ) | throws LaserConsoleException [inline, virtual] |
Get all the defined alarm console users.
| LaserConsoleException | if the request can not be served. |
Implements cern::laser::console::UserHandler.
| void cern::laser::guiplatform::user::helpers::UserHandler::removeUser | ( | String | name | ) | throws LaserConsoleException [inline, virtual] |
Remove an alarm console user.
| name | the name of the user to remove. |
| LaserConsoleException | if the request can not be served. | |
| LaserUserNotFoundException | if the user does not exist. |
Implements cern::laser::console::UserHandler.
final int cern::laser::guiplatform::user::helpers::UserHandler::confCounter = 5 [static, private] |
final String cern::laser::guiplatform::user::helpers::UserHandler::confName = "config" [static, private] |
cern.laser.guiplatform.user.helpers.UserHandler cern::laser::guiplatform::user::helpers::UserHandler::INSTANCE = null [static, private] |
Referenced by get().
final Logger cern::laser::guiplatform::user::helpers::UserHandler::logger [static, private] |
Logger.getLogger(UserHandler.class.getName())
logger for that class
final int cern::laser::guiplatform::user::helpers::UserHandler::userCounter = 6 [static, private] |
List cern::laser::guiplatform::user::helpers::UserHandler::userList = null [static, private] |
final String cern::laser::guiplatform::user::helpers::UserHandler::userName = "bartek" [static, private] |
1.6.2