PortletWindow portletWindow, int expiration,
PortletDefinition portletDefinition)
throws Exception
{
ContentFragment fragment = portletWindow.getFragment();
ContentCacheKey cacheKey = portletContentCache.createCacheKey(requestContext, fragment.getId());
CacheElement cachedElement = portletContentCache.get(cacheKey);
if (cachedElement != null)
{
PortletContent portletContent = (PortletContent) cachedElement.getContent();