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

Inheritance diagram for cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 AlarmBrowsingHandlerImpl () 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)

Static Private Member Functions

static
cern.laser.business.data.ResponsiblePerson 
toBusinessResponsiblePerson (alma.alarmsystem.ResponsiblePerson p)
static
cern.laser.business.data.Triplet 
toBusinessTriplet (alma.alarmsystem.Triplet t)
static java.sql.Timestamp toSQLTimeStamp (alma.alarmsystem.Timestamp t)
static
cern.laser.business.data.Status 
toBusinessStatus (alma.alarmsystem.Status s)
static
cern.laser.business.data.Source 
toBusinessSource (alma.alarmsystem.Source s)
static
cern.laser.business.data.Location 
toBusinessLocation (alma.alarmsystem.Location l)
static
cern.laser.business.data.Alarm 
toBusinessAlarm (alma.alarmsystem.Alarm a)

Private Attributes

CERNAlarmService m_laser

Constructor & Destructor Documentation

cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::AlarmBrowsingHandlerImpl (  )  throws LaserConnectionException [inline]

References m_laser.


Member Function Documentation

Alarm cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmById ( String  alarmId  )  throws LaserException [inline, 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.

References alma::alarmsystem::CERNAlarmServiceOperations::getAlarmById(), m_laser, and toBusinessAlarm().

Alarm cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmByTriplet ( String  faultFamily,
String  faultMember,
Integer  faultCode 
) throws LaserException [inline, 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.

References alma::alarmsystem::CERNAlarmServiceOperations::getAlarmByTriplet(), m_laser, and toBusinessAlarm().

Alarm cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmByTriplet ( Triplet  triplet  )  throws LaserException [inline, 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.

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsByCategory ( Category  category  )  throws LaserException [inline, 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 getAlarmsByCategory().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsByCategory ( Integer  categoryId  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getAlarmsByCategory(), m_laser, and toBusinessAlarmCollection().

Referenced by getAlarmsByCategory().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsByPriority ( Integer  priority  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getAlarmsByPriority(), m_laser, and toBusinessAlarmCollection().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsByResponsiblePerson ( ResponsiblePerson  responsible  )  throws LaserException [inline, 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 getAlarmsByResponsiblePerson().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsByResponsiblePerson ( Integer  responsibleId  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getAlarmsByResponsiblePerson(), m_laser, and toBusinessAlarmCollection().

Referenced by getAlarmsByResponsiblePerson().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsBySource ( Source  source  )  throws LaserException [inline, 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 getAlarmsBySource().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getAlarmsBySource ( String  sourceId  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getAlarmsBySource(), m_laser, and toBusinessAlarmCollection().

Referenced by getAlarmsBySource().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getResponsiblePersons (  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getResponsiblePersons(), m_laser, and toBusinessResponsiblePersonCollection().

Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::getSources (  )  throws LaserException [inline, 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 alma::alarmsystem::CERNAlarmServiceOperations::getSources(), m_laser, and toBusinessSourceCollection().

static cern.laser.business.data.Alarm cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessAlarm ( alma.alarmsystem.Alarm  a  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
a 
Returns:

References toBusinessLocation(), toBusinessResponsiblePerson(), toBusinessSource(), toBusinessStatus(), and toBusinessTriplet().

Referenced by getAlarmById(), getAlarmByTriplet(), and toBusinessAlarmCollection().

static Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessAlarmCollection ( alma.alarmsystem.Alarm[]  as  )  [inline, static]

Helper method.

Parameters:
as 
Returns:

References toBusinessAlarm().

Referenced by getAlarmsByCategory(), getAlarmsByPriority(), getAlarmsByResponsiblePerson(), and getAlarmsBySource().

static cern.laser.business.data.Location cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessLocation ( alma.alarmsystem.Location  l  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
l 
Returns:

Referenced by toBusinessAlarm().

static cern.laser.business.data.ResponsiblePerson cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessResponsiblePerson ( alma.alarmsystem.ResponsiblePerson  p  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
p 
Returns:

Referenced by toBusinessAlarm(), toBusinessResponsiblePersonCollection(), and toBusinessSource().

static Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessResponsiblePersonCollection ( alma.alarmsystem.ResponsiblePerson[]  ps  )  [inline, static]

Helper method.

Parameters:
ps 
Returns:

References toBusinessResponsiblePerson().

Referenced by getResponsiblePersons().

static cern.laser.business.data.Source cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessSource ( alma.alarmsystem.Source  s  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
s 
Returns:

References toBusinessResponsiblePerson().

Referenced by toBusinessAlarm(), and toBusinessSourceCollection().

static Collection cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessSourceCollection ( alma.alarmsystem.Source[]  ss  )  [inline, static]

Helper method.

Parameters:
ss 
Returns:

References toBusinessSource().

Referenced by getSources().

static cern.laser.business.data.Status cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessStatus ( alma.alarmsystem.Status  s  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
s 
Returns:

References toSQLTimeStamp().

Referenced by toBusinessAlarm().

static cern.laser.business.data.Triplet cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toBusinessTriplet ( alma.alarmsystem.Triplet  t  )  [inline, static, private]

Helper method converting CORBA struct to EJB business class.

Parameters:
t 
Returns:

Referenced by toBusinessAlarm().

static java.sql.Timestamp cern::laser::client::impl::services::browsing::AlarmBrowsingHandlerImpl::toSQLTimeStamp ( alma.alarmsystem.Timestamp  t  )  [inline, static, private]

Helper method converting CORBA struct to SQL Timestamp.

Parameters:
t 
Returns:

Referenced by toBusinessStatus().


Member Data Documentation


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2