|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.fc.WTObject
wt.fc.Item
wt.org.WTPrincipal
wt.org.WTGroup
public class WTGroup
Group of users.
Use the newWTGroup static factory method(s), not the WTGroup
constructor, to construct instances of this class. Instances must be
constructed using the static factory(s), in order to ensure proper initialization
of the instance.
Supported API: true
Extendable: false
| Method Summary | |
|---|---|
boolean |
addMember(WTPrincipal principal)
Adds a member to the group. |
WTPrincipal[] |
addMembers(WTPrincipal[] principals)
Add members to the group. |
String |
getBusinessType()
Supported API: true |
protected void |
initialize(String name)
Supports initialization, following construction of an instance. |
protected void |
initialize(String name,
DirectoryContextProvider context)
Supports initialization, following construction of an instance. |
protected void |
initialize(String name,
String dn,
String service)
Supports initialization, following construction of an instance. |
boolean |
isMember(WTPrincipal principal)
Tells whether a principal belongs to a group: returns true if it belongs, false otherwise. |
Enumeration |
members()
Returns all the members of the group. |
static WTGroup |
newWTGroup(String name)
Constructor: constructs a group given its name. |
static WTGroup |
newWTGroup(String name,
DirectoryContextProvider context)
Constructor: constructs a group given its name and the organization with which it will be associated. |
static WTGroup |
newWTGroup(String name,
String dn,
String service)
Constructor: constructs a group given its name, dn, and Info*Engine service. |
Enumeration |
parentGroups()
Returns the groups to which the group belongs. |
boolean |
removeMember(WTPrincipal principal)
Removes a member from the group. |
void |
setDisabled(boolean disabled)
Supported API: true |
| Methods inherited from class wt.org.WTPrincipal |
|---|
getPrincipalDisplayIdentifier |
| Methods inherited from class wt.fc.WTObject |
|---|
getDisplayIdentifier, getDisplayIdentity, getDisplayType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static WTGroup newWTGroup(String name)
throws WTException
name -
WTException
protected void initialize(String name)
throws WTException
name -
WTException
public static WTGroup newWTGroup(String name,
String dn,
String service)
throws WTException
name - dn - service -
WTException
protected void initialize(String name,
String dn,
String service)
throws WTException
name - dn - service -
WTException
public static WTGroup newWTGroup(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTException
protected void initialize(String name,
DirectoryContextProvider context)
throws WTException
name - context -
WTExceptionpublic String getBusinessType()
public void setDisabled(boolean disabled)
throws WTException,
WTPropertyVetoException
disabled -
WTException
WTPropertyVetoException
public boolean addMember(WTPrincipal principal)
throws WTException
principal -
WTException
public WTPrincipal[] addMembers(WTPrincipal[] principals)
throws WTException
principals -
WTException
public boolean removeMember(WTPrincipal principal)
throws WTException
principal -
WTException
public boolean isMember(WTPrincipal principal)
throws WTException
principal -
WTException
public Enumeration members()
throws WTException
WTException
public Enumeration parentGroups()
throws WTException
WTException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||