

Classes | |
| class | LocalConsoleUser |
Public Member Functions | |
| UserImpl (String newUserName) throws LaserConsoleException | |
| String | getName () throws LaserConsoleException |
| void | setName (String newName) throws LaserConsoleException |
| String | getPassword () throws LaserConsoleException |
| void | setPassword (String newPassword) throws LaserConsoleException |
| String | getDefaultPrinter () throws LaserConsoleException |
| void | setDefaultPrinter (String newDefaultPrinter) throws LaserConsoleException |
| Collection | getConfigurations () throws LaserConsoleException, LaserConnectionException |
| Configuration | getConfiguration (String name) throws LaserConsoleException, LaserConnectionException |
| Configuration | createConfiguration (String name) throws LaserConsoleException |
| Configuration | createConfiguration (Configuration configuration) throws LaserConsoleException |
| void | removeConfiguration (String name) throws LaserConsoleException |
| Configuration | getDefaultConfiguration () throws LaserConsoleException, LaserConnectionException |
| void | setDefaultConfiguration (String name) throws LaserConsoleException |
| boolean | isDefaultConfiguration (String name) throws LaserConsoleException |
| String | toString () |
Private Member Functions | |
| Object | getConsoleConfigurationEntityEJBHome () throws LaserConnectionException |
| Object | getConsoleUserEntityEJB () throws LaserConnectionException, LaserUserNotFoundException |
Private Attributes | |
| AlarmService | laser |
| ArrayList | configurations = new ArrayList() |
| LocalConsoleUser | user |
| cern::laser::console::impl::UserImpl::UserImpl | ( | String | newUserName | ) | throws LaserConsoleException [inline] |
| Configuration cern::laser::console::impl::UserImpl::createConfiguration | ( | Configuration | configuration | ) | throws LaserConsoleException [inline] |
Create a new alarm console configuration for the user using a given configuration.
| configuration | the configuration to be used to create the new one. |
| LaserConsoleException | if the request could not be served. | |
| LaserConfigurationDuplicationException | if the configuration already exists. |
Implements cern::laser::console::User.
| Configuration cern::laser::console::impl::UserImpl::createConfiguration | ( | String | name | ) | throws LaserConsoleException [inline] |
Create a new alarm console configuration for the user.
| name | the name of the configuration to create. |
| LaserConsoleException | if the request could not be served. | |
| LaserConfigurationDuplicationException | if the configuration already exists. |
Implements cern::laser::console::User.
References getDefaultConfiguration(), cern::laser::console::Configuration::getSelection(), and cern::laser::client::services::selection::Selection::setCategorySelection().
| Configuration cern::laser::console::impl::UserImpl::getConfiguration | ( | String | name | ) | throws LaserConsoleException, LaserConnectionException [inline] |
Accessor method.
| name | the name of the configuration. |
| LaserConnectionException | if the console cannot connect to the BL | |
| LaserConfigurationNotFoundException | if the configuration does not exist. |
Implements cern::laser::console::User.
| Collection cern::laser::console::impl::UserImpl::getConfigurations | ( | ) | throws LaserConsoleException, LaserConnectionException [inline] |
Accessor method.
| LaserConsoleException | if the request could not be served. | |
| LaserConnectionException | if the console cannot connect to the BL |
Implements cern::laser::console::User.
References configurations, and getDefaultConfiguration().
| Object cern::laser::console::impl::UserImpl::getConsoleConfigurationEntityEJBHome | ( | ) | throws LaserConnectionException [inline, private] |
| Object cern::laser::console::impl::UserImpl::getConsoleUserEntityEJB | ( | ) | throws LaserConnectionException, LaserUserNotFoundException [inline, private] |
| Configuration cern::laser::console::impl::UserImpl::getDefaultConfiguration | ( | ) | throws LaserConsoleException, LaserConnectionException [inline] |
Get the user's default configuration.
| LaserConsoleException | if the request could not be served. | |
| LaserConnectionException | if the console cannot connect to the BL |
Implements cern::laser::console::User.
References getName(), and setName().
Referenced by createConfiguration(), and getConfigurations().
| String cern::laser::console::impl::UserImpl::getDefaultPrinter | ( | ) | throws LaserConsoleException [inline] |
Implements cern::laser::console::User.
| String cern::laser::console::impl::UserImpl::getName | ( | ) | throws LaserConsoleException [inline] |
Accessor method.
| LaserConsoleException | if the request could not be served. |
Implements cern::laser::console::User.
References user, and cern::laser::console::impl::UserImpl::LocalConsoleUser::userId.
Referenced by getDefaultConfiguration(), and toString().
| String cern::laser::console::impl::UserImpl::getPassword | ( | ) | throws LaserConsoleException [inline] |
Accessor method.
| LaserConsoleException | if the request could not be served. |
Implements cern::laser::console::User.
References cern::laser::console::impl::UserImpl::LocalConsoleUser::password, and user.
Referenced by toString().
| boolean cern::laser::console::impl::UserImpl::isDefaultConfiguration | ( | String | name | ) | throws LaserConsoleException [inline] |
Check the user default configuration.
| name | the configuration name. |
| LaserConsoleException | if the request could not be served. |
Implements cern::laser::console::User.
| void cern::laser::console::impl::UserImpl::removeConfiguration | ( | String | name | ) | throws LaserConsoleException [inline] |
Remove a configuration for the user.
| name | the name of the configuration to remove. |
| LaserConsoleException | if the request could not be served. | |
| LaserConfigurationNotFoundException | if the configuration does not exist. |
Implements cern::laser::console::User.
| void cern::laser::console::impl::UserImpl::setDefaultConfiguration | ( | String | name | ) | throws LaserConsoleException [inline] |
Set the user's default configuration.
| name | the user's console new default configuration name. |
| LaserConsoleException | if the request could not be served. | |
| LaserConfigurationNotFoundException | if the configuration does not exist. |
Implements cern::laser::console::User.
| void cern::laser::console::impl::UserImpl::setDefaultPrinter | ( | String | newDefaultPrinter | ) | throws LaserConsoleException [inline] |
Implements cern::laser::console::User.
| void cern::laser::console::impl::UserImpl::setName | ( | String | newName | ) | throws LaserConsoleException [inline] |
References user, and cern::laser::console::impl::UserImpl::LocalConsoleUser::userId.
Referenced by getDefaultConfiguration().
| void cern::laser::console::impl::UserImpl::setPassword | ( | String | newPassword | ) | throws LaserConsoleException [inline] |
Accessor method.
| LaserConsoleException | if the request could not be served. |
Implements cern::laser::console::User.
References cern::laser::console::impl::UserImpl::LocalConsoleUser::password, and user.
| String cern::laser::console::impl::UserImpl::toString | ( | ) | [inline] |
References getName(), and getPassword().
ArrayList cern::laser::console::impl::UserImpl::configurations = new ArrayList() [private] |
Referenced by getConfigurations().
Referenced by UserImpl().
Referenced by getName(), getPassword(), setName(), setPassword(), and UserImpl().
1.6.2