/** Returns a cached <code>IEntity</code> or null if it has not been cached. */ protected IEntity getEntityFromCache(String key) throws CachingException { return (IEntity) EntityCachingService.instance().get(ICompositeGroupService.LEAF_ENTITY_TYPE, key); } }
/** Returns a cached <code>IEntityGroup</code> or null if it has not been cached. */ protected IEntityGroup getGroupFromCache(String key) throws CachingException { return (IEntityGroup) EntityCachingService.instance().get(ICompositeGroupService.GROUP_ENTITY_TYPE, key); }
/** Returns a cached <code>IEntity</code> or null if it has not been cached. */ protected IEntity getEntityFromCache(String key) throws CachingException { return (IEntity) EntityCachingService.instance().get(ICompositeGroupService.LEAF_ENTITY_TYPE, key); } }
/** Returns a cached <code>IEntityGroup</code> or null if it has not been cached. */ protected IEntityGroup getGroupFromCache(String key) throws CachingException { return (IEntityGroup) EntityCachingService.instance().get(ICompositeGroupService.GROUP_ENTITY_TYPE, key); }
protected void cacheUpdate(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().update(gm); } catch (CachingException ce) { throw new GroupsException( "Problem updating group member " + gm.getKey() + " in cache", ce); } }
protected void cacheAdd(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().add(gm); } catch (CachingException ce) { throw new GroupsException( "Problem adding group member " + gm.getKey() + " to cache", ce); } }
protected void cacheUpdate(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().update(gm); } catch (CachingException ce) { throw new GroupsException( "Problem updating group member " + gm.getKey() + " in cache", ce); } }
protected void cacheAdd(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().add(gm); } catch (CachingException ce) { throw new GroupsException( "Problem adding group member " + gm.getKey() + " to cache", ce); } }
protected void cacheRemove(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().remove(gm.getEntityIdentifier()); } catch (CachingException ce) { throw new GroupsException( "Problem removing group member " + gm.getKey() + " from cache", ce); } }
protected void cacheRemove(IGroupMember gm) throws GroupsException { try { EntityCachingService.instance().remove(gm.getEntityIdentifier()); } catch (CachingException ce) { throw new GroupsException( "Problem removing group member " + gm.getKey() + " from cache", ce); } }