public void batchEditNewspaper(String docIds) {
    String[] docId = docIds.split(",");
    CmsNewspaperTVOImpl newspaperVO = this.getCmsNewspaperTVO();
    CmsNewspaperEditVOImpl editVO = this.getCmsNewspaperEditVO();
    CmsNewspaperEditVORowImpl editRow = (CmsNewspaperEditVORowImpl) editVO.getCurrentRow();
    for (String id : docId) {
      try {
        newspaperVO.setbvDocId(new Number(id));
      } catch (SQLException e) {
        e.printStackTrace();
      }
      newspaperVO.executeQuery();
      Row row = newspaperVO.first();
      if (row != null) {
        CmsNewspaperTVORowImpl newspaperRow = (CmsNewspaperTVORowImpl) row;
        for (String attr : editRow.getAttributeNames()) {
          if (editRow.getAttribute(attr) != null) {
            if ("Keyword".equals(attr)) {
              String oldKeyword = newspaperRow.getKeyword();
              String newKeyword = null;
              if (oldKeyword == null) {
                newKeyword = editRow.getAttribute(attr) + "";
              } else {
                newKeyword = oldKeyword + "," + editRow.getAttribute(attr);
              }
              newspaperRow.setAttribute(attr, newKeyword);
            } else if (attr.indexOf("Lookup") >= 0) {

            } else {
              newspaperRow.setAttribute(attr, editRow.getAttribute(attr));
            }
          }
        }
        newspaperRow.setLastUpdatedBy(this.getCustomDBTransaction().getUserId());
        newspaperRow.setLastUpdateDate(new Date());
      }
    }
  }