org.ozoneDB.adminGui.feature.account.users
Class UserAccount

java.lang.Object
  extended byorg.ozoneDB.adminGui.feature.account.users.UserAccount
All Implemented Interfaces:
IUser

public class UserAccount
extends java.lang.Object
implements IUser

This class manages the users accounts and takes care of communicating with the database.

Version:
1.0
Author:

Ibsen Ramos-Bonilla
Copyright © 1997-2004 by SMB GmbH. All Rights Reserved.


Constructor Summary
UserAccount(UserPanel parent)
          Overloaded constructor with a handle to the parent.
 
Method Summary
static org.ozoneDB.DxLib.DxCollection allUsers()
          This method gets the collection of users.
static java.util.Vector allUsersNames()
          This method gets a vector of users names.
 void create()
          This method creates a new account.
 void list()
          This method list all the users in the database.
 void remove()
          This method removes the selected account from the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAccount

public UserAccount(UserPanel parent)
Overloaded constructor with a handle to the parent.

Parameters:
parent - - a handle to the parent UserPanel object.
Method Detail

create

public void create()
This method creates a new account.

Specified by:
create in interface IUser

remove

public void remove()
This method removes the selected account from the database.

Specified by:
remove in interface IUser

list

public void list()
This method list all the users in the database.

Specified by:
list in interface IUser

allUsers

public static org.ozoneDB.DxLib.DxCollection allUsers()
This method gets the collection of users.

Returns:
DxCollection - list of users in database.

allUsersNames

public static java.util.Vector allUsersNames()
This method gets a vector of users names.

Returns:
Vector - list of users names in database.


Copyright © 2004 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.