public interface ReductionMaskDefinitionHandler
AdminUser| Modifier and Type | Method and Description |
|---|---|
void |
addMaintenanceMask(AlarmDefinition alarm,
MaintenanceMask maintenance)
Add a new maintenance mask definition.
|
void |
addModeMask(AlarmDefinition alarm,
ModeMask mode)
Add a new mode mask definition.
|
void |
createMultiplicityLink(ReductionLink link)
Create a new multiplicity reduction link definition.
|
void |
createNodeLink(ReductionLink link)
Create a new node reduction link definition.
|
void |
download(java.io.Writer xmlDefinitionsWriter)
Dump the user definitions in XML format.
|
void |
removeMaintenanceMask(AlarmDefinition alarm,
MaintenanceMask maintenance)
Remove a maintenance mask definition.
|
void |
removeModeMask(AlarmDefinition alarm,
ModeMask mode)
Remove a mode mask definition.
|
void |
removeMultiplicityLink(ReductionLink link)
Remove a multiplicity link definition.
|
void |
removeNodeLink(ReductionLink link)
Remove a node reduction link definition.
|
void |
setMultiplicityThreshold(MultiplicityThreshold threshold)
Set a multiplicity node threshold.
|
void |
uploadMaintenance(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
Execute a bulk update within one single transaction.
|
void |
uploadMask(java.io.Reader xmlDefinitionsReader)
Execute a bulk update within one single transaction.
|
void |
uploadMode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
Execute a bulk update within one single transaction.
|
void |
uploadMultiplicity(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved,
java.util.Collection thresholds)
Execute a bulk update within one single transaction.
|
void |
uploadNode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
Execute a bulk update within one single transaction.
|
void |
uploadReduction(java.io.Reader xmlDefinitionsReader)
Execute a bulk update within one single transaction.
|
void setMultiplicityThreshold(MultiplicityThreshold threshold) throws LaserDefinitionException
threshold - the multiplicity thresholdLaserDefinitionNotValidException - if the threshold failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionNotFoundException - if the alarm definition is not foundLaserDefinitionException - if the request can not be servedvoid addMaintenanceMask(AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
alarm - the alarmmaintenance - the maintenance maskLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionNotFoundException - if the alarm definition is not foundLaserDefinitionException - if the request can not be servedvoid addModeMask(AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
alarm - the alarmmode - the mode maskLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionNotFoundException - if the alarm definition is not foundLaserDefinitionException - if the request can not be servedvoid createMultiplicityLink(ReductionLink link) throws LaserDefinitionException
link - the reduction link definitionLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid createNodeLink(ReductionLink link) throws LaserDefinitionException
link - the reduction link definitionLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid download(java.io.Writer xmlDefinitionsWriter)
throws LaserDefinitionException
xmlDefinitionsWriter - the XML definitions writerLaserDefinitionXMLException - if the XML marshalling failedLaserDefinitionException - if the request can not be servedvoid removeMaintenanceMask(AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
alarm - the alarmmaintenance - the maintenance maskLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionNotFoundException - if the alarm definition is not foundLaserDefinitionException - if the request can not be servedvoid removeModeMask(AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
alarm - the alarmmode - the mode maskLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionNotFoundException - if the alarm definition is not foundLaserDefinitionException - if the request can not be servedvoid removeMultiplicityLink(ReductionLink link) throws LaserDefinitionException
link - the reduction link definitionLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid removeNodeLink(ReductionLink link) throws LaserDefinitionException
link - the reduction link definitionLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadNode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
toBeCreated - the definitions to createtoBeRemoved - the definitions to removeLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadMultiplicity(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved,
java.util.Collection thresholds)
throws LaserDefinitionException
toBeCreated - the definitions to createtoBeRemoved - the definitions to removethresholds - the multiplicity thresholdsLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadMaintenance(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
toBeCreated - the definitions to createtoBeRemoved - the definitions to removeLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadMode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
toBeCreated - the definitions to createtoBeRemoved - the definitions to removeLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadReduction(java.io.Reader xmlDefinitionsReader)
throws LaserDefinitionException
xmlDefinitionsReader - the XML definitions readerLaserDefinitionXMLException - if the XML unmarshalling failedLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid uploadMask(java.io.Reader xmlDefinitionsReader)
throws LaserDefinitionException
xmlDefinitionsReader - the XML definitions readerLaserDefinitionXMLException - if the XML unmarshalling failedLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotFoundException - if the definition was not foundLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be served