public long initOnlineReadInfo(Number docId) {
   CmsDocUcmRelTVOImpl onlineReadVO = this.getCmsDocUcmRelTVO4OnlineRead();
   onlineReadVO.setbvDocId(docId);
   onlineReadVO.executeQuery();
   onlineReadVO.setRangeSize(-1);
   return onlineReadVO.getEstimatedRowCount();
 }
 public void initInfo4View(Number docId) {
   CmsDocTVOImpl docVO = this.getCmsDocTVO4View();
   docVO.setbvDocId(docId);
   docVO.executeQuery();
   CmsDocUcmRelTVOImpl durTVO = this.getCmsDocUcmRelTVO4FileList();
   durTVO.setbvDocId(docId);
   durTVO.executeQuery();
   Row row = docVO.first();
   if (row != null) {
     docVO.setCurrentRow(row);
   }
 }