Public Member Functions | |
AlarmsReductionContainer (int max) | |
synchronized int | size (boolean reduced) |
synchronized void | add (AlarmTableEntry entry) throws AlarmContainerException |
void | setCategoryClient (CategoryClient client) |
synchronized AlarmTableEntry | get (int pos, boolean reduced) |
synchronized void | clear () |
synchronized void | remove (Alarm alarm) throws AlarmContainerException |
synchronized AlarmTableEntry | removeOldest () throws AlarmContainerException |
synchronized void | replace (Alarm newAlarm) throws AlarmContainerException |
CategoryClient | getCategoryClient () |
Private Member Functions | |
void | hideReducedChildren (AlarmTableEntry entry) |
void | showActiveChildren (Alarm alarm, int pos) |
Private Attributes | |
final Vector< String > | indexWithReduction = new Vector<String>() |
CategoryClient | categoryClient = null |
AlarmsContainer
for the reduced alarms.
|
Constructor
|
|
Add an entry (i.e a alarm) in the collection. If there is no room available in the container, an exception is thrown: checking if there is enough room must be done by the caller.
Reimplemented from alma::acsplugins::alarmsystem::gui::table::AlarmsContainer.
|
|
Remove all the elements in the container Reimplemented from alma::acsplugins::alarmsystem::gui::table::AlarmsContainer.
|
|
Return the entry in the given position
|
|
|
|
Hide the active alarms of this entry.
|
|
Remove the entry for the passed alarm
Reimplemented from alma::acsplugins::alarmsystem::gui::table::AlarmsContainer.
|
|
Remove the oldest entry in the container
Reimplemented from alma::acsplugins::alarmsystem::gui::table::AlarmsContainer.
|
|
Replace the alarm in a row with passed one. The entry to replace the alarm is given by the alarm ID of the parameter.
Reimplemented from alma::acsplugins::alarmsystem::gui::table::AlarmsContainer.
|
|
Set the
|
|
Show the active children of the passed alarms
|
|
Return the number of alarms in the container depending if the reduction rules are applied or not
|
|
The
It can be |
|
The index when the reduction rules are in place Each item in the vector represents the ID of the entry shown in a table row when the reduction rules are used. |