com.tivoli.am.fim.trustserver.sts.uuser
Class GroupList

java.lang.Object
  extended by com.tivoli.am.fim.trustserver.sts.uuser.GroupList

public class GroupList
extends java.lang.Object

Represents the GroupList


Field Summary
static java.lang.String GroupList_java_copyright
           
static java.lang.String GroupList_java_sourceCodeID
           
 
Constructor Summary
GroupList(Group[] groups)
           
 
Method Summary
 void addGroup(Group g)
           
 void clear()
           
static GroupList fromXml(org.w3c.dom.Element element)
           
 java.util.Iterator getGroupIterator()
           
 Group[] getGroups()
           
 int removeGroups(java.lang.String name, java.lang.String type)
          Remove any groups that match the input name and type.
 void setGroups(Group[] groups)
           
 org.w3c.dom.Element toXml(org.w3c.dom.Document owner)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GroupList_java_sourceCodeID

public static final java.lang.String GroupList_java_sourceCodeID
See Also:
Constant Field Values

GroupList_java_copyright

public static final java.lang.String GroupList_java_copyright
See Also:
Constant Field Values
Constructor Detail

GroupList

public GroupList(Group[] groups)
Method Detail

getGroups

public Group[] getGroups()

setGroups

public final void setGroups(Group[] groups)

addGroup

public void addGroup(Group g)

getGroupIterator

public java.util.Iterator getGroupIterator()

clear

public void clear()

removeGroups

public int removeGroups(java.lang.String name,
                        java.lang.String type)
Remove any groups that match the input name and type. Null for a name or type will match any name or time. In essence clear() == removeGroups(null, null)

Parameters:
name - The name of the group.
type - The group type.
Returns:
The number of removed groups.

fromXml

public static GroupList fromXml(org.w3c.dom.Element element)

toXml

public org.w3c.dom.Element toXml(org.w3c.dom.Document owner)