An
IEntityGroup is a composite, or non-leaf
IGroupMember. It contains
IEntities and other
IEntityGroups.
The api defines methods for adding a member to, and removing it from, a group, though not vice versa. (Although there is nothing to prevent a given IGroupMember implementation from storing references to its containing groups.) These methods only change the group structure in memory.
addMember(IGroupMember gm)
removeMember(IGroupMember gm)
The following methods commit changes in the group structure to the persistent store:
delete() - delete the group and its memberships
update() - insert or update the group, as appropriate
updateMembers() - insert/update/delete group memberships as appropriate
The following methods were added to permit an IEntityGroup to function within a composite group service:
getLocalKey() - returns the key within the service of origin.
getServiceName() - returns the Name of the group service of origin.
setLocalGroupService() - sets the group service of origin.
@author Dan Ellentuck
@version $Revision: 19776 $