public interface CategoryLinkDefinitionHandler
AdminUser| Modifier and Type | Method and Description |
|---|---|
void |
createCategoryLink(CategoryLink link)
Create a new alarm-category link.
|
void |
download(java.io.Writer xmlDefinitionsWriter)
Dump the user definitions in XML format.
|
void |
removeCategoryLink(CategoryLink link)
Remove an alarm-category link.
|
void |
upload(java.util.Collection toBeCreated,
java.util.Collection toBeRemoved)
Execute a bulk update within one single transaction.
|
void |
upload(java.io.Reader xmlDefinitionsReader)
Execute a bulk update within one single transaction.
|
void createCategoryLink(CategoryLink link) throws LaserDefinitionException
link - the alarm-category linkLaserDefinitionNotValidException - 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 removeCategoryLink(CategoryLink link) throws LaserDefinitionException
link - the alarm-category linkLaserDefinitionNotValidException - if the definition failed validationLaserDefinitionNotAllowedException - if the user is not allowedLaserDefinitionException - if the request can not be servedvoid upload(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 upload(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