Package org.gatein.pc.portlet.impl.spi

Examples of org.gatein.pc.portlet.impl.spi.AbstractPortalContext


         }
         renderInvocation.setInstanceContext(instanceContext);

         renderInvocation.setUserContext(new AbstractUserContext(prcontext.getRequest()));
         renderInvocation.setWindowContext(new AbstractWindowContext(uiPortlet_.getWindowId()));
         renderInvocation.setPortalContext(new AbstractPortalContext(Collections.singletonMap(
            "javax.portlet.markup.head.element.support", "true")));
         renderInvocation.setSecurityContext(new AbstractSecurityContext(prcontext.getRequest()));
         renderInvocation.setTarget(portletContext);

         renderInvocation.setMode(Mode.create(PortletMode.EDIT.toString()));
View Full Code Here


      invocation.setServerContext(new AbstractServerContext(servletRequest, prc.getResponse()));
      //TODO: ExoUserContext impl not tested
      invocation.setUserContext(new ExoUserContext(servletRequest, userProfile));
      invocation.setWindowContext(new ExoWindowContext(storageName));
      invocation.setPortalContext(new AbstractPortalContext(Collections.singletonMap(
         "javax.portlet.markup.head.element.support", "true")));
      invocation.setSecurityContext(new AbstractSecurityContext(servletRequest));

      //
      invocation.setTarget(preferencesPortletContext);
View Full Code Here

      invocation.setServerContext(new AbstractServerContext(servletRequest, prc.getResponse()));
      //TODO: ExoUserContext impl not tested
      invocation.setUserContext(new ExoUserContext(servletRequest, userProfile));
      invocation.setWindowContext(new ExoWindowContext(storageName));
      invocation.setPortalContext(new AbstractPortalContext(Collections.singletonMap(
         "javax.portlet.markup.head.element.support", "true")));
      invocation.setSecurityContext(new AbstractSecurityContext(servletRequest));

      //
      invocation.setTarget(preferencesPortletContext);
View Full Code Here

         }
         renderInvocation.setInstanceContext(instanceContext);

         renderInvocation.setUserContext(new AbstractUserContext(prcontext.getRequest()));
         renderInvocation.setWindowContext(new AbstractWindowContext(uiPortlet_.getWindowId()));
         renderInvocation.setPortalContext(new AbstractPortalContext(Collections.singletonMap(
            "javax.portlet.markup.head.element.support", "true")));
         renderInvocation.setSecurityContext(new AbstractSecurityContext(prcontext.getRequest()));
         renderInvocation.setTarget(portletContext);

         renderInvocation.setMode(Mode.create(PortletMode.EDIT.toString()));
View Full Code Here

TOP

Related Classes of org.gatein.pc.portlet.impl.spi.AbstractPortalContext

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.