code: private List<CmsResultItemBean> buildSearchResultList(
          List<CmsGallerySearchResult> searchResult,
          CmsGallerySearchResult presetResult) {
  
          ArrayList<CmsResultItemBean> list = new ArrayList<CmsResultItemBean>();
          if ((searchResult == null) || (searchResult.size() == 0)) {
              return list;
          }
          CmsObject cms = getCmsObject();
          for (CmsGallerySearchResult sResult : searchResult) {
              try {
                  CmsResultItemBean bean = buildSingleSearchResultItem(cms, sResult, presetResult);
                  list.add(bean);
              } catch (Exception e) {
                  logError(e);
              }
          }
          return list;
      }
docs: Returns the list of beans for the given search results.<p>
  
  @param searchResult the list of search results
  @param presetResult the search result which corresponds to a preset value in the editor
  
  @return the list with the current search results