Novell exteNd
Director 5.2 API

com.sssw.fw.directory.api
Interface EbiRealmGroup

All Superinterfaces:
EbiRealmPrincipal, Group, Principal

public interface EbiRealmGroup
extends Group, EbiRealmPrincipal

The wrapper Group principal used by realms. The original principal implementation can be used in order to leverage existing principal functionality and APIs.


Field Summary
static String PRIN_TYPE_GROUP
          The constant for the Group principal type.
 
Method Summary
 Collection getChildGroups()
          Gets a collection of child group principals if there are any.
 Group getGroup()
          Gets the original Group which this object is a wrapper of.
 Collection getParentGroups()
          Gets a collection of parent group principals if there are any.
 Collection getUserMembers()
          Gets a collection of user member principals if there are any.
 boolean isDynamicGroup()
          Returns true if the group is a dynamic group, false otherwise.
 
Methods implemented from interface java.security.acl.Group
addMember, isMember, members, removeMember
 
Methods implemented from interface com.sssw.fw.directory.api.EbiRealmPrincipal
getFullQualifiedName, getPrincipal, getPrincipalType, getRealm, getShortName, getUniqueID
 

Field Detail

PRIN_TYPE_GROUP

public static final String PRIN_TYPE_GROUP
The constant for the Group principal type.
Method Detail

getGroup

public Group getGroup()
Gets the original Group which this object is a wrapper of.
Returns:
the original Group which this object is a wrapper of; null if not available

getParentGroups

public Collection getParentGroups()
Gets a collection of parent group principals if there are any.
Returns:
a collection of parent groups of type EbiRealmGroup.

getChildGroups

public Collection getChildGroups()
Gets a collection of child group principals if there are any.
Returns:
a collection of child groups of type EbiRealmGroup.

getUserMembers

public Collection getUserMembers()
Gets a collection of user member principals if there are any.
Returns:
a collection of user members of type EbiRealmUser.

isDynamicGroup

public boolean isDynamicGroup()
Returns true if the group is a dynamic group, false otherwise. Dynamic groups utilize queries to determine membership.

Novell exteNd
Director 5.2 API