Package it.eng.spagobi.analiticalmodel.document.handlers

Examples of it.eng.spagobi.analiticalmodel.document.handlers.ExecutionManager


    logger.debug("IN");
    try {
      // recovers required execution details
      String executionFlowId = (String) request.getAttribute("EXECUTION_FLOW_ID");
      String executionId = (String) request.getAttribute("EXECUTION_ID");
      ExecutionManager executionManager = (ExecutionManager) contextManager.get(ExecutionManager.class.getName());
      if (executionManager == null) {
        throw new Exception("Execution Manager not found. Cannot recover execution details.");
      }
      ExecutionInstance instance = executionManager.recoverExecution(executionFlowId, executionId);
      // set execution instance in session
      setExecutionInstance(instance);
      // sets the flag in order to skip snapshots/viewpoints/parameters/subobjects page
      request.setAttribute(SpagoBIConstants.IGNORE_SUBOBJECTS_VIEWPOINTS_SNAPSHOTS, "true");
      // starts new execution
View Full Code Here


  throws Exception {
    logger.debug("IN");
    try {
      ExecutionInstance instance = getExecutionInstance();
      // registers the current execution in the ExecutionManager
      ExecutionManager executionManager = (ExecutionManager) contextManager.get(ExecutionManager.class.getName());
      if (executionManager == null) {
        executionManager = new ExecutionManager();
        contextManager.set(ExecutionManager.class.getName(), executionManager);
      }
      executionManager.registerExecution(instance);
      // starts new execution
      request.setAttribute(SpagoBIConstants.IGNORE_SUBOBJECTS_VIEWPOINTS_SNAPSHOTS, "true");
      initNewExecutionHandler(request, response);
    } finally {
      logger.debug("OUT");
View Full Code Here

TOP

Related Classes of it.eng.spagobi.analiticalmodel.document.handlers.ExecutionManager

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.