

Public Member Functions | |
| abstract Collection | getUsers () throws LaserConsoleException |
| abstract User | getUser (String name) throws LaserConsoleException |
| abstract User | createUser (String name, String password) throws LaserConsoleException |
| abstract void | removeUser (String name) throws LaserConsoleException |
Static Public Member Functions | |
| static UserHandler | get () throws LaserConsoleException |
Static Private Attributes | |
| static UserHandler | instance = null |
Provides the services to handle alarm console users.
| abstract User cern::laser::console::UserHandler::createUser | ( | String | name, | |
| String | password | |||
| ) | throws LaserConsoleException [pure 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. |
Implemented in cern::laser::console::impl::UserHandlerImpl, and cern::laser::guiplatform::user::helpers::UserHandler.
Referenced by com::cosylab::acs::alarm::AlarmUserTest::notestUserConfiguration(), com::cosylab::acs::alarm::AlarmUserTest::notestUserHandler(), cern::laser::test::TestUserCreation::TestUserCreation(), and cern::laser::console::TestUserCreation::TestUserCreation().
| static UserHandler cern::laser::console::UserHandler::get | ( | ) | throws LaserConsoleException [inline, static] |
Factory method.
| LaserConsoleException | if the request can not be served |
Reimplemented in cern::laser::guiplatform::user::helpers::UserHandler.
References instance.
Referenced by cern::laser::guiplatform::user::UserHandlerFactory::getHandler().
| abstract User cern::laser::console::UserHandler::getUser | ( | String | name | ) | throws LaserConsoleException [pure 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. |
Implemented in cern::laser::console::impl::UserHandlerImpl, and cern::laser::guiplatform::user::helpers::UserHandler.
Referenced by cern::laser::test::junit::TestConsoleUser::getUser(), cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::login(), com::cosylab::acs::alarm::AlarmUserTest::notestUserHandler(), cern::laser::test::TestConfiguration::TestConfiguration(), cern::laser::console::TestConfiguration::TestConfiguration(), cern::laser::test::TestConfigurationWindow::testConsoleConfigurationWindow(), cern::laser::test::TestSelectionAndConfiguration::TestSelectionAndConfiguration(), and cern::laser::test::TstConfiguration2::TstConfiguration2().
| abstract Collection cern::laser::console::UserHandler::getUsers | ( | ) | throws LaserConsoleException [pure virtual] |
Get all the defined alarm console users.
| LaserConsoleException | if the request can not be served. |
Implemented in cern::laser::console::impl::UserHandlerImpl, and cern::laser::guiplatform::user::helpers::UserHandler.
Referenced by com::cosylab::acs::alarm::AlarmUserTest::notestUserHandler(), and cern::laser::console::TestConfigurationBrowsing::TestConfigurationBrowsing().
| abstract void cern::laser::console::UserHandler::removeUser | ( | String | name | ) | throws LaserConsoleException [pure 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. |
Implemented in cern::laser::console::impl::UserHandlerImpl, and cern::laser::guiplatform::user::helpers::UserHandler.
Referenced by com::cosylab::acs::alarm::AlarmUserTest::notestUserConfiguration(), com::cosylab::acs::alarm::AlarmUserTest::notestUserHandler(), and com::cosylab::acs::alarm::AlarmUserTest::tearDown().
UserHandler cern::laser::console::UserHandler::instance = null [static, private] |
Referenced by get().
1.6.2