Public Member Functions | Static Public Member Functions

cern.laser.client.services.browsing.AlarmBrowsingHandler Class Reference

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

List of all members.

Public Member Functions

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

Static Public Member Functions

static AlarmBrowsingHandler get (ORB orb, AcsLogger logger) throws LaserConnectionException

Detailed Description

Provides the service to handle alarm definitions browsing.

See also:
cern.laser.client.services.browsing.CategoryBrowsingHandler
cern.laser.client.services.reduction.AlarmReductionHandler
cern.laser.client.services.selection.AlarmSelectionHandler

Member Function Documentation

static AlarmBrowsingHandler cern.laser.client.services.browsing.AlarmBrowsingHandler.get ( ORB  orb,
AcsLogger  logger 
) throws LaserConnectionException [static]

Factory method.

Returns:
an instance of the implementation class
Exceptions:
LaserException if the request can not be served
abstract Alarm cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmById ( String  alarmId  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Alarm cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmByTriplet ( String  faultFamily,
String  faultMember,
Integer  faultCode 
) throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Alarm cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmByTriplet ( Triplet  triplet  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsByCategory ( Integer  categoryId  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsByCategory ( Category  category  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsByPriority ( Integer  priority  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsByResponsiblePerson ( Integer  responsibleId  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsByResponsiblePerson ( ResponsiblePerson  responsible  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsBySource ( Source  source  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getAlarmsBySource ( String  sourceId  )  throws LaserException [pure 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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getResponsiblePersons (  )  throws LaserException [pure virtual]

Get the defined responsible persons.

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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.

abstract Collection cern.laser.client.services.browsing.AlarmBrowsingHandler.getSources (  )  throws LaserException [pure virtual]

Get the defined alarm sources.

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

Implemented in cern.laser.client.impl.services.browsing.AlarmBrowsingHandlerImpl.


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