Examples of SpreadsheetService


Examples of com.google.gdata.client.spreadsheet.SpreadsheetService

   * Runs the demo.
   *
   * @param args IGNORED
   */
  public static void main(String[] args) {
    new LoginFrame(new SpreadsheetService("SpreadsheetApiDemo-1"),
        "(username)", "");
  }
View Full Code Here

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

Examples of com.narirelays.ems.services.SpreadsheetService

   * 由于用户报表开始时间为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

Examples of com.narirelays.ems.services.SpreadsheetService

   * 在每年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

Examples of com.narirelays.ems.services.SpreadsheetService

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

Examples of com.narirelays.ems.services.SpreadsheetService

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

Examples of com.narirelays.ems.services.SpreadsheetService

  /**
   * 返回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

Examples of com.narirelays.ems.services.SpreadsheetService

   * 虽然只有一个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

Examples of com.narirelays.ems.services.SpreadsheetService

  /**
   * 修改报表模板;未用,使用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

Examples of com.narirelays.ems.services.SpreadsheetService

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