Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.SpreadsheetService


 

  public String addReportTempCat()
  {
    //需要判断用户有无权限
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addReportTempCat(request.getParameter("parent_id"),request.getParameter("name")
          ,parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here


    return SUCCESS;
  }
 
  public String modifyReportTempCat()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.modifyReportTempCat(request.getParameter("id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String deleteReportTempCat()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.deleteReportTempCat(request.getParameter("id"));
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 以下三个接口用户查询条件的维护
   * */
  public String addQueryCondition()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addQueryCondition(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

    return SUCCESS;
  }
 
  public String deleteQueryCondition()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.deleteQueryCondition(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  }
 
//  查询单元格的查询条件
  public String getCellQueryCondition()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryCellCondition(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

   * 由于支持前台报表显示时的进度条,报表显示分为两步,首先由该接口转发参数,并加载显示框架(带进度条)
   * 其次在spreadsheet.jsp(显示框架中)去发一个ajax请求getReportContent()去获取表格并最终显示。
   * */
  public String queryReport()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryReport(request.getParameter("id"),parameterMap);
      if(request.getSession()!=null){
          if(request.getSession().getAttribute(WebVariable.I18N_ATTRIBUTE_NAME)!=null){
//            System.out.println("contains WW_TRANS_I18N_LOCALE:"+sessionMap.get("WW_TRANS_I18N_LOCALE").toString());
            resultInfo.MakeI18NInfoMSG((Locale)request.getSession().getAttribute(WebVariable.I18N_ATTRIBUTE_NAME));
          }else{
View Full Code Here

 
 
  //该接口用于查询报表的内容并返回
  public String getReportContent()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.makeReportContent(request.getParameter("id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 测试接口
   * */
  public String queryOlapTest()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.makeTest(request.getParameter("olapQuery"),
          request.getParameter("timeVar"),request.getParameter("time"));
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 以下接口用于报表模板编辑时,增删行列后,对数据库中查询条件的维护
   * */
  public String updateReportQueryConditions()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.modifyCells(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

TOP

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

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.