Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.authorization
Class CwGroup

java.lang.Object
  extended byCwAbstractIdentity
      extended byoracle.workspaces.authorization.CwGroup


public class CwGroup
extends CwAbstractIdentity

This class represents a regular OID group which can be added to workspace(s). It is workspace independent. To add it into a workspace, a CwMemberable has to be created from it. After being added to a workspace, a CwMember is created, from which this group can be retrieved.

See Also:
Serialized Form

Method Summary
CwUser[] getAllUsers()
Returns all users in the group recursively
java.lang.String getDescription()
int getGranteeType()
Get the type of the grantee.
int getType()
CwIdentity[] listMembers()
List the members of the group, which consists of user(s) and/or group(s).
java.lang.String toString()

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail

getAllUsers

public CwUser[] getAllUsers()
                     throws CwException
Returns all users in the group recursively
Throws:
CwException

getDescription

public java.lang.String getDescription()

getGranteeType

public int getGranteeType()
Get the type of the grantee.
Returns:
the type of the grantee.

getType

public int getType()

listMembers

public CwIdentity[] listMembers()
                         throws CwException
List the members of the group, which consists of user(s) and/or group(s). If there is no member in the group, the empty array is returned.
Throws:
CwException

toString

public java.lang.String toString()

Copyright © 2001, 2005, Oracle. All rights reserved.