protected boolean retrieveCachedContent(RequestContext requestContext, ContentFragment fragment,
PortletWindow portletWindow, int expiration,
PortletDefinitionComposite portletDefinition)
throws Exception
{
ContentCacheKey cacheKey = portletContentCache.createCacheKey(requestContext, fragment.getId());
CacheElement cachedElement = portletContentCache.get(cacheKey);
if (cachedElement != null)
{
PortletContent portletContent = (PortletContent)cachedElement.getContent();
fragment.setPortletContent(portletContent);