

Public Member Functions | |
| abstract Selection | createSelection () |
| abstract Map | select (Selection selection, AlarmSelectionListener listener) throws LaserException, LaserTimeOutException |
| abstract void | resetSelection () throws LaserException |
| abstract void | close () throws LaserException |
| abstract void | search (Selection selection, int nbOfRows, AlarmSearchListener searchListener) throws LaserException, LaserTimeOutException |
Static Public Member Functions | |
| static AlarmSelectionHandler | get () throws LaserConnectionException, LaserException |
Static Private Attributes | |
| static final Logger | LOGGER = Logger.getLogger(AlarmSelectionHandler.class.getName()) |
| static final ThreadLocal | alarmSelectionHandler = new ThreadLocal() |
Provides the services to define and perform an alarm selection.
| abstract void cern::laser::client::services::selection::AlarmSelectionHandler::close | ( | ) | throws LaserException [pure virtual] |
Close and deallocate resources.
| LaserException | if the system is unable to close properly |
Implemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by alma::alarmsystem::clients::CategoryClient::close().
| abstract Selection cern::laser::client::services::selection::AlarmSelectionHandler::createSelection | ( | ) | [pure virtual] |
Creates a new selection
Implemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by cern::laser::test::TestConfiguration::TestConfiguration(), cern::laser::console::TestConfiguration::TestConfiguration(), cern::laser::client::TestSearch::TestSearch(), cern::laser::test::TestSelection::TestSelection(), cern::laser::client::TestSelection::TestSelection(), and cern::laser::test::TstConfiguration2::TstConfiguration2().
| static AlarmSelectionHandler cern::laser::client::services::selection::AlarmSelectionHandler::get | ( | ) | throws LaserConnectionException, LaserException [inline, static] |
Factory method.
| LaserException | if the request can not be served |
References alarmSelectionHandler, and LOGGER.
Referenced by alma::alarmsystem::clients::CategoryClient::connect(), cern::laser::guiplatform::alarms::AlarmSelectionHandlerFactory::getHandler(), cern::laser::client::TestSearch::TestSearch(), and cern::laser::client::TestSelection::TestSelection().
| abstract void cern::laser::client::services::selection::AlarmSelectionHandler::resetSelection | ( | ) | throws LaserException [pure virtual] |
Reset the selection.
| LaserException | if the system is unable to reset the selection |
Implemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::applyButtonActionPerformed(), cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::onException(), cern::laser::guiplatform::actions::LogoutAction::performAction(), and cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::postInitComponents().
| abstract void cern::laser::client::services::selection::AlarmSelectionHandler::search | ( | Selection | selection, | |
| int | nbOfRows, | |||
| AlarmSearchListener | searchListener | |||
| ) | throws LaserException, LaserTimeOutException [pure virtual] |
Starts the asynchronous alarm search. The found alarms will be asynchronously received.
| selection | the alarm selection instance | |
| nbOfRows | the number of rows to return | |
| searchListener | the search listener instance |
| LaserConnectionException | if the client cannot connect to the BL | |
| LaserTimeOutException | if the selection times out | |
| LaserException | if the system is unable to perform the selection |
Implemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by cern::laser::guiplatform::windows::search::SearchWindow::searchButtonActionPerformed(), and cern::laser::client::TestSearch::TestSearch().
| abstract Map cern::laser::client::services::selection::AlarmSelectionHandler::select | ( | Selection | selection, | |
| AlarmSelectionListener | listener | |||
| ) | throws LaserException, LaserTimeOutException [pure virtual] |
Starts the asynchronous alarm selection. The selected alarms which are currently active will be asynchronously received as well as any change that may occur to their status.
| selection | the alarm selection instance | |
| listener | the selection listener instance |
| LaserConnectionException | if the client cannot connect to the BL | |
| LaserTimeOutException | if the selection times out | |
| LaserException | if the system is unable to perform the selection |
Implemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by cern::laser::guiplatform::windows::configuration::ConsoleConfigurationPanel::applyButtonActionPerformed(), alma::alarmsystem::clients::CategoryClient::connect(), cern::laser::guiplatform::windows::login::AlarmConsoleLoginWindow::login(), cern::laser::guiplatform::windows::AlarmStatisticInfoPanel::onException(), cern::laser::test::TestSelection::TestSelection(), cern::laser::client::TestSelection::TestSelection(), and cern::laser::test::TestSelectionAndConfiguration::TestSelectionAndConfiguration().
final ThreadLocal cern::laser::client::services::selection::AlarmSelectionHandler::alarmSelectionHandler = new ThreadLocal() [static, private] |
Referenced by get().
final Logger cern::laser::client::services::selection::AlarmSelectionHandler::LOGGER = Logger.getLogger(AlarmSelectionHandler.class.getName()) [static, private] |
Reimplemented in cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl.
Referenced by get().
1.6.2