edu.mit.stellar.api.group
Interface NexusSGroupFactory


public interface NexusSGroupFactory

NexusSGroupFactory Federate all system-configured SGroupFactories, unify all SGroups for a Nexus

Version:
$Revision: 29988 $, $Date: 2008-02-09 22:10:42 -0500 (Sat, 09 Feb 2008) $
Author:
MIT Stellar team

Method Summary
 void addSGroupFactory(SGroupFactory groupFactory)
          add an sgroup factory
 java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(java.lang.String uuid, Nexus nexus)
          Get Set of NexusGroups from Nexus, return combined Set of CategoryRefs for the user in all SGroups.
 java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(java.lang.String uuid, java.lang.String nexusPath)
           
 java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(UserIdentity user, Nexus nexus)
          Get Set of NexusGroups from Nexus, return combined Set of CategoryRefs for the user in all SGroups.
 java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(UserIdentity user, java.lang.String nexusPath)
           
 SGroup getCombinedSGroupForNexus(Nexus nexus)
          Get Set of NexusGroups from Nexus, access the group Factories and the groups from them, and combine them to a single SGroup.
 SGroup getCombinedSGroupForNexus(java.lang.String nexusPath)
           
 java.util.Set<SGroupFactory> getSGroupFactories()
           
 java.util.Set<SGroup> getSGroupsForUserInNexus(java.lang.String uuid, Nexus nexus)
          Get Set of NexusGroups from Nexus, see if the user has is a member of each, return Set of SGroups for which the user is a member.
 java.util.Set<SGroup> getSGroupsForUserInNexus(java.lang.String uuid, java.lang.String nexusPath)
           
 java.util.Set<SGroup> getSGroupsForUserInNexus(UserIdentity user, Nexus nexus)
          Get Set of NexusGroups from Nexus, see if the user has is a member of each, return Set of SGroups for which the user is a member.
 java.util.Set<SGroup> getSGroupsForUserInNexus(UserIdentity user, java.lang.String nexusPath)
           
 void setSGroupFactories(java.util.Set<SGroupFactory> groupFactories)
           
 

Method Detail

getSGroupFactories

java.util.Set<SGroupFactory> getSGroupFactories()
Returns:
the sGroupFactories

setSGroupFactories

void setSGroupFactories(java.util.Set<SGroupFactory> groupFactories)
Parameters:
groupFactories - the sGroupFactories to set

addSGroupFactory

void addSGroupFactory(SGroupFactory groupFactory)
add an sgroup factory

Parameters:
groupFactory -

getCombinedSGroupForNexus

SGroup getCombinedSGroupForNexus(Nexus nexus)
Get Set of NexusGroups from Nexus, access the group Factories and the groups from them, and combine them to a single SGroup.

Parameters:
nexus -
Returns:

getCombinedSGroupForNexus

SGroup getCombinedSGroupForNexus(java.lang.String nexusPath)

getSGroupsForUserInNexus

java.util.Set<SGroup> getSGroupsForUserInNexus(java.lang.String uuid,
                                               Nexus nexus)
Get Set of NexusGroups from Nexus, see if the user has is a member of each, return Set of SGroups for which the user is a member.

Parameters:
uuid -
nexus -
Returns:
Set, possibly empty, of all SGroups of which this User is a Member, directly or because that SGroup includes an SGroup of which this user is a Member.

getSGroupsForUserInNexus

java.util.Set<SGroup> getSGroupsForUserInNexus(java.lang.String uuid,
                                               java.lang.String nexusPath)

getSGroupsForUserInNexus

java.util.Set<SGroup> getSGroupsForUserInNexus(UserIdentity user,
                                               Nexus nexus)
Get Set of NexusGroups from Nexus, see if the user has is a member of each, return Set of SGroups for which the user is a member.

Parameters:
user -
nexus -
Returns:
Set, possibly empty, of all SGroups of which this User is a Member, directly or because that SGroup includes an SGroup of which this user is a Member.

getSGroupsForUserInNexus

java.util.Set<SGroup> getSGroupsForUserInNexus(UserIdentity user,
                                               java.lang.String nexusPath)

getCategoryRefsForUserInNexus

java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(java.lang.String uuid,
                                                              Nexus nexus)
Get Set of NexusGroups from Nexus, return combined Set of CategoryRefs for the user in all SGroups.

Parameters:
uuid -
nexus -
Returns:
Set, possibly empty, of all CategoryRefs for the user in all SGroups.

getCategoryRefsForUserInNexus

java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(java.lang.String uuid,
                                                              java.lang.String nexusPath)

getCategoryRefsForUserInNexus

java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(UserIdentity user,
                                                              Nexus nexus)
Get Set of NexusGroups from Nexus, return combined Set of CategoryRefs for the user in all SGroups.

Parameters:
user -
nexus -
Returns:
Set, possibly empty, of all CategoryRefs for the user in all SGroups.

getCategoryRefsForUserInNexus

java.util.Set<java.lang.String> getCategoryRefsForUserInNexus(UserIdentity user,
                                                              java.lang.String nexusPath)


Copyright © 2007-2008 MIT IS&T ISDA. All Rights Reserved.