Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::laser::guiplatform::alarms::AlarmNodeManagerImpl Class Reference

Inheritance diagram for cern::laser::guiplatform::alarms::AlarmNodeManagerImpl:

Inheritance graph
[legend]
Collaboration diagram for cern::laser::guiplatform::alarms::AlarmNodeManagerImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AlarmNodeManagerImpl (String listName, Collection list)
void initChildrenMap (ACChildrenMap nodeMap)
void addAlarm (AlarmBean alarm)
void addAlarms (Collection als)
void removeAlarm (AlarmBean alarm)
void removeAlarm (String alarmId)
void removeAlarms (Collection als)
void removeAllAlarms ()
void initNodeManager (Collection activeAlarms)
void initNodeManager (Collection activeAlarms, CommentedAlarmMap list)

Private Member Functions

void customizeBean (AlarmBean alarmBean)

Static Private Attributes

Logger logger = LogFactory.getLogger(AlarmNodeManagerImpl.class.getName())

Detailed Description

This is manager for all alarm explorers This manager is created by AlarmContainer.getAlarmManager(Constants.<which_list>); and internally by AlarmNodeManagerFactory.createNodeManager(Constants.<which_list>, CommnetedAlarmMap initlist);

Implementation is defferent for each node manager (different initNodeManager(..) method) for each list (inhibit, mask, etc);

Author:
pawlowsk


Constructor & Destructor Documentation

cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::AlarmNodeManagerImpl String  listName,
Collection  list
[inline]
 

Creates a new instance of AlarmNodeManager

Parameters:
list this list should be used to initiazlie node manager
listName this should be one of: Constants.ACTIVE_LISTENER_KEY, Constants.INHIBIT_LISTENER_KEY,


Member Function Documentation

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::addAlarm AlarmBean  alarm  )  [inline]
 

add an alarm to the children list

Parameters:
al The alarm bean to added

Implements cern::laser::guiplatform::alarms::AlarmListener.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::addAlarms Collection  als  )  [inline]
 

add an alarm collection to the children list

Parameters:
als The alarm bean collection to added

Implements cern::laser::guiplatform::alarms::AlarmListener.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::customizeBean AlarmBean  alarmBean  )  [inline, private]
 

This method set suitable AlarmBean parameters, like isAlarmInhibited, depending on list on which this alarm is. In this case could be used Factory mehthod but this is good solution as well. Used for different AlarmNodeManager initialization.

Parameters:
alarmBean bean to be customized

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initChildrenMap ACChildrenMap  nodeMap  )  [inline]
 

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initNodeManager Collection  activeAlarms,
CommentedAlarmMap  list
[inline, virtual]
 

Deprecated:

Implements cern::laser::guiplatform::alarms::AlarmNodeManager.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::initNodeManager Collection  activeAlarms  )  [inline, virtual]
 

Deprecated:

Implements cern::laser::guiplatform::alarms::AlarmNodeManager.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAlarm String  alarmId  )  [inline]
 

remove alarm using alarmId

Implements cern::laser::guiplatform::alarms::AlarmListener.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAlarm AlarmBean  alarm  )  [inline]
 

remove an alarm

Parameters:
al The alarm bean to be removed

Implements cern::laser::guiplatform::alarms::AlarmListener.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAlarms Collection  als  )  [inline]
 

remove an alarm collection

Parameters:
al The alarm bean collection to be removed

Implements cern::laser::guiplatform::alarms::AlarmListener.

void cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::removeAllAlarms  )  [inline, virtual]
 

This method removes all alarms from this nodeNamager

Implements cern::laser::guiplatform::alarms::AlarmNodeManager.


Member Data Documentation

Logger cern::laser::guiplatform::alarms::AlarmNodeManagerImpl::logger = LogFactory.getLogger(AlarmNodeManagerImpl.class.getName()) [static, private]
 

logger

Reimplemented from cern::laser::guiplatform::alarms::AlarmNodeManager.


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:27 2009 for ACS Java API by doxygen 1.3.8