public class AlarmBrowsingHandlerImpl extends AlarmBrowsingHandler
| Constructor and Description |
|---|
AlarmBrowsingHandlerImpl(org.omg.CORBA.ORB orb,
AcsLogger logger) |
| Modifier and Type | Method and Description |
|---|---|
Alarm |
getAlarmById(java.lang.String alarmId)
Get an alarm.
|
Alarm |
getAlarmByTriplet(java.lang.String faultFamily,
java.lang.String faultMember,
java.lang.Integer faultCode)
Get an alarm.
|
Alarm |
getAlarmByTriplet(Triplet triplet)
Get an alarm.
|
java.util.Collection |
getAlarmsByCategory(Category category)
Get the alarms attached to the category.
|
java.util.Collection |
getAlarmsByCategory(java.lang.Integer categoryId)
Get the alarms attached to the category.
|
java.util.Collection |
getAlarmsByPriority(java.lang.Integer priority)
Get the alarms attached to the priority.
|
java.util.Collection |
getAlarmsByResponsiblePerson(java.lang.Integer responsibleId)
Get the alarms attached to the responsible person.
|
java.util.Collection |
getAlarmsByResponsiblePerson(ResponsiblePerson responsible)
Get the alarms attached to the responsible person.
|
java.util.Collection |
getAlarmsBySource(Source source)
Get the alarms attached to the source.
|
java.util.Collection |
getAlarmsBySource(java.lang.String sourceId)
Get the alarms attached to the source.
|
java.util.Collection |
getResponsiblePersons()
Get the defined responsible persons.
|
java.util.Collection |
getSources()
Get the defined alarm sources.
|
static java.util.Collection |
toBusinessAlarmCollection(alma.alarmsystem.Alarm[] as)
Helper method.
|
static java.util.Collection |
toBusinessResponsiblePersonCollection(alma.alarmsystem.ResponsiblePerson[] ps)
Helper method.
|
static java.util.Collection |
toBusinessSourceCollection(alma.alarmsystem.Source[] ss)
Helper method.
|
getpublic AlarmBrowsingHandlerImpl(org.omg.CORBA.ORB orb,
AcsLogger logger)
throws LaserConnectionException
LaserConnectionExceptionpublic Alarm getAlarmById(java.lang.String alarmId) throws LaserException
AlarmBrowsingHandlergetAlarmById in class AlarmBrowsingHandleralarmId - the alarm identifierLaserException - if the request can not be servedpublic Alarm getAlarmByTriplet(Triplet triplet) throws LaserException
AlarmBrowsingHandlergetAlarmByTriplet in class AlarmBrowsingHandlertriplet - the alarm public identifierLaserException - if the request can not be servedpublic Alarm getAlarmByTriplet(java.lang.String faultFamily, java.lang.String faultMember, java.lang.Integer faultCode) throws LaserException
AlarmBrowsingHandlergetAlarmByTriplet in class AlarmBrowsingHandlerfaultFamily - the fault familyfaultMember - the fault memberfaultCode - the fault codeLaserException - if the request can not be servedpublic java.util.Collection getAlarmsByCategory(java.lang.Integer categoryId)
throws LaserException
AlarmBrowsingHandlergetAlarmsByCategory in class AlarmBrowsingHandlercategoryId - the category identifierLaserException - if the request can not be servedpublic java.util.Collection getAlarmsByCategory(Category category) throws LaserException
AlarmBrowsingHandlergetAlarmsByCategory in class AlarmBrowsingHandlercategory - the categoryLaserException - if the request can not be servedpublic java.util.Collection getAlarmsBySource(java.lang.String sourceId)
throws LaserException
AlarmBrowsingHandlergetAlarmsBySource in class AlarmBrowsingHandlersourceId - the source identifierLaserException - if the request can not be servedpublic java.util.Collection getAlarmsBySource(Source source) throws LaserException
AlarmBrowsingHandlergetAlarmsBySource in class AlarmBrowsingHandlersource - the sourceLaserException - if the request can not be servedpublic java.util.Collection getAlarmsByResponsiblePerson(java.lang.Integer responsibleId)
throws LaserException
AlarmBrowsingHandlergetAlarmsByResponsiblePerson in class AlarmBrowsingHandlerresponsibleId - the responsible person identifierLaserException - if the request can not be servedpublic java.util.Collection getAlarmsByResponsiblePerson(ResponsiblePerson responsible) throws LaserException
AlarmBrowsingHandlergetAlarmsByResponsiblePerson in class AlarmBrowsingHandlerresponsible - the responsible personLaserException - if the request can not be servedpublic java.util.Collection getAlarmsByPriority(java.lang.Integer priority)
throws LaserException
AlarmBrowsingHandlergetAlarmsByPriority in class AlarmBrowsingHandlerpriority - the priority (1..4)LaserException - if the request can not be servedpublic java.util.Collection getSources()
throws LaserException
AlarmBrowsingHandlergetSources in class AlarmBrowsingHandlerLaserException - if the request can not be servedpublic java.util.Collection getResponsiblePersons()
throws LaserException
AlarmBrowsingHandlergetResponsiblePersons in class AlarmBrowsingHandlerLaserException - if the request can not be servedLaserConnectionExceptionpublic static java.util.Collection toBusinessAlarmCollection(alma.alarmsystem.Alarm[] as)
as - public static java.util.Collection toBusinessSourceCollection(alma.alarmsystem.Source[] ss)
ss - public static java.util.Collection toBusinessResponsiblePersonCollection(alma.alarmsystem.ResponsiblePerson[] ps)
ps -