Package it.eng.spagobi.container

Examples of it.eng.spagobi.container.ContextManager


      SourceBean response) throws EMFUserError {
   
    logger.debug("IN");
   
    SessionContainer session = requestContainer.getSessionContainer();
    ContextManager contextManager = new ContextManager(new SpagoBISessionContainer(session),
        new LightNavigatorContextRetrieverStrategy(requestContainer.getServiceRequest()));
   
    if (obj == null) {
      logger.error("The input object is null");
      throw new EMFUserError(EMFErrorSeverity.ERROR, "100", messageBundle);
View Full Code Here


      }
     
      // read the configuration and set relative object into session
      DocumentCompositionConfiguration docConf = new DocumentCompositionConfiguration(content);
      SessionContainer session = requestContainer.getSessionContainer();
      ContextManager contextManager = new ContextManager(new SpagoBISessionContainer(session),
          new LightNavigatorContextRetrieverStrategy(requestContainer.getServiceRequest()));
      contextManager.set("docConfig", docConf);
        
      // set information into response
      response.setAttribute(ObjectsTreeConstants.SESSION_OBJ_ATTR, obj);
      response.setAttribute(content);
      response.setAttribute(SpagoBIConstants.PUBLISHER_NAME, "DOCUMENT_COMPOSITION");
View Full Code Here

    IBeanContainer sessionContainer = (IBeanContainer)SpagoBIContainerFactory.getContainer( session );
    Object str;
    str = request.getParameter(EXECUTION_ID);
    str = request.getAttribute(EXECUTION_ID);
    contextRetriveStrategy = new ExecutionContextRetrieverStrategy( this.requestContainer );
    this.contextManager = new ContextManager(sessionContainer, contextRetriveStrategy);
  }
View Full Code Here

 
  public ContextManager getConetxtManager() {
    if(conetxtManager == null) {
      IContextRetrieverStrategy contextRetriveStrategy;
      contextRetriveStrategy = new ExecutionContextRetrieverStrategy( getSpagoBIRequestContainer() );
      conetxtManager = new ContextManager(super.getSpagoBIHttpSessionContainer(), contextRetriveStrategy);
    }
   
    List list = conetxtManager.getKeys();
   
    return conetxtManager;
View Full Code Here

 
  public ContextManager getConetxtManager() {
    if(conetxtManager == null) {
      IContextRetrieverStrategy contextRetriveStrategy;
      contextRetriveStrategy = new ExecutionContextRetrieverStrategy( getSpagoBIRequestContainer() );
      conetxtManager = new ContextManager(super.getSpagoBIHttpSessionContainer(), contextRetriveStrategy);
    }
   
    List list = conetxtManager.getKeys();
   
    return conetxtManager;
View Full Code Here

    sessionContainer = new SpagoBIHttpSessionContainer( getSession() )
   
    executionId = (String)getRequest().getParameter(EXECUTION_ID);
    contextRetriveStrategy = new ExecutionContextRetrieverStrategy( executionId );
   
    setContextManager( new ContextManager(sessionContainer, contextRetriveStrategy) );
  }
View Full Code Here

      logger.debug("IN");
      errorHandler = getErrorHandler();
      logger.debug("error handler retrived");
      RequestContainer requestContainer = getRequestContainer();
      SessionContainer sessionContainer = requestContainer.getSessionContainer();
      contextManager = new ContextManager(new SpagoBISessionContainer(sessionContainer),
          new LightNavigatorContextRetrieverStrategy(request));
      logger.debug("sessionContainer and permanentContainer retrived");
            logger.debug("user profile retrived");
            String modality = ChannelUtilities.getPreferenceValue(requestContainer, MODALITY, "");
            logger.debug("using "+modality+" modality");
View Full Code Here

TOP

Related Classes of it.eng.spagobi.container.ContextManager

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.