code: public CmsDetailPageInfo getBestDetailPage(String type) {
  
          List<CmsDetailPageInfo> infos = m_map.get(type);
          if ((infos == null) || infos.isEmpty()) {
              return null;
          }
          return infos.get(0);
      }
docs: Returns the detail page which is in front of the detail page list for the given type.<p>
  
  @param type a resource type
  @return a detail page information bean