private void getExcel()
     throws ControllerException, AuthorityException, ServiceException, Exception {
   this.checkFields();
   Context context = this.getChainContext();
   SimpleChain chain = new SimpleChain();
   ChainResultObj resultObj =
       chain.getResultFromResource("organizationReportExcelContentChain", context);
   this.message = resultObj.getMessage();
   if (resultObj.getValue() instanceof String) {
     this.uploadOid = (String) resultObj.getValue();
     this.success = IS_YES;
   }
 }
 private void getContent()
     throws ControllerException, AuthorityException, ServiceException, Exception {
   this.checkFields();
   Context context = this.getChainContext();
   SimpleChain chain = new SimpleChain();
   ChainResultObj resultObj =
       chain.getResultFromResource("organizationReportHtmlContentChain", context);
   this.body = String.valueOf(resultObj.getValue());
   this.message = resultObj.getMessage();
   if (!StringUtils.isBlank(this.body) && this.body.startsWith("<!-- BSC_PROG003D0003Q -->")) {
     this.success = IS_YES;
   }
 }