Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.SpreadsheetService


   * 在每月1日的8点零5分触发
   * */
  public void myexecute(JobExecutionContext context) throws JobExecutionException
  {
    // TODO Auto-generated method stub
    SpreadsheetService service = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(service.maintainMonthReport())
    {
      LOG.info("Month Report Maintain Succed!");
    }
    else
    {
View Full Code Here


   * 由于用户报表开始时间为8点,故在每日8点零5触发,生成前一日报表
   * */
  public void myexecute(JobExecutionContext context) throws JobExecutionException
  {
    // TODO Auto-generated method stub
    SpreadsheetService service = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(service.maintainDayReport())
    {
      LOG.info("Day Report Maintain Succeed!");
    }
    else
    {
View Full Code Here

   * 在每年1月1日的8点零5分触发
   * */
  public void myexecute(JobExecutionContext context) throws JobExecutionException
  {
    // TODO Auto-generated method stub
    SpreadsheetService service = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(service.maintainYearReport())
    {
      LOG.info("Year Report Maintain Succed!");
    }
    else
    {
View Full Code Here

public class Spreadsheet extends MyBaseAction
{
  public String addBlankReportTemplate()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      /**
       * 虽然只有一个name,无其它属性,但接口中仍要有Map型的参数
       * 否则aop checkName时会报错
       * */     
      resultInfo = spreadsheetService.addBlankReportTemplate(request.getParameter("category_id"),request.getParameter("name")
          ,parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 暂时未用;测试用
   * */
  public String queryAllReportTemplate()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryAllReportTemplate();
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 返回html code;未用,使用TemplateRender.getSSContent代替
   * */
  public String getTemplateHtml()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.queryTemplateHtml(request.getParameter("id"));
    }
    return SUCCESS;
  }
View Full Code Here

   * 虽然只有一个name和id,无其它属性,但接口中仍要有Map型的参数
   * 否则aop checkName时会异常
   * */     
  public String changeReportTemplateName()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.modifyReportTemplateName(request.getParameter("id"),request.getParameter("name")
          ,parameterMap);
    }
    return SUCCESS;
  }
View Full Code Here

  /**
   * 修改报表模板;未用,使用modifySSTemplate接口代替
   * */
  public String modifyReportTemplate()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.modifyReportTemplateCode(request.getParameter("id"),request.getParameter("code"));
    }
    return SUCCESS;
  }
View Full Code Here

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

  /**
   * 以下4个接口,用于报表模板分类管理
   * */
  public String queryReportTempTree()
  {
    SpreadsheetService spreadsheetService = (SpreadsheetService)StorageService.ctx.getBean("spreadsheetService");
    if(spreadsheetService!=null)
    {
      resultInfo = spreadsheetService.maintainReportTempTree();
    }
    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.