Novell
exteNd Director 4.1

com.sssw.fw.directory.api
Interface EbiRealmGroup

All Superinterfaces:
Group, Principal

public interface EbiRealmGroup
extends Group

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


Method Summary
 Collection getChildGroups()
          Gets a collection of child group principals if there are any.
 String getFullQualifiedName()
          Gets the full qualified principal name, including realm name prefix.
 Collection getParentGroups()
          Gets a collection of parent group principals if there are any.
 String getRealm()
          Gets the name of the realm this group belongs.
 String getShortName()
          Gets the short name of the group which is typically the group name without any realm information.
 String getUniqueID()
          Gets the unqiue identifier of the group principal.
 Collection getUserMembers()
          Gets a collection of user member principals if there are any.
 
Methods implemented from interface java.security.acl.Group
addMember, isMember, members, removeMember
 
Methods implemented from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getRealm

public String getRealm()
Gets the name of the realm this group belongs.
Returns:
the realm name.

getUniqueID

public String getUniqueID()
Gets the unqiue identifier of the group principal.
Returns:
the unique identifier.

getFullQualifiedName

public String getFullQualifiedName()
Gets the full qualified principal name, including realm name prefix.
Returns:
the full qualified principal name.

getParentGroups

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

getChildGroups

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

getUserMembers

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

getShortName

public String getShortName()
Gets the short name of the group which is typically the group name without any realm information.
Returns:
the short name.

Novell
exteNd Director 4.1