code: public static CmsListInfoBean getPageInfo(CmsObject cms, CmsResource res) throws CmsException {
  
          CmsListInfoBean result = new CmsListInfoBean();
          addPageInfo(cms, res, result);
          return result;
      }
docs: Gets page information of a resource.<p>
  
  @param cms the CMS context
  @param res the resource
  
  @return gets the page information for the given resource
  
  @throws CmsException if the resource info can not be read