Package it.eng.spagobi.commons.utilities

Examples of it.eng.spagobi.commons.utilities.ExecutionProxy.exec()


      if (driverName != null && driverName.endsWith("BirtReportDriver")) {
        output = "PDF";
      } else {
        output = "JPG";
      }
      byte[] returnByteArray = proxy.exec(profile, "EXPORT", output);

      // add content retrieved to Document Container
      logger.debug("add content retrieved to Document Container");
      if( returnByteArray.length==0)logger.warn("empty byte array retrieved for document "+label);
      documentContainer.setContent(returnByteArray);     
View Full Code Here


    }

    ExecutionProxy proxy = new ExecutionProxy();
    proxy.setBiObject(obj);

    byte[] returnByteArray = proxy.exec(profile, "SDK", output);
   
    String fileExtension = proxy.getFileExtensionFromContType(proxy.getReturnedContentType());

    if(returnByteArray == null || returnByteArray.length==0){
      logger.error("error during execution; null result from execution Proxy");
View Full Code Here

           
           
           
            logger.info("Executing document [" + (ind+1) + "] with label [" + documentInstanceName + "] and parameters " + toBeAppendedToDescription +" ...");
            long start = System.currentTimeMillis();
            byte[] response = executionProxy.exec(profile, "SCHEDULATION", null);
            if (response == null || response.length == 0) {
              logger.debug("Document executed without any response");
            }
            String retCT = executionProxy.getReturnedContentType();
            String fileextension = executionProxy.getFileExtensionFromContType(retCT);
View Full Code Here

     
      profile=UserUtilities.getUserProfile(req);

    }

    documentBytes = proxy.exec(profile, "SEND_MAIL", null);
    returnedContentType = proxy.getReturnedContentType();
    fileextension = proxy.getFileExtensionFromContType(returnedContentType);
      //} end if (execCtrl.directExecution()) {
      // SEND MAIL
View Full Code Here

      IEngUserProfile profile = UserProfile.createWorkFlowUserProfile();
     
    ExecutionProxy proxy = new ExecutionProxy();
    proxy.setBiObject(biobj);
   
    byte[] response = proxy.exec(profile, "WORKFLOW", "JPGBASE64");

      // extract image from the response
      String xmlRespStr = new String(response);
      SourceBean xmlRespSB = SourceBean.fromXMLString(xmlRespStr);
      logger.debug("response parsed into a sourcebean");
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.