| Constructor and Description |
|---|
UserImpl(java.lang.String newUserName,
org.omg.CORBA.ORB orb,
AcsLogger logger) |
| 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 |
setName(java.lang.String newName) |
void |
setPassword(java.lang.String newPassword)
Accessor method.
|
java.lang.String |
toString() |
public UserImpl(java.lang.String newUserName,
org.omg.CORBA.ORB orb,
AcsLogger logger)
throws LaserConsoleException
LaserConsoleExceptionpublic java.lang.String getName()
throws LaserConsoleException
UsergetName in interface UserLaserConsoleException - if the request could not be served.public void setName(java.lang.String newName)
throws LaserConsoleException
LaserConsoleExceptionpublic java.lang.String getPassword()
throws LaserConsoleException
UsergetPassword in interface UserLaserConsoleException - if the request could not be served.public void setPassword(java.lang.String newPassword)
throws LaserConsoleException
UsersetPassword in interface UserLaserConsoleException - if the request could not be served.public java.lang.String getDefaultPrinter()
throws LaserConsoleException
getDefaultPrinter in interface UserLaserConsoleExceptionpublic void setDefaultPrinter(java.lang.String newDefaultPrinter)
throws LaserConsoleException
setDefaultPrinter in interface UserLaserConsoleExceptionpublic java.util.Collection getConfigurations()
throws LaserConsoleException,
LaserConnectionException
UsergetConfigurations in interface UserLaserConsoleException - if the request could not be served.LaserConnectionException - if the console cannot connect to the BLpublic Configuration getConfiguration(java.lang.String name) throws LaserConsoleException, LaserConnectionException
UsergetConfiguration in interface Username - the name of the configuration.LaserConfigurationNotFoundException - if the configuration does not exist.LaserConnectionException - if the console cannot connect to the BLLaserConsoleExceptionpublic Configuration createConfiguration(java.lang.String name) throws LaserConsoleException
UsercreateConfiguration in interface Username - the name of the configuration to create.LaserConsoleException - if the request could not be served.LaserConfigurationDuplicationException - if the configuration already exists.public Configuration createConfiguration(Configuration configuration) throws LaserConsoleException
UsercreateConfiguration in interface Userconfiguration - the configuration to be used to create the new one.LaserConsoleException - if the request could not be served.LaserConfigurationDuplicationException - if the configuration already exists.public void removeConfiguration(java.lang.String name)
throws LaserConsoleException
UserremoveConfiguration in interface Username - the name of the configuration to remove.LaserConsoleException - if the request could not be served.LaserConfigurationNotFoundException - if the configuration does not exist.public Configuration getDefaultConfiguration() throws LaserConsoleException, LaserConnectionException
UsergetDefaultConfiguration in interface UserLaserConsoleException - if the request could not be served.LaserConnectionException - if the console cannot connect to the BLpublic void setDefaultConfiguration(java.lang.String name)
throws LaserConsoleException
UsersetDefaultConfiguration in interface Username - the user's console new default configuration name.LaserConsoleException - if the request could not be served.LaserConfigurationNotFoundException - if the configuration does not exist.public boolean isDefaultConfiguration(java.lang.String name)
throws LaserConsoleException
UserisDefaultConfiguration in interface Username - the configuration name.LaserConsoleException - if the request could not be served.public java.lang.String toString()
toString in class java.lang.Object