Public Member Functions | |
void | setAdminUserDAO (AdminUserDAO adminUserDAO) |
void | setCategoryDAO (CategoryDAO categoryDAO) |
void | setAlarmDAO (AlarmDAO alarmDAO) |
void | setAlarmCache (AlarmCache alarmCache) |
CategoryDefinition | getCategoryDefinition (Integer categoryId) throws LaserDefinitionException |
CategoryDefinition | getCategoryDefinition (String path) throws LaserDefinitionException |
Collection | getCategoryDefinitions (String userId) throws LaserDefinitionException |
void | createCategory (String userId, CategoryDefinition categoryDefinition) throws LaserDefinitionException |
void | createCategories (String userId, Collection categories) throws LaserDefinitionException |
void | updateCategory (String userId, CategoryDefinition categoryDefinition) throws LaserDefinitionException |
void | updateCategories (String userId, Collection categories) throws LaserDefinitionException |
void | removeCategory (String userId, CategoryDefinition categoryDefinition) throws LaserDefinitionException |
void | removeCategories (String userId, Collection categories) throws LaserDefinitionException |
void | createCategoryLink (String userId, CategoryLink link) throws LaserDefinitionException |
void | createCategoryLinks (String userId, Collection categoryLinks) throws LaserDefinitionException |
void | removeCategoryLink (String userId, CategoryLink link) throws LaserDefinitionException |
void | removeCategoryLinks (String userId, Collection categoryLinks) throws LaserDefinitionException |
void | uploadCategories (String userId, Collection toBeCreated, Collection toBeUpdated, Collection toBeRemoved) throws LaserDefinitionException |
void | uploadCategoryLinks (String userId, Collection toBeCreated, Collection toBeRemoved) throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategories | ( | String | userId, | |
Collection | categories | |||
) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategory | ( | String | userId, | |
CategoryDefinition | categoryDefinition | |||
) | throws LaserDefinitionException |
References cern.laser.business.data.AdminUser.addAdministeredCategory(), cern.laser.business.data.Category.addChildCategory(), cern.laser.business.data.AdminUser.administersCategory(), cern.laser.business.dao.AdminUserDAO.findAdminUser(), cern.laser.business.dao.AdminUserDAO.findByLaserAdminUser(), cern.laser.business.dao.CategoryDAO.getCategoryByPath(), cern.laser.business.data.Category.getCategoryId(), cern.laser.business.data.ConsoleUser.getName(), cern.laser.business.dao.CategoryDAO.saveCategory(), and cern.laser.business.dao.AdminUserDAO.updateAdminUser().
Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategories(), and com.cosylab.acs.laser.LaserComponent.createCategory().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategoryLink | ( | String | userId, | |
CategoryLink | link | |||
) | throws LaserDefinitionException |
References cern.laser.business.data.AdminUser.administersCategory(), cern.laser.business.data.Category.containsAlarm(), cern.laser.business.dao.AdminUserDAO.findAdminUser(), cern.laser.business.dao.AlarmDAO.findAlarm(), cern.laser.business.dao.AlarmDAO.getAlarm(), cern.laser.business.data.Alarm.getAlarmId(), cern.laser.business.dao.CategoryDAO.getCategoryByPath(), cern.laser.business.data.Category.getCategoryId(), cern.laser.business.data.ConsoleUser.getName(), cern.laser.business.data.Alarm.getSource(), cern.laser.business.data.Source.getSurveillanceAlarmId(), cern.laser.business.cache.AlarmCache.invalidate(), and cern.laser.business.dao.CategoryDAO.updateCategory().
Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategoryLinks().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.createCategoryLinks | ( | String | userId, | |
Collection | categoryLinks | |||
) | throws LaserDefinitionException |
CategoryDefinition cern.laser.business.pojo.CategoryDefinitionServiceImpl.getCategoryDefinition | ( | Integer | categoryId | ) | throws LaserDefinitionException |
CategoryDefinition cern.laser.business.pojo.CategoryDefinitionServiceImpl.getCategoryDefinition | ( | String | path | ) | throws LaserDefinitionException |
Collection cern.laser.business.pojo.CategoryDefinitionServiceImpl.getCategoryDefinitions | ( | String | userId | ) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategories | ( | String | userId, | |
Collection | categories | |||
) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategory | ( | String | userId, | |
CategoryDefinition | categoryDefinition | |||
) | throws LaserDefinitionException |
References cern.laser.business.data.AdminUser.administersCategory(), cern.laser.business.dao.CategoryDAO.deleteCategory(), cern.laser.business.dao.AdminUserDAO.findAdminUser(), cern.laser.business.dao.AdminUserDAO.findByLaserAdminUser(), cern.laser.business.dao.CategoryDAO.getAlarms(), cern.laser.business.dao.CategoryDAO.getCategoryByPath(), cern.laser.business.data.Category.getCategoryId(), cern.laser.business.data.ConsoleUser.getName(), cern.laser.business.data.AdminUser.removeAdministeredCategory(), and cern.laser.business.dao.AdminUserDAO.updateAdminUser().
Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategories().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategoryLink | ( | String | userId, | |
CategoryLink | link | |||
) | throws LaserDefinitionException |
References cern.laser.business.data.AdminUser.administersCategory(), cern.laser.business.data.Category.containsAlarm(), cern.laser.business.dao.AdminUserDAO.findAdminUser(), cern.laser.business.dao.CategoryDAO.flushCategory(), cern.laser.business.dao.AlarmDAO.getAlarm(), cern.laser.business.data.Alarm.getAlarmId(), cern.laser.business.dao.CategoryDAO.getCategoryByPath(), cern.laser.business.data.Category.getCategoryId(), cern.laser.business.data.ConsoleUser.getName(), cern.laser.business.cache.AlarmCache.invalidate(), and cern.laser.business.data.Category.removeAlarm().
Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategoryLinks().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.removeCategoryLinks | ( | String | userId, | |
Collection | categoryLinks | |||
) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.setAdminUserDAO | ( | AdminUserDAO | adminUserDAO | ) |
Referenced by com.cosylab.acs.laser.LaserComponent.initialize().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.setAlarmCache | ( | AlarmCache | alarmCache | ) |
Referenced by com.cosylab.acs.laser.LaserComponent.initialize().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.setAlarmDAO | ( | AlarmDAO | alarmDAO | ) |
Referenced by com.cosylab.acs.laser.LaserComponent.initialize().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.setCategoryDAO | ( | CategoryDAO | categoryDAO | ) |
Referenced by com.cosylab.acs.laser.LaserComponent.initialize().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.updateCategories | ( | String | userId, | |
Collection | categories | |||
) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.updateCategory | ( | String | userId, | |
CategoryDefinition | categoryDefinition | |||
) | throws LaserDefinitionException |
References cern.laser.business.data.Category.addChildCategory(), cern.laser.business.data.AdminUser.administersCategory(), cern.laser.business.dao.AdminUserDAO.findAdminUser(), cern.laser.business.dao.CategoryDAO.findCategoryByPath(), cern.laser.business.data.Category.getCategoryId(), cern.laser.business.data.ConsoleUser.getName(), cern.laser.business.data.Category.getParentId(), cern.laser.business.data.Category.removeChildCategory(), cern.laser.business.data.Category.setDefinition(), and cern.laser.business.dao.CategoryDAO.updateCategory().
Referenced by cern.laser.business.pojo.CategoryDefinitionServiceImpl.updateCategories().
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.uploadCategories | ( | String | userId, | |
Collection | toBeCreated, | |||
Collection | toBeUpdated, | |||
Collection | toBeRemoved | |||
) | throws LaserDefinitionException |
void cern.laser.business.pojo.CategoryDefinitionServiceImpl.uploadCategoryLinks | ( | String | userId, | |
Collection | toBeCreated, | |||
Collection | toBeRemoved | |||
) | throws LaserDefinitionException |