Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.SpreadsheetService


  /**
   * 为报表模板增加类型
   * */
  public String addType4ReportTemplate()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addType4ReportTemplate(request.getParameter("id"),request.getParameter("report_type"));
    }
    return SUCCESS;
  }
View Full Code Here


  /**
   * 报表浏览时,手动设定单元格的值
   * */
  public String addCellManualValue()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addCellManualValue(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 判断当前用户有没有在浏览态下修改该报表的权限
   * */
  public String checkCellManualValue()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.checkCellManualValue(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 查询报表的权限
   * */
  public String queryReportAuthority()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryReportAuthority(request.getParameter("id"));
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 查询目录的权限
   * */
  public String queryCategoryAuthority()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryCategoryAuthority(request.getParameter("id"));
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 为报表或目录的某个操作增加权限
   * */
  public String addAuthority4ReportOrCat()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addAuthority4ReportOrCat(request.getParameter("id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 删除报表或目录某个操作的权限
   * */
  public String deleteAuthority4ReportOrCat()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.deleteAuthority4ReportOrCat(request.getParameter("id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 将单元格发布
   * */
  public String releaseCell()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.addCellMeasure(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 取消单元格发布
   * */
  public String disReleaseCell()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.deleteCellMeasure(request.getParameter("template_id"),parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

      e.printStackTrace();
    } catch (InvocationTargetException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      //判断当前用户有无edit权限
      if(!spreadsheetService.queryUserEditAuthorty(parameterMap))
      {
        resultInfo.setFailed(com.narirelays.ems.resources.EMSi18n.HAS_NO_EDIT_AUTHENTICATION);
      }
      else
      {
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.