public interface User
Configuration| Modifier and Type | Method and Description |
|---|---|
Configuration |
createConfiguration(Configuration configuration)
Create a new alarm console configuration for the user using a given configuration.
|
Configuration |
createConfiguration(java.lang.String name)
Create a new alarm console configuration for the user.
|
Configuration |
getConfiguration(java.lang.String name)
Accessor method.
|
java.util.Collection |
getConfigurations()
Accessor method.
|
Configuration |
getDefaultConfiguration()
Get the user's default configuration.
|
java.lang.String |
getDefaultPrinter() |
java.lang.String |
getName()
Accessor method.
|
java.lang.String |
getPassword()
Accessor method.
|
boolean |
isDefaultConfiguration(java.lang.String name)
Check the user default configuration.
|
void |
removeConfiguration(java.lang.String name)
Remove a configuration for the user.
|
void |
setDefaultConfiguration(java.lang.String name)
Set the user's default configuration.
|
void |
setDefaultPrinter(java.lang.String newDefaultPrinter) |
void |
setPassword(java.lang.String newPassword)
Accessor method.
|
java.lang.String getName()
throws LaserConsoleException
LaserConsoleException - if the request could not be served.java.lang.String getPassword()
throws LaserConsoleException
LaserConsoleException - if the request could not be served.void setPassword(java.lang.String newPassword)
throws LaserConsoleException
LaserConsoleException - if the request could not be served.java.lang.String getDefaultPrinter()
throws LaserConsoleException
LaserConsoleExceptionvoid setDefaultPrinter(java.lang.String newDefaultPrinter)
throws LaserConsoleException
LaserConsoleExceptionjava.util.Collection getConfigurations()
throws LaserConsoleException,
LaserConnectionException
LaserConsoleException - if the request could not be served.LaserConnectionException - if the console cannot connect to the BLConfiguration getConfiguration(java.lang.String name) throws LaserConsoleException, LaserConnectionException
name - the name of the configuration.LaserConnectionException - if the console cannot connect to the BLLaserConfigurationNotFoundException - if the configuration does not exist.LaserConsoleExceptionConfiguration createConfiguration(java.lang.String name) throws LaserConsoleException
name - the name of the configuration to create.LaserConsoleException - if the request could not be served.LaserConfigurationDuplicationException - if the configuration already exists.Configuration createConfiguration(Configuration configuration) throws LaserConsoleException
configuration - the configuration to be used to create the new one.LaserConsoleException - if the request could not be served.LaserConfigurationDuplicationException - if the configuration already exists.void removeConfiguration(java.lang.String name)
throws LaserConsoleException
name - the name of the configuration to remove.LaserConsoleException - if the request could not be served.LaserConfigurationNotFoundException - if the configuration does not exist.Configuration getDefaultConfiguration() throws LaserConsoleException, LaserConnectionException
LaserConsoleException - if the request could not be served.LaserConnectionException - if the console cannot connect to the BLvoid setDefaultConfiguration(java.lang.String name)
throws LaserConsoleException
name - the user's console new default configuration name.LaserConsoleException - if the request could not be served.LaserConfigurationNotFoundException - if the configuration does not exist.boolean isDefaultConfiguration(java.lang.String name)
throws LaserConsoleException
name - the configuration name.LaserConsoleException - if the request could not be served.