Public Member Functions

cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl Class Reference

Inheritance diagram for cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl:
cern.laser.definition.impl.DefinitionHandlerImpl cern.laser.definition.ReductionMaskDefinitionHandler

List of all members.

Public Member Functions

 ReductionMaskDefinitionHandlerImpl (String userId) throws LaserDefinitionException
void setMultiplicityThreshold (MultiplicityThreshold threshold) throws LaserDefinitionException
void addMaintenanceMask (AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
void addModeMask (AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
void createMultiplicityLink (ReductionLink link) throws LaserDefinitionException
void createNodeLink (ReductionLink link) throws LaserDefinitionException
void download (Writer xmlDefinitionsWriter) throws LaserDefinitionException
void removeMaintenanceMask (AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
void removeModeMask (AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
void removeMultiplicityLink (ReductionLink link) throws LaserDefinitionException
void removeNodeLink (ReductionLink link) throws LaserDefinitionException
void uploadNode (Collection toBeCreated, Collection toBeRemoved) throws LaserDefinitionException
void uploadMultiplicity (Collection toBeCreated, Collection toBeRemoved, Collection thresholds) throws LaserDefinitionException
void uploadMaintenance (Collection toBeCreated, Collection toBeRemoved) throws LaserDefinitionException
void uploadMode (Collection toBeCreated, Collection toBeRemoved) throws LaserDefinitionException
void uploadReduction (Reader xmlDefinitionsReader) throws LaserDefinitionException
void uploadMask (Reader xmlDefinitionsReader) throws LaserDefinitionException

Detailed Description

DOCUMENT ME!

Author:
$author$
Version:
Revision:
1.2

Constructor & Destructor Documentation

cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.ReductionMaskDefinitionHandlerImpl ( String  userId  )  throws LaserDefinitionException

Creates a new ReductionMaskDefinitionHandlerImpl object.

Parameters:
userId DOCUMENT ME!

Member Function Documentation

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.addMaintenanceMask ( AlarmDefinition  alarm,
MaintenanceMask  maintenance 
) throws LaserDefinitionException

DOCUMENT ME!

Parameters:
alarm DOCUMENT ME!
maintenance DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.addModeMask ( AlarmDefinition  alarm,
ModeMask  mode 
) throws LaserDefinitionException

DOCUMENT ME!

Parameters:
alarm DOCUMENT ME!
mode DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.createMultiplicityLink ( ReductionLink  link  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
link DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!
LaserDefinitionNotValidException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.createNodeLink ( ReductionLink  link  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
link DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!
LaserDefinitionNotValidException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.download ( Writer  xmlDefinitionsWriter  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
xmlDefinitionsWriter DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.removeMaintenanceMask ( AlarmDefinition  alarm,
MaintenanceMask  maintenance 
) throws LaserDefinitionException

DOCUMENT ME!

Parameters:
alarm DOCUMENT ME!
maintenance DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.removeModeMask ( AlarmDefinition  alarm,
ModeMask  mode 
) throws LaserDefinitionException

DOCUMENT ME!

Parameters:
alarm DOCUMENT ME!
mode DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.removeMultiplicityLink ( ReductionLink  link  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
link DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!
LaserDefinitionNotValidException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.removeNodeLink ( ReductionLink  link  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
link DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!
LaserDefinitionNotValidException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.setMultiplicityThreshold ( MultiplicityThreshold  threshold  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
threshold DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!
LaserDefinitionNotValidException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadMaintenance ( Collection  toBeCreated,
Collection  toBeRemoved 
) throws LaserDefinitionException

Execute a bulk update within one single transaction.

Parameters:
toBeCreated the definitions to create
toBeRemoved the definitions to remove
Exceptions:
LaserDefinitionNotValidException if the definition failed validation
LaserDefinitionNotFoundException if the definition was not found
LaserDefinitionNotAllowedException if the user is not allowed
LaserDefinitionException if the request can not be served

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadMask ( Reader  xmlDefinitionsReader  )  throws LaserDefinitionException

Execute a bulk update within one single transaction.

Parameters:
xmlDefinitionsReader the XML definitions reader
Exceptions:
LaserDefinitionXMLException if the XML unmarshalling failed
LaserDefinitionNotValidException if the definition failed validation
LaserDefinitionNotFoundException if the definition was not found
LaserDefinitionNotAllowedException if the user is not allowed
LaserDefinitionException if the request can not be served

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadMode ( Collection  toBeCreated,
Collection  toBeRemoved 
) throws LaserDefinitionException

Execute a bulk update within one single transaction.

Parameters:
toBeCreated the definitions to create
toBeRemoved the definitions to remove
Exceptions:
LaserDefinitionNotValidException if the definition failed validation
LaserDefinitionNotFoundException if the definition was not found
LaserDefinitionNotAllowedException if the user is not allowed
LaserDefinitionException if the request can not be served

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadMultiplicity ( Collection  toBeCreated,
Collection  toBeRemoved,
Collection  thresholds 
) throws LaserDefinitionException

Execute a bulk update within one single transaction.

Parameters:
toBeCreated the definitions to create
toBeRemoved the definitions to remove
thresholds the multiplicity thresholds
Exceptions:
LaserDefinitionNotValidException if the definition failed validation
LaserDefinitionNotFoundException if the definition was not found
LaserDefinitionNotAllowedException if the user is not allowed
LaserDefinitionException if the request can not be served

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadNode ( Collection  toBeCreated,
Collection  toBeRemoved 
) throws LaserDefinitionException

DOCUMENT ME!

Parameters:
toBeCreated DOCUMENT ME!
toBeRemoved DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.

void cern.laser.definition.impl.ReductionMaskDefinitionHandlerImpl.uploadReduction ( Reader  xmlDefinitionsReader  )  throws LaserDefinitionException

DOCUMENT ME!

Parameters:
xmlDefinitionsReader DOCUMENT ME!
Exceptions:
LaserDefinitionException DOCUMENT ME!

Implements cern.laser.definition.ReductionMaskDefinitionHandler.


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