Package com.narirelays.ems.services

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


  /**
   * @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

//  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

    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

    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

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

    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

    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

Related Classes of com.narirelays.ems.services.ReportManagementService

Copyright © 2018 www.massapicom. 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.