com.wm.app.b2b.server
Class Group

java.lang.Object
  extended by com.wm.app.b2b.server.UGClass
      extended by com.wm.app.b2b.server.Group
All Implemented Interfaces:
Codable

public class Group
extends UGClass

Represents a group on the webMethods Integration Server. Most functionality is inherited from UGClass. Groups keep a list of their members (Users).

See Also:
UGClass

Field Summary
 
Fields inherited from class com.wm.app.b2b.server.UGClass
LDAP, NIS, OTHER, WM
 
Constructor Summary
Group()
          Creates a new group.
Group(java.lang.String name)
          Creates a new group with the specified name.
 
Method Summary
 User add(User user)
          Adds the specified user to this group.
 
Methods inherited from class com.wm.app.b2b.server.UGClass
add, addCredential, check, checkPassword, getCredentials, getData, getName, getSource, hasMember, hasMember, membership, membershipNames, remove, setCredentials, setData, setSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.wm.util.coder.Codable
getValue, getValueKeys, setValue
 

Constructor Detail

Group

public Group()
Creates a new group.


Group

public Group(java.lang.String name)
Creates a new group with the specified name.

Parameters:
name - New name for the group.
Method Detail

add

public User add(User user)
Adds the specified user to this group.

Parameters:
user - The user.
Returns:
The same user.