Package com.narirelays.ems.services

Examples of com.narirelays.ems.services.TaskScheduleManagementService


    }
    return SUCCESS; 
  }
 
  public String deleteTrigger(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.deleteTrigger(request.getParameter("triggerKey"));
    }
    return SUCCESS; 
  }
View Full Code Here


    }
    return SUCCESS; 
  }
 
  public String queryTrigger(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.queryTrigger(request.getParameter("jobid"));
    }
    return SUCCESS; 
  }
View Full Code Here

    }
    return SUCCESS; 
  }
 
  public String queryClassJob(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.queryClassJob();
    }
    return SUCCESS; 
  }
View Full Code Here

    return SUCCESS; 
  }
 
  public String queryAllTasks() {
    Object obj = StorageService.ctx.getBean("taskScheduleManagementService");
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
//      HttpServletRequest request = ServletActionContext.getRequest() ;
//      Map properties = request.getParameterMap();
//      /**!
//       * 首先删除所有任务
 
View Full Code Here

//    QuartzHelper.printAllJobStatus();
//    return SUCCESS;
  }
 
  public String deleteAllJob(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.deleteAllJob();
      QuartzHelper.printAllJobStatus();
   
    return SUCCESS;
  }
View Full Code Here

   
    return SUCCESS;
  }
 
  public String queryRunningJobs(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.queryRunningJobs();
    }
    return SUCCESS; 
  }
View Full Code Here

    }
    return SUCCESS; 
  }
 
  public String addClassParam(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.addClassParam(request.getParameter("jobclass_id"), request.getParameterMap());
    }
    return SUCCESS; 
  }
View Full Code Here

      resultInfo = taskScheduleManagementService.addClassParam(request.getParameter("jobclass_id"), request.getParameterMap());
    }
    return SUCCESS; 
  }
  public String deleteClassParam(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.deleteClassParam(request.getParameter("param_id"));
    }
    return SUCCESS; 
  }
View Full Code Here

      resultInfo = taskScheduleManagementService.deleteClassParam(request.getParameter("param_id"));
    }
    return SUCCESS; 
  }
  public String modifyClassParam(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
      resultInfo = taskScheduleManagementService.modifyClassParam(request.getParameter("param_id"), request.getParameterMap());
    }
    return SUCCESS; 
  }
View Full Code Here

      resultInfo = taskScheduleManagementService.modifyClassParam(request.getParameter("param_id"), request.getParameterMap());
    }
    return SUCCESS; 
  }
  public String queryClassParam(){
    TaskScheduleManagementService taskScheduleManagementService = (TaskScheduleManagementService)StorageService.ctx.getBean("taskScheduleManagementService");
    if(taskScheduleManagementService!=null){
//      resultInfo = taskScheduleManagementService.queryClassParam(request.getParameter("jobclass_id"));
      resultInfo = taskScheduleManagementService.queryClassParamFromClass(request.getParameter("jobclass_id"));
    }
    return SUCCESS; 
  }
View Full Code Here

TOP

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

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.