else
{
clearCache(MediumSiteNodeVersionImpl.class);
try
{
SiteNodeVersionImpl siteNodeVersion = (SiteNodeVersionImpl)object;
Integer siteNodeId = siteNodeVersion.getSiteNodeId();
if(siteNodeId == null && siteNodeVersion.getOwningSiteNode() != null)
siteNodeId = siteNodeVersion.getOwningSiteNode().getId();
CacheController.clearCacheForGroup("siteNodeCacheWithLatestVersion", "siteNode_" + siteNodeId);
CacheController.clearCacheForGroup("childSiteNodesCache", "siteNode_" + siteNodeId);
CacheController.clearCacheForGroup("childPagesCache", "siteNode_" + siteNodeId);
CacheController.clearCacheForGroup("latestSiteNodeVersionCache", "siteNode_" + siteNodeId);
SiteNodeVO siteNodeVO = SiteNodeController.getController().getSiteNodeVOWithId(siteNodeVersion.getValueObject().getSiteNodeId(), true);
if(siteNodeVO.getParentSiteNodeId() != null)
{
CacheController.clearCacheForGroup("childSiteNodesCache", "siteNode_" + siteNodeVO.getParentSiteNodeId());
CacheController.clearCacheForGroup("childPagesCache", "siteNode_" + siteNodeVO.getParentSiteNodeId());
}