Examples of ReportManagementService


Examples of com.narirelays.ems.services.ReportManagementService

  /**
   * @return
   */
  public String add() {
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = new OperResult();
    try{
      reportManagementService.addXLSTemplate(request.getParameter("id"),uploads, uploadFileNames, uploadContentTypes,parameterMap,resultInfo);
    }catch(Exception e){
      resultInfo.setFailed(e.getMessage());
    }
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

  /**
   * @return
   */
 
  public String getXLS(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.renderXLSV2(request.getParameter("id"),request.getParameter("html"),request.getParameter("time"),request.getParameter("title"),request.getParameter("mode"),parameterMap);
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

//  cols  8
//  row  5
//  rows  15
//  sheetIndex  0
  public String loadQuery(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.getPrepare4Query(request.getParameter("id"), parameterMap);
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

    resultInfo = reportManagementService.getPrepare4Query(request.getParameter("id"), parameterMap);
    return SUCCESS;
  }
 
  public String loadSSOlap(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.getPrepare4Query(request.getParameter("id"), parameterMap);
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

    resultInfo = reportManagementService.getPrepare4Query(request.getParameter("id"), parameterMap);
    return SUCCESS;
  }
 
  public String loadSSAuthority(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.getPrepare4Query(request.getParameter("id"), parameterMap);
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

    return SUCCESS;
  }
 
  public String getSSContent(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.getReportTemplate(request.getParameter("id"));
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

    resultInfo = reportManagementService.getReportTemplate(request.getParameter("id"));
    return SUCCESS;
  }
 
  public String modifySSTemplate(){
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    resultInfo = reportManagementService.modifyReportTemplate(request.getParameter("action"),request.getParameter("id"),parameterMap);
    return SUCCESS;
  }
View Full Code Here

Examples of com.narirelays.ems.services.ReportManagementService

    resultInfo = reportManagementService.modifyReportTemplate(request.getParameter("action"),request.getParameter("id"),parameterMap);
    return SUCCESS;
  }
 
  public String render() {
    ReportManagementService reportManagementService = (ReportManagementService)StorageService.ctx.getBean("reportManagementService");
    if(reportManagementService!=null){
      try {
        String data = request.getParameter("data");
//        resultInfo =  reportManagementService.render(data,false);
        if(data!=null){
          String merge = request.getParameter("merge");
          boolean isMerge = true;
          if(StringUtils.equalsIgnoreCase(merge, "false")||StringUtils.equalsIgnoreCase(merge, "n")){
            isMerge = false;
          }
//          query = URLDecoder.decode(query, "UTF-8");
          data = URLDecoder.decode(data, "UTF-8");
//          data = TestData();
          resultInfo =  reportManagementService.render(data,isMerge);
        }
       
      } catch (Exception e) {
        e.printStackTrace();
        resultInfo.setFailed(e.getMessage());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.