Package it.eng.spagobi.services.scheduler.service

Examples of it.eng.spagobi.services.scheduler.service.SchedulerServiceSupplier.scheduleJob()


      String jobGroupName = (String)request.getAttribute("jobGroupName");
      getSchedule(request, response);
      TriggerInfo tInfo = (TriggerInfo)sessCont.getAttribute(SpagoBIConstants.TRIGGER_INFO);
      StringBuffer message = createMessageSaveSchedulation(tInfo, true,profile);
      // call the web service to create the schedule
      String resp = schedulerService.scheduleJob(message.toString());
      SourceBean schedModRespSB = SchedulerUtilities.getSBFromWebServiceResponse(resp);
      if(schedModRespSB!=null) {
        String outcome = (String)schedModRespSB.getAttribute("outcome");
        if(outcome.equalsIgnoreCase("fault"))
          throw new Exception("Immediate Trigger not created by the web service");
View Full Code Here


        return;
      }
     
      StringBuffer message = createMessageSaveSchedulation(triggerInfo, false,profile);
      // call the web service to create the schedule
      String servoutStr = schedulerService.scheduleJob(message.toString());
      SourceBean execOutSB = SchedulerUtilities.getSBFromWebServiceResponse(servoutStr);
      if(execOutSB!=null) {
        String outcome = (String)execOutSB.getAttribute("outcome");
        if(outcome.equalsIgnoreCase("fault"))
          throw new Exception("Trigger "+triggername+" not created by the web service");
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.