public void clearCache(Long entityId) { SiteletProperties siteletProperties = SiteletProperties.getByEntityId(entityId); if (siteletProperties != null) { Cache.delete(siteletProperties.getCacheKey()); } }