

Public Member Functions | |
| UserHandlerImpl () throws LaserConsoleException | |
| Collection | getUsers () throws LaserConsoleException |
| User | getUser (String name) throws LaserConsoleException |
| User | createUser (String name, String password) throws LaserConsoleException |
| void | removeUser (String name) throws LaserConsoleException |
Private Member Functions | |
| Object | getConsoleUserEntityEJBHome () throws LaserConnectionException |
Private Attributes | |
| UserImpl | user |
| ArrayList | users = new ArrayList() |
| cern::laser::console::impl::UserHandlerImpl::UserHandlerImpl | ( | ) | throws LaserConsoleException [inline] |
| User cern::laser::console::impl::UserHandlerImpl::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.
| Object cern::laser::console::impl::UserHandlerImpl::getConsoleUserEntityEJBHome | ( | ) | throws LaserConnectionException [inline, private] |
| User cern::laser::console::impl::UserHandlerImpl::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.
Referenced by alma::alarmsystem::clients::CategoryClient::connect().
| Collection cern::laser::console::impl::UserHandlerImpl::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.
References users.
| void cern::laser::console::impl::UserHandlerImpl::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.
Referenced by getUser(), and UserHandlerImpl().
ArrayList cern::laser::console::impl::UserHandlerImpl::users = new ArrayList() [private] |
Referenced by getUser(), getUsers(), and UserHandlerImpl().
1.6.2