
Public Member Functions | |
| Integer | getCategoryId () |
| String | getName () |
| String | getDescription () |
| Integer | getParentId () |
| void | addChildCategory (Category category) |
| void | removeChildCategory (Category category) |
| boolean | isLeaf () |
| void | removeAlarm (Alarm alarm) |
| boolean | containsAlarm (Alarm alarm) |
| String | getPath () |
| CategoryDefinition | getDefinition () |
| void | setDefinition (CategoryDefinition definition) |
| void cern::laser::business::data::Category::addChildCategory | ( | Category | category | ) |
| category |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::pojo::CategoryDefinitionServiceImpl::createCategory(), and cern::laser::business::pojo::CategoryDefinitionServiceImpl::updateCategory().
| boolean cern::laser::business::data::Category::containsAlarm | ( | Alarm | alarm | ) |
| alarmId |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::pojo::CategoryDefinitionServiceImpl::createCategoryLink(), and cern::laser::business::pojo::CategoryDefinitionServiceImpl::removeCategoryLink().
| Integer cern::laser::business::data::Category::getCategoryId | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::data::AdminUser::addAdministeredCategory(), cern::laser::business::data::CategoryImpl::addChildCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::createCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::createCategoryLink(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::deleteCategory(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::deleteCategory(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::getChildren(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::getChildren(), cern::laser::business::data::AdminUser::removeAdministeredCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::removeCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::removeCategoryLink(), cern::laser::business::data::CategoryImpl::removeChildCategory(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::setParentID(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::setParentID(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testDeleteCategory(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGetChilds(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGettingCategories(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testLoadCategory(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testRootChilds(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testUpdateCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::updateCategory(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::updateCategory(), and cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::updateCategory().
| CategoryDefinition cern::laser::business::data::Category::getDefinition | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by com::cosylab::acs::alarm::ACSCategoryDAOTest::testUpdateCategory().
| String cern::laser::business::data::Category::getDescription | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::pojo::CategoryDefinitionServiceImpl::getCategoryDefinition(), and com::cosylab::acs::alarm::ACSCategoryDAOTest::testLoadCategory().
| String cern::laser::business::data::Category::getName | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::assignCategoryToAlarms(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::assignCategoryToAlarms(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGetRoot(), and com::cosylab::acs::alarm::ACSCategoryDAOTest::testLoadCategory().
| Integer cern::laser::business::data::Category::getParentId | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::pojo::CoreServiceImpl::getCategoryParent(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::getChildren(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::getChildren(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGetRoot(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testRootChilds(), and cern::laser::business::pojo::CategoryDefinitionServiceImpl::updateCategory().
| String cern::laser::business::data::Category::getPath | ( | ) |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::assignDefaultCategory(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::assignDefaultCategory(), cern::laser::business::pojo::CategoryDefinitionServiceImpl::getCategoryDefinition(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::loadCategories(), cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::loadCategories(), cern::laser::business::pojo::AlarmPublisherImpl::publish(), cern::laser::business::pojo::CoreServiceImpl::select(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGetCategoryByID(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testGetRoot(), com::cosylab::acs::alarm::ACSCategoryDAOTest::testLoadCategory(), com::cosylab::acs::laser::dao::ACSCategoryDAOImpl::updateCategory(), and cl::utfsm::acs::acg::dao::ACSCategoryDAOImpl::updateCategory().
| boolean cern::laser::business::data::Category::isLeaf | ( | ) |
| void cern::laser::business::data::Category::removeAlarm | ( | Alarm | alarm | ) |
public void addAlarm(Alarm alarm);
/** Removes the bi-directional relationship between this category and the given alarm.
| alarm | the alarm to remove. At the same time this category is removed from the alarm's collection of categories. |
Implemented in cern::laser::business::data::CategoryImpl.
Referenced by cern::laser::business::pojo::CategoryDefinitionServiceImpl::removeCategoryLink(), and cern::laser::business::pojo::AlarmDefinitionServiceImpl::updateAlarm().
| void cern::laser::business::data::Category::removeChildCategory | ( | Category | category | ) |
| void cern::laser::business::data::Category::setDefinition | ( | CategoryDefinition | definition | ) |
1.6.2