public class ReductionMaskDefinitionHandlerImpl extends DefinitionHandlerImpl implements ReductionMaskDefinitionHandler
DEFAULT_XSD_LOCATION, XSD_LOCATION_PROPERTY| Constructor and Description |
|---|
ReductionMaskDefinitionHandlerImpl(java.lang.String userId)
Creates a new ReductionMaskDefinitionHandlerImpl object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMaintenanceMask(AlarmDefinition alarm,
MaintenanceMask maintenance)
DOCUMENT ME!
|
void |
addModeMask(AlarmDefinition alarm,
ModeMask mode)
DOCUMENT ME!
|
void |
createMultiplicityLink(ReductionLink link)
DOCUMENT ME!
|
void |
createNodeLink(ReductionLink link)
DOCUMENT ME!
|
void |
download(java.io.Writer xmlDefinitionsWriter)
DOCUMENT ME!
|
void |
removeMaintenanceMask(AlarmDefinition alarm,
MaintenanceMask maintenance)
DOCUMENT ME!
|
void |
removeModeMask(AlarmDefinition alarm,
ModeMask mode)
DOCUMENT ME!
|
void |
removeMultiplicityLink(ReductionLink link)
DOCUMENT ME!
|
void |
removeNodeLink(ReductionLink link)
DOCUMENT ME!
|
void |
setMultiplicityThreshold(MultiplicityThreshold threshold)
DOCUMENT ME!
|
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)
DOCUMENT ME!
|
void |
uploadReduction(java.io.Reader xmlDefinitionsReader)
DOCUMENT ME!
|
getUserId, setUserIdpublic ReductionMaskDefinitionHandlerImpl(java.lang.String userId)
throws LaserDefinitionException
userId - DOCUMENT ME!LaserDefinitionExceptionpublic void setMultiplicityThreshold(MultiplicityThreshold threshold) throws LaserDefinitionException
setMultiplicityThreshold in interface ReductionMaskDefinitionHandlerthreshold - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!LaserDefinitionNotValidException - DOCUMENT ME!public void addMaintenanceMask(AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
addMaintenanceMask in interface ReductionMaskDefinitionHandleralarm - DOCUMENT ME!maintenance - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void addModeMask(AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
addModeMask in interface ReductionMaskDefinitionHandleralarm - DOCUMENT ME!mode - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void createMultiplicityLink(ReductionLink link) throws LaserDefinitionException
createMultiplicityLink in interface ReductionMaskDefinitionHandlerlink - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!LaserDefinitionNotValidException - DOCUMENT ME!public void createNodeLink(ReductionLink link) throws LaserDefinitionException
createNodeLink in interface ReductionMaskDefinitionHandlerlink - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!LaserDefinitionNotValidException - DOCUMENT ME!public void download(java.io.Writer xmlDefinitionsWriter)
throws LaserDefinitionException
download in interface ReductionMaskDefinitionHandlerxmlDefinitionsWriter - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void removeMaintenanceMask(AlarmDefinition alarm, MaintenanceMask maintenance) throws LaserDefinitionException
removeMaintenanceMask in interface ReductionMaskDefinitionHandleralarm - DOCUMENT ME!maintenance - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void removeModeMask(AlarmDefinition alarm, ModeMask mode) throws LaserDefinitionException
removeModeMask in interface ReductionMaskDefinitionHandleralarm - DOCUMENT ME!mode - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void removeMultiplicityLink(ReductionLink link) throws LaserDefinitionException
removeMultiplicityLink in interface ReductionMaskDefinitionHandlerlink - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!LaserDefinitionNotValidException - DOCUMENT ME!public void removeNodeLink(ReductionLink link) throws LaserDefinitionException
removeNodeLink in interface ReductionMaskDefinitionHandlerlink - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!LaserDefinitionNotValidException - DOCUMENT ME!public void uploadNode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
uploadNode in interface ReductionMaskDefinitionHandlertoBeCreated - DOCUMENT ME!toBeRemoved - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void uploadMultiplicity(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved,
java.util.Collection thresholds)
throws LaserDefinitionException
ReductionMaskDefinitionHandleruploadMultiplicity in interface ReductionMaskDefinitionHandlertoBeCreated - 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 servedpublic void uploadMaintenance(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
ReductionMaskDefinitionHandleruploadMaintenance in interface ReductionMaskDefinitionHandlertoBeCreated - 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 servedpublic void uploadMode(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
throws LaserDefinitionException
ReductionMaskDefinitionHandleruploadMode in interface ReductionMaskDefinitionHandlertoBeCreated - 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 servedpublic void uploadReduction(java.io.Reader xmlDefinitionsReader)
throws LaserDefinitionException
uploadReduction in interface ReductionMaskDefinitionHandlerxmlDefinitionsReader - DOCUMENT ME!LaserDefinitionException - DOCUMENT ME!public void uploadMask(java.io.Reader xmlDefinitionsReader)
throws LaserDefinitionException
ReductionMaskDefinitionHandleruploadMask in interface ReductionMaskDefinitionHandlerxmlDefinitionsReader - 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