

Public Member Functions | |
| CategoryBrowsingHandlerImpl () throws LaserConnectionException | |
| Category | getCategoryByPath (String path) throws LaserException |
| Category | getCategoryTreeRoot () throws LaserException |
| Collection | getChildren (Category node) throws LaserException |
| Collection | getChildren (Integer nodeId) throws LaserException |
| Category | getParent (Category node) throws LaserException |
| Category | getParent (Integer nodeId) throws LaserException |
| Collection | getCategories () throws LaserException |
Static Public Member Functions | |
| static Collection | toBusinessCategoryCollection (alma.alarmsystem.Category[] cs) |
Static Private Member Functions | |
| static cern.laser.business.data.Category | toBusinessCategory (alma.alarmsystem.Category c) |
Private Attributes | |
| CERNAlarmService | m_laser |
| cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::CategoryBrowsingHandlerImpl | ( | ) | throws LaserConnectionException [inline] |
References m_laser.
| Collection cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getCategories | ( | ) | throws LaserException [inline, virtual] |
Get all the defined categories.
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References alma::alarmsystem::CERNAlarmServiceOperations::getCategories(), m_laser, and toBusinessCategoryCollection().
| Category cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getCategoryByPath | ( | String | path | ) | throws LaserException [inline, virtual] |
Get the category.
| path | the category path in the form name.name....name |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References alma::alarmsystem::CERNAlarmServiceOperations::getCategoryByPath(), m_laser, and toBusinessCategory().
| Category cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getCategoryTreeRoot | ( | ) | throws LaserException [inline, virtual] |
Get the category tree root.
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References alma::alarmsystem::CERNAlarmServiceOperations::getCategoryTreeRoot(), m_laser, and toBusinessCategory().
| Collection cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getChildren | ( | Integer | nodeId | ) | throws LaserException [inline, virtual] |
Get the category children.
| nodeId | the category parent identifier |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References alma::alarmsystem::CERNAlarmServiceOperations::getCategoryChildren(), m_laser, and toBusinessCategoryCollection().
| Collection cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getChildren | ( | Category | node | ) | throws LaserException [inline, virtual] |
Get the category children.
| node | the category parent |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
| Category cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getParent | ( | Integer | nodeId | ) | throws LaserException [inline, virtual] |
Get the category parent.
| nodeId | the category identifier |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
References alma::alarmsystem::CERNAlarmServiceOperations::getCategoryParent(), m_laser, and toBusinessCategory().
| Category cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::getParent | ( | Category | node | ) | throws LaserException [inline, virtual] |
Get the category parent.
| node | the category |
| LaserException | if the request can not be served |
Implements cern::laser::client::services::browsing::CategoryBrowsingHandler.
| static cern.laser.business.data.Category cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::toBusinessCategory | ( | alma.alarmsystem.Category | c | ) | [inline, static, private] |
| c |
Referenced by getCategoryByPath(), getCategoryTreeRoot(), getParent(), and toBusinessCategoryCollection().
| static Collection cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::toBusinessCategoryCollection | ( | alma.alarmsystem.Category[] | cs | ) | [inline, static] |
Helper method.
| cs |
References toBusinessCategory().
Referenced by getCategories(), and getChildren().
CERNAlarmService cern::laser::client::impl::services::browsing::CategoryBrowsingHandlerImpl::m_laser [private] |
Referenced by CategoryBrowsingHandlerImpl(), getCategories(), getCategoryByPath(), getCategoryTreeRoot(), getChildren(), and getParent().
1.6.2