Public Member Functions | Static Public Member Functions

cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl Class Reference

Inheritance diagram for cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl:
cern.laser.client.services.browsing.AlarmBrowsingHandler

List of all members.

Public Member Functions

 AlarmBrowsingHandlerImpl (ORB orb, AcsLogger logger) throws LaserConnectionException
Alarm getAlarmById (String alarmId) throws LaserException
Alarm getAlarmByTriplet (Triplet triplet) throws LaserException
Alarm getAlarmByTriplet (String faultFamily, String faultMember, Integer faultCode) throws LaserException
Collection getAlarmsByCategory (Integer categoryId) throws LaserException
Collection getAlarmsByCategory (Category category) throws LaserException
Collection getAlarmsBySource (String sourceId) throws LaserException
Collection getAlarmsBySource (Source source) throws LaserException
Collection getAlarmsByResponsiblePerson (Integer responsibleId) throws LaserException
Collection getAlarmsByResponsiblePerson (ResponsiblePerson responsible) throws LaserException
Collection getAlarmsByPriority (Integer priority) throws LaserException
Collection getSources () throws LaserException
Collection getResponsiblePersons () throws LaserException

Static Public Member Functions

static Collection toBusinessAlarmCollection (alma.alarmsystem.Alarm[] as)
static Collection toBusinessSourceCollection (alma.alarmsystem.Source[] ss)
static Collection toBusinessResponsiblePersonCollection (alma.alarmsystem.ResponsiblePerson[] ps)

Constructor & Destructor Documentation

cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.AlarmBrowsingHandlerImpl ( ORB  orb,
AcsLogger  logger 
) throws LaserConnectionException

Member Function Documentation

Alarm cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmById ( String  alarmId  )  throws LaserException [virtual]

Get an alarm.

Parameters:
alarmId the alarm identifier
Exceptions:
LaserException if the request can not be served
Returns:
the AlarmImpl instance, null if the alarm does not exist

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

Alarm cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmByTriplet ( Triplet  triplet  )  throws LaserException [virtual]

Get an alarm.

Parameters:
triplet the alarm public identifier
Exceptions:
LaserException if the request can not be served
Returns:
the AlarmImpl instance, null if the alarm does not exist

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

Alarm cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmByTriplet ( String  faultFamily,
String  faultMember,
Integer  faultCode 
) throws LaserException [virtual]

Get an alarm.

Parameters:
faultFamily the fault family
faultMember the fault member
faultCode the fault code
Exceptions:
LaserException if the request can not be served
Returns:
the AlarmImpl instance, null if the alarm does not exist

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByCategory ( Integer  categoryId  )  throws LaserException [virtual]

Get the alarms attached to the category.

Parameters:
categoryId the category identifier
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attached to the category, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessAlarmCollection().

Referenced by cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByCategory().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByCategory ( Category  category  )  throws LaserException [virtual]

Get the alarms attached to the category.

Parameters:
category the category
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attached to the category, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByCategory().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByPriority ( Integer  priority  )  throws LaserException [virtual]

Get the alarms attached to the priority.

Parameters:
priority the priority (1..4)
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attached to the priority, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessAlarmCollection().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByResponsiblePerson ( Integer  responsibleId  )  throws LaserException [virtual]

Get the alarms attached to the responsible person.

Parameters:
responsibleId the responsible person identifier
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attacched to the responsible person, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessAlarmCollection().

Referenced by cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByResponsiblePerson().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByResponsiblePerson ( ResponsiblePerson  responsible  )  throws LaserException [virtual]

Get the alarms attached to the responsible person.

Parameters:
responsible the responsible person
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attacched to the responsible person, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsByResponsiblePerson().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsBySource ( String  sourceId  )  throws LaserException [virtual]

Get the alarms attached to the source.

Parameters:
sourceId the source identifier
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attached to the source, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessAlarmCollection().

Referenced by cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsBySource().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsBySource ( Source  source  )  throws LaserException [virtual]

Get the alarms attached to the source.

Parameters:
source the source
Exceptions:
LaserException if the request can not be served
Returns:
the alarms attached to the source, an empty collection if none

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getAlarmsBySource().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getResponsiblePersons (  )  throws LaserException [virtual]

Get the defined responsible persons.

Exceptions:
LaserException if the request can not be served
Returns:
the defined responsible persons
Exceptions:
LaserConnectionException 

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessResponsiblePersonCollection().

Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getSources (  )  throws LaserException [virtual]

Get the defined alarm sources.

Exceptions:
LaserException if the request can not be served
Returns:
the defined alarm sources

Implements cern.laser.client.services.browsing.AlarmBrowsingHandler.

References cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessSourceCollection().

static Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessResponsiblePersonCollection ( alma.alarmsystem.ResponsiblePerson[]  ps  )  [static]
static Collection cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.toBusinessSourceCollection ( alma.alarmsystem.Source[]  ss  )  [static]

Helper method.

Parameters:
ss 
Returns:

Referenced by cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.getSources().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties