cern::laser::console::impl::ConfigurationImpl Class Reference

Inheritance diagram for cern::laser::console::impl::ConfigurationImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::console::impl::ConfigurationImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigurationImpl (Object newConfiguration) throws LaserConsoleException
String toString ()
String getName () throws LaserConsoleException
void setName (String newName) throws LaserConsoleException
boolean isDefault () throws LaserConsoleException
Selection getSelection () throws LaserConsoleException
void setSelection (Selection newSelection) throws LaserConsoleException
Behaviour createBehaviour ()
Behaviour getBehaviour () throws LaserConsoleException
void setBehaviour (Behaviour newBehaviour) throws LaserConsoleException
CommentedAlarmMap getMasked () throws LaserConsoleException
void setMasked (CommentedAlarmMap newMasked) throws LaserConsoleException
CommentedAlarmMap getInhibited () throws LaserConsoleException
void setInhibited (CommentedAlarmMap newInhibited) throws LaserConsoleException
CommentedAlarmMap getHighlighted () throws LaserConsoleException
void setHighlighted (CommentedAlarmMap newHighlighted) throws LaserConsoleException
CommentedAlarmMap getAutoHighlighted () throws LaserConsoleException
void setAutoHighlighted (CommentedAlarmMap newAutoHighlighted) throws LaserConsoleException
CommentedAlarmMap getAutoKlaxoned () throws LaserConsoleException
void setAutoKlaxoned (CommentedAlarmMap newAutoKlaxoned) throws LaserConsoleException
CommentedAlarmMap getAcknowledged () throws LaserConsoleException
void setAcknowledged (CommentedAlarmMap newAcknowledged) throws LaserConsoleException
CommentedAlarmMap getNewIndicator () throws LaserConsoleException
void setNewIndicator (CommentedAlarmMap newNewIndicator) throws LaserConsoleException
Boolean getActiveListFont () throws LaserConsoleException
void setActiveListFont (Boolean isActiveListFont) throws LaserConsoleException

Private Member Functions

CommentedAlarmMap buildCommentedAlarmMap (Collection commentedAlarmRefs, boolean removeChanged) throws Exception
Collection buildCommentedAlarmCollection (CommentedAlarmMap alarms)
byte[] marshal (Object obj) throws Exception
Object unmarshal (byte[] bytes) throws Exception
Object getConsoleConfigurationEntityEJB () throws LaserConnectionException, LaserConfigurationNotFoundException

Private Attributes

Integer configurationId

Constructor & Destructor Documentation

cern::laser::console::impl::ConfigurationImpl::ConfigurationImpl ( Object  newConfiguration  )  throws LaserConsoleException [inline]

Member Function Documentation

Collection cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmCollection ( CommentedAlarmMap  alarms  )  [inline, private]
CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::buildCommentedAlarmMap ( Collection  commentedAlarmRefs,
boolean  removeChanged 
) throws Exception [inline, private]
Behaviour cern::laser::console::impl::ConfigurationImpl::createBehaviour (  )  [inline]

Factory method.

Returns:
a new alarm console behaviour instance.

Implements cern::laser::console::Configuration.

CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getAcknowledged (  )  throws LaserConsoleException [inline]

Get the acknowledged alarms.

Returns:
the acknowledged alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Boolean cern::laser::console::impl::ConfigurationImpl::getActiveListFont (  )  throws LaserConsoleException [inline]
CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getAutoHighlighted (  )  throws LaserConsoleException [inline]

Get the permanently highlighted alarms.

Returns:
the permanently highlighted alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getAutoKlaxoned (  )  throws LaserConsoleException [inline]

Get the permanently klaxoned alarms.

Returns:
the permanently klaxoned alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

Behaviour cern::laser::console::impl::ConfigurationImpl::getBehaviour (  )  throws LaserConsoleException [inline]

Get the alarm console behaviour.

Returns:
the alarm console behaviour.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

Object cern::laser::console::impl::ConfigurationImpl::getConsoleConfigurationEntityEJB (  )  throws LaserConnectionException, LaserConfigurationNotFoundException [inline, private]
CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getHighlighted (  )  throws LaserConsoleException [inline]

Get the highlighted alarms.

Returns:
the highlighted alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getInhibited (  )  throws LaserConsoleException [inline]

Get the inhibited alarms.

Returns:
the inhibited alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getMasked (  )  throws LaserConsoleException [inline]

Get the masked alarms.

Returns:
the masked alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Referenced by toString().

String cern::laser::console::impl::ConfigurationImpl::getName (  )  throws LaserConsoleException [inline]

Get the configuration name.

Exceptions:
LaserConsoleException if the request could not be served.
Returns:
the configuration name.

Implements cern::laser::console::Configuration.

Referenced by toString().

CommentedAlarmMap cern::laser::console::impl::ConfigurationImpl::getNewIndicator (  )  throws LaserConsoleException [inline]

Get the new alarms.

Returns:
the new alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

Selection cern::laser::console::impl::ConfigurationImpl::getSelection (  )  throws LaserConsoleException [inline]

Get the alarm selection.

Exceptions:
LaserConsoleException if the request could not be served.
Returns:
the alarm selection.

Implements cern::laser::console::Configuration.

Referenced by toString().

boolean cern::laser::console::impl::ConfigurationImpl::isDefault (  )  throws LaserConsoleException [inline]

Check if the configuration is a default configuration.

Exceptions:
LaserConsoleException if the request could not be served.
Returns:
true if it is a user's default configuration.

Implements cern::laser::console::Configuration.

byte [] cern::laser::console::impl::ConfigurationImpl::marshal ( Object  obj  )  throws Exception [inline, private]
void cern::laser::console::impl::ConfigurationImpl::setAcknowledged ( CommentedAlarmMap  newAcknowledged  )  throws LaserConsoleException [inline]

Set the acknowledged alarms.

Parameters:
newAcknowledged the acknowledged alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setActiveListFont ( Boolean  isActiveListFont  )  throws LaserConsoleException [inline]
void cern::laser::console::impl::ConfigurationImpl::setAutoHighlighted ( CommentedAlarmMap  newAutoHighlighted  )  throws LaserConsoleException [inline]

Set the permanently highlighted alarms.

Parameters:
newAutoHighlighted the permanently highlighted alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setAutoKlaxoned ( CommentedAlarmMap  newAutoKlaxoned  )  throws LaserConsoleException [inline]

Set the permanently klaxoned alarms.

Parameters:
newAutoKlaxoned the permanently klaxoned alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setBehaviour ( Behaviour  newBehaviour  )  throws LaserConsoleException [inline]

Set the alarm console behaviour.

Parameters:
newBehaviour the alarm console behaviour.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setHighlighted ( CommentedAlarmMap  newHighlighted  )  throws LaserConsoleException [inline]

Set the highlighted alarms.

Parameters:
newHighlighted the highlighted alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setInhibited ( CommentedAlarmMap  newInhibited  )  throws LaserConsoleException [inline]

Set the inhibited alarms.

Parameters:
newInhibited the inhibited alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setMasked ( CommentedAlarmMap  newMasked  )  throws LaserConsoleException [inline]

Set the masked alarms.

Parameters:
newMasked the masked alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setName ( String  newName  )  throws LaserConsoleException [inline]

Set the configuration name.

Exceptions:
LaserConsoleException if the request could not be served.
Parameters:
newName the configuration name.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setNewIndicator ( CommentedAlarmMap  newNewIndicator  )  throws LaserConsoleException [inline]

Set the new alarms.

Parameters:
newAcknowledged the new alarms.
Exceptions:
LaserConsoleException if the request could not be served.

Implements cern::laser::console::Configuration.

void cern::laser::console::impl::ConfigurationImpl::setSelection ( Selection  newSelection  )  throws LaserConsoleException [inline]

Set the alarm selection.

Exceptions:
LaserConsoleException if the request could not be served.
Parameters:
newSelection the alarm selection.

Implements cern::laser::console::Configuration.

String cern::laser::console::impl::ConfigurationImpl::toString (  )  [inline]
Object cern::laser::console::impl::ConfigurationImpl::unmarshal ( byte[]  bytes  )  throws Exception [inline, private]

Member Data Documentation


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

Generated by  doxygen 1.6.2