Method Summary |
|
public void | addMember(IGroupMember gm) Adds IGroupMember gm to our member Map and conversely,
adds this to gm's group Map , after checking that the
addition does not violate group rules. |
protected boolean | areMemberKeysInitialized() |
protected void | clearPendingUpdates() Clear out caches for pending adds and deletes of group members. |
public boolean | contains(IGroupMember gm) Checks if GroupMember gm is a member of this. |
public boolean | deepContains(IGroupMember gm) Checks recursively if GroupMember gm is a member of this. |
public void | delete() Delegates to the factory. |
public boolean | equals(Object obj) |
public HashMap | getAddedMembers() |
public java.util.Iterator | getAllEntities() Returns an Iterator over the Set of this
IEntityGroup's recursively-retrieved members that are
IEntities . |
public java.util.Iterator | getAllMembers() Returns an Iterator over the Set of recursively-retrieved
IGroupMembers that are members of this IEntityGroup . |
protected CompositeEntityIdentifier | getCompositeEntityIdentifier() Returns the EntityIdentifier cast to a
CompositeEntityIdentifier so that its service nodes
can be pushed and popped. |
public java.lang.String | getCreatorID() |
public java.lang.String | getDescription() |
public java.util.Iterator | getEntities() Returns an Iterator over this IEntityGroup's
members that are IEntities . |
public EntityIdentifier | getEntityIdentifier() |
public String | getEntityKey() Returns the key of the underyling entity. |
public java.lang.Class | getEntityType() Returns the entity type of this groups's leaf members. |
public String | getGroupID() |
public java.lang.Class | getLeafType() Returns the entity type of this groups's members. |
protected IIndividualGroupService | getLocalGroupService() |
public String | getLocalKey() Returns the key from the group service of origin. |
protected java.util.Iterator | getMemberEntities() Returns an Iterator over the entities in our member
Collection . |
public IEntityGroup | getMemberGroupNamed(String name) Returns the named member IEntityGroup . |
protected java.util.Iterator | getMemberGroups() Returns an Iterator over the groups in our member
Collection . |
public java.util.Iterator | getMembers() Returns an Iterator over the GroupMembers in our
member Collection . |
public java.lang.String | getName() |
public HashMap | getRemovedMembers() |
protected GroupService | getService() |
public Name | getServiceName() Returns the Name of the group service of origin. |
public Class | getType() Returns this object's type for purposes of caching and locking, as
opposed to the underlying entity type. |
public boolean | hasAdds() Answers if there are any added memberships not yet committed to the database. |
public boolean | hasDeletes() Answers if there are any deleted memberships not yet committed to the database. |
public boolean | hasMembers() |
public int | hashCode() Generates a hash code for the receiver. |
public boolean | isDirty() Answers if there are any added or deleted memberships not yet committed to the database. |
public boolean | isEditable() Answers if this IEntityGroup can be changed or deleted. |
public boolean | isGroup() |
protected void | primAddMember(IGroupMember gm) Adds the IGroupMember key to the appropriate member key
cache by copying the cache, adding to the copy, and then replacing the
original with the copy. |
protected java.util.Set | primGetAllEntities(Set entities) Returns the Set of IEntities in our member Collection
and, recursively, in the Collections of our members.
Parameters: entities - a Set that IEntity-GroupMembers are added to. |
protected java.util.Set | primGetAllMembers(Set s) Returns the Set of IGroupMembers in our member
Collection and, recursively, in the Collections
of our members.
Parameters: s - java.lang.Set - a Set that members are added to. |
protected void | primRemoveMember(IGroupMember gm) Removes the IGroupMember key from the appropriate key cache, by
copying the cache, removing the key from the copy and replacing the original
with the copy. |
public void | primSetName(java.lang.String newName) |
public void | removeMember(IGroupMember gm) Removes IGroupMember gm from our member Map and,
conversely, remove this from gm's group Map . |
public void | setCreatorID(java.lang.String newCreatorID) |
public void | setDescription(java.lang.String newDescription) |
public void | setLocalGroupService(IIndividualGroupService newIndividualGroupService) |
public void | setName(java.lang.String newName) We used to check duplicate sibling names but no longer do. |
public void | setServiceName(Name newServiceName) Sets the service Name of the group service of origin. |
public String | toString() Returns a String that represents the value of this object. |
public void | update() Delegate to the factory. |
public void | updateMembers() Delegate to the factory. |