code: protected List<String> getTypeNames(CmsGalleryDataBean data) {
  
          List<String> types = new ArrayList<String>();
          for (CmsResourceTypeBean info : data.getTypes()) {
              types.add(info.getType());
          }
          return types;
      }
docs: Gets the type names from the gallery data bean.<p>
  
  @param data the gallery data bean
  @return the type names