Public Member Functions

cern.laser.console.impl.UserHandlerImpl Class Reference

Inheritance diagram for cern.laser.console.impl.UserHandlerImpl:
cern.laser.console.UserHandler

List of all members.

Public Member Functions

 UserHandlerImpl (ORB orb, AcsLogger logger) throws LaserConsoleException
Collection getUsers () throws LaserConsoleException
User getUser (String name, ORB orb, AcsLogger logger) throws LaserConsoleException
User createUser (String name, String password) throws LaserConsoleException
void removeUser (String name) throws LaserConsoleException

Constructor & Destructor Documentation

cern.laser.console.impl.UserHandlerImpl.UserHandlerImpl ( ORB  orb,
AcsLogger  logger 
) throws LaserConsoleException

Member Function Documentation

User cern.laser.console.impl.UserHandlerImpl.createUser ( String  name,
String  password 
) throws LaserConsoleException [virtual]

Factory method. Define a new alarm console user.

Parameters:
name the user name.
password the user password.
Returns:
a new alarm console user instance.
Exceptions:
LaserConsoleException if the request can not be served.
LaserUserDuplicationException if the user already exists.

Implements cern.laser.console.UserHandler.

User cern.laser.console.impl.UserHandlerImpl.getUser ( String  name,
ORB  orb,
AcsLogger  logger 
) throws LaserConsoleException [virtual]

Get the user by its name.

Parameters:
name the user name.
Returns:
the alarm console user .
Exceptions:
LaserConsoleException if the request can not be served.
LaserUserNotFoundException if the user does not exist.

Implements cern.laser.console.UserHandler.

Referenced by alma.alarmsystem.clients.CategoryClient.connect().

Collection cern.laser.console.impl.UserHandlerImpl.getUsers (  )  throws LaserConsoleException [virtual]

Get all the defined alarm console users.

Returns:
defined alarm console users.
Exceptions:
LaserConsoleException if the request can not be served.

Implements cern.laser.console.UserHandler.

void cern.laser.console.impl.UserHandlerImpl.removeUser ( String  name  )  throws LaserConsoleException [virtual]

Remove an alarm console user.

Parameters:
name the name of the user to remove.
Exceptions:
LaserConsoleException if the request can not be served.
LaserUserNotFoundException if the user does not exist.

Implements cern.laser.console.UserHandler.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties