Method Summary |
|
protected void | addGroupToCache(IEntityGroup group) |
protected boolean | cacheInUse() Answers if IGroupMembers are being cached. |
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. |
public Iterator | findContainingGroups(IGroupMember gm) |
public IEntityGroup | findGroup(String key) 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. |
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. |
public Iterator | findMemberGroups(IEntityGroup eg) |
public IEntityGroup | getDistinguishedGroup(String name) Refers to the PropertiesManager to get the key for the group
associated with 'name' and asks the group store implementation for the corresponding
IEntityGroup . |
public IEntity | getEntity(String key, Class type) 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(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 IGroupMember | getGroupMember(String key, Class type) Returns an IGroupMember representing either a group or a
portal entity. |
public IEntityGroupStore | getGroupStore() Returns the implementation of IEntityGroupStore whose class name
was retrieved by the PropertiesManager (see initialize()). |
public IEntityGroup | getRootGroup(Class type) Refers to the PropertiesManager to get the key for the root group
associated with 'type' and asks the group store implementation for the corresponding
IEntityGroup . |
public IEntityGroup | newGroup(Class type) Returns a new IEntityGroup for the given Class with an unused
key. |
protected void | removeGroupFromCache(IEntityGroup group) |
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) |
public static synchronized IGroupService | singleton() |
public void | updateGroup(IEntityGroup group) Updates the cache and the store with the new IEntityGroup . |
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. |
protected void | updateGroupInCache(IEntityGroup group) |
public void | updateGroupMembers(IEntityGroup group) Updates the cache and the store with the updated IEntityGroup . |
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. |