Method Summary |
|
protected boolean | cacheInUse() Answers if IGroupMembers are being cached. |
public boolean | contains(IEntityGroup group, IGroupMember member) Answers if group contains member . |
public void | deleteGroup(IEntityGroup group) Removes the IEntityGroup from the cache and the store. |
public void | deleteGroup(ILockableEntityGroup group) Removes the ILockableEntityGroup from the cache and the store,
including both parent and child memberships. |
public Iterator | findContainingGroups(IGroupMember gm) |
public IEntityGroup | findGroup(String key) Returns a pre-existing IEntityGroup or null if it
does not exist. |
public IEntityGroup | findGroup(CompositeEntityIdentifier ent) Returns a pre-existing IEntityGroup or null if it
does not exist. |
protected IEntityGroup | findGroupWithCache(String key) Returns a pre-existing IEntityGroup or null if it
does not exist. |
protected IEntityGroup | findGroupWithCache(CompositeEntityIdentifier ent) Returns a pre-existing IEntityGroup or null if it
does not exist. |
public ILockableEntityGroup | findGroupWithLock(String key, String owner) Returns a pre-existing ILockableEntityGroup or null if the
group is not found. |
public ILockableEntityGroup | findGroupWithLock(String key, String owner, int secs) Returns a pre-existing ILockableEntityGroup or null if the
group is not found. |
protected Iterator | findLocalMemberGroups(IEntityGroup eg) |
public Iterator | findMemberEntities(IEntityGroup group) Finds the IEntities that are members of group . |
public Iterator | findMemberGroups(IEntityGroup eg) Returns member groups for the IEntityGroup . |
public Iterator | findMembers(IEntityGroup eg) Returns and members for the IEntityGroup . |
public IEntity | getEntity(String key, Class type) Returns an IEntity representing a portal entity. |
public IEntityStore | getEntityFactory() Returns an IEntity representing a portal entity. |
protected IEntityGroup | getGroupFromCache(String key) Returns a cached IEntityGroup or null if it has not been cached. |
public IGroupMember | getGroupMember(String key, Class type) Returns an IGroupMember representing either a group or a
portal entity. |
public IGroupMember | getGroupMember(EntityIdentifier underlyingEntityIdentifier) Returns an IGroupMember representing either a group or a
portal entity, based on the EntityIdentifier , which
refers to the UNDERLYING entity for the IGroupMember . |
public IEntityGroupStore | getGroupStore() Returns the implementation of IEntityGroupStore whose class name
was retrieved by the PropertiesManager (see initialize()). |
protected ComponentGroupServiceDescriptor | getServiceDescriptor() |
public boolean | isEditable(IEntityGroup group) Answers if the group can be updated or deleted in the store. |
public boolean | isEditable() Answers if this service is updateable by the portal. |
protected boolean | isForeign(IGroupMember member) A foreign member is a group from a different service. |
protected boolean | isInternallyManaged() Answers if this service is managed by the portal and is therefore
updatable. |
public boolean | isLeafService() Answers if this service is a leaf in the composite; a service that
actually operates on groups. |
public IEntityGroup | newGroup(Class type) Returns a new IEntityGroup for the given Class with an unused
key. |
protected IEntityGroup | primFindGroup(String localKey) Returns a pre-existing IEntityGroup or null if it
does not exist. |
protected IEntity | primGetEntity(String key, Class type) Returns an IEntity representing a portal entity. |
public EntityIdentifier[] | searchForEntities(String query, int method, Class type) |
public EntityIdentifier[] | searchForEntities(String query, int method, Class type, IEntityGroup ancestor) |
public EntityIdentifier[] | searchForGroups(String query, int method, Class leaftype) |
public EntityIdentifier[] | searchForGroups(String query, int method, Class leaftype, IEntityGroup ancestor) |
protected void | synchronizeGroupMembersOnDelete(IEntityGroup group) Remove the back pointers of the group members of the deleted group. |
protected void | synchronizeGroupMembersOnUpdate(IEntityGroup group) Adjust the back pointers of the updated group members to either add or remove
the parent group. |
protected void | throwExceptionIfNotInternallyManaged() |
public void | updateGroup(IEntityGroup group) Update the store and the updated members. |
public void | updateGroup(ILockableEntityGroup group) Updates the ILockableEntityGroup in the cache and the store. |
public void | updateGroup(ILockableEntityGroup group, boolean renewLock) Updates the ILockableEntityGroup in the store and removes
it from the cache. |
public void | updateGroupMembers(IEntityGroup group) Update the store and the updated members. |
public void | updateGroupMembers(ILockableEntityGroup group) Updates the ILockableEntityGroup in the cache and the store. |
public void | updateGroupMembers(ILockableEntityGroup group, boolean renewLock) Updates the ILockableEntityGroup in the store and removes
it from the cache. |