Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::laser::console::impl::UserHandlerImpl Class Reference

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

Inheritance graph
[legend]
Collaboration diagram for cern::laser::console::impl::UserHandlerImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

Private Member Functions

Object getConsoleUserEntityEJBHome () throws LaserConnectionException

Private Attributes

UserImpl user
ArrayList users = new ArrayList()

Constructor & Destructor Documentation

cern::laser::console::impl::UserHandlerImpl::UserHandlerImpl  )  throws LaserConsoleException [inline]
 


Member Function Documentation

User cern::laser::console::impl::UserHandlerImpl::createUser String  name,
String  password
throws LaserConsoleException [inline, 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.

Object cern::laser::console::impl::UserHandlerImpl::getConsoleUserEntityEJBHome  )  throws LaserConnectionException [inline, private]
 

User cern::laser::console::impl::UserHandlerImpl::getUser String  name  )  throws LaserConsoleException [inline, 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.

Collection cern::laser::console::impl::UserHandlerImpl::getUsers  )  throws LaserConsoleException [inline, 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 [inline, 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.


Member Data Documentation

UserImpl cern::laser::console::impl::UserHandlerImpl::user [private]
 

ArrayList cern::laser::console::impl::UserHandlerImpl::users = new ArrayList() [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:09:00 2009 for ACS Java API by doxygen 1.3.8