org.ozoneDB.adminGui.feature.account.groups
Class GroupItem

java.lang.Object
  extended byorg.ozoneDB.adminGui.feature.account.AccountItem
      extended byorg.ozoneDB.adminGui.feature.account.groups.GroupItem

public class GroupItem
extends AccountItem

This class creates groups objects that are loaded into the Groups tree.

Version:
1.0
Author:

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


Constructor Summary
GroupItem(java.lang.String name, int id)
          Overloaded constructor initializes the a new item.
 
Method Summary
 java.util.Vector getAssignedUsers()
          This method returns a list of names of users assigned to this group.
 UserItem getUser(java.lang.String name)
          This method returns an account assigned to this group based on the account name.
 
Methods inherited from class org.ozoneDB.adminGui.feature.account.AccountItem
addChild, getChildAt, getChildCount, getChildren, getId, getIndexOfChild, isAdmin, removeChild, setChildren, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GroupItem

public GroupItem(java.lang.String name,
                 int id)
Overloaded constructor initializes the a new item.

Parameters:
name - - the item name.
id - - the item id.
Method Detail

getAssignedUsers

public java.util.Vector getAssignedUsers()
This method returns a list of names of users assigned to this group.

Returns:
Vector - list of account names.

getUser

public UserItem getUser(java.lang.String name)
This method returns an account assigned to this group based on the account name.

Parameters:
name - - the account name to look for.
Returns:
UserItem - the account node.


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