group
Class GroupInfoRepository

java.lang.Object
  extended by group.GroupInfoRepository

public abstract class GroupInfoRepository
extends Object

Implements the @{link group}'s module repository component, which offers an interface for accessing and modifying group information. The group information, the one that is contained in the Group objects, and from which these objects are recreated, is stored and modified using this class. The way this information is stored is implementation specific.


Constructor Summary
GroupInfoRepository()
           
 
Method Summary
abstract  void applyGroupChange(Group group, Change change)
           
abstract  List<Group> getGroups()
          Returns a list of Group objects representing the groups the logged-in user is member of.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupInfoRepository

public GroupInfoRepository()
Method Detail

applyGroupChange

public abstract void applyGroupChange(Group group,
                                      Change change)
Parameters:
group - - the group for which to apply the change
change - - the group change

getGroups

public abstract List<Group> getGroups()
Returns a list of Group objects representing the groups the logged-in user is member of.

Returns:
the user's groups.