public Page getPageFrom(org.exoplatform.portal.config.model.Page portalPage) {
   POMSession session = pomManager.getSession();
   Site site =
       session
           .getWorkspace()
           .getSite(Mapper.parseSiteType(portalPage.getOwnerType()), portalPage.getOwnerId());
   return getPagesFrom(site).getChild(portalPage.getName());
 }
 public Page getPageFrom(PageKey pageKey) {
   POMSession session = pomManager.getSession();
   final SiteKey siteKey = pageKey.getSite();
   final SiteType siteType = siteKey.getType();
   final String siteName = siteKey.getName();
   Site site = session.getWorkspace().getSite(Mapper.parseSiteType(siteType.getName()), siteName);
   return getPagesFrom(site).getChild(pageKey.getName());
 }