/* (non-Javadoc) * @see org.apereo.portal.concurrency.IEntityCachingService#add(org.apereo.portal.IBasicEntity) */ public void add(IBasicEntity entity) throws CachingException { final EntityIdentifier entityIdentifier = entity.getEntityIdentifier(); final Class<? extends IBasicEntity> entityType = entityIdentifier.getType(); final IEntityCache entityCache = this.getCache(entityType); entityCache.add(entity); }
/* (non-Javadoc) * @see org.apereo.portal.concurrency.IEntityCachingService#remove(java.lang.Class, java.lang.String) */ public void remove(Class<? extends IBasicEntity> entityType, String key) throws CachingException { final IEntityCache entityCache = this.getCache(entityType); entityCache.remove(key); }
/* (non-Javadoc) * @see org.apereo.portal.concurrency.IEntityCachingService#get(java.lang.Class, java.lang.String) */ public IBasicEntity get(Class<? extends IBasicEntity> entityType, String key) throws CachingException { final IEntityCache entityCache = this.getCache(entityType); return entityCache.get(key); }