Examples of PortletWindowImpl


Examples of org.apache.pluto.internal.impl.PortletWindowImpl

    throws PortletException, IOException, PortletContainerException {
     
      ensureInitialized();
     
        InternalPortletWindow internalPortletWindow =
            new PortletWindowImpl(servletContext, portletWindow);
        debugWithName("Load request received for portlet: "
            + portletWindow.getPortletName());
       
        RenderRequestImpl renderRequest = new RenderRequestImpl(
            this, internalPortletWindow, request);
View Full Code Here

Examples of org.apache.pluto.internal.impl.PortletWindowImpl

    throws PortletException, IOException, PortletContainerException {
     
      ensureInitialized();
     
        InternalPortletWindow internalPortletWindow =
            new PortletWindowImpl(servletContext, portletWindow);
        debugWithName("Render request received for portlet: "
            + portletWindow.getPortletName());
       
        RenderRequestImpl renderRequest = new RenderRequestImpl(
            this, internalPortletWindow, request);
View Full Code Here

Examples of org.apache.pluto.internal.impl.PortletWindowImpl

    throws PortletException, IOException, PortletContainerException {
     
      ensureInitialized();
     
        InternalPortletWindow internalPortletWindow =
              new PortletWindowImpl(servletContext, portletWindow);
      debugWithName("Action request received for portlet: "
          + portletWindow.getPortletName());
     
        ActionRequestImpl actionRequest = new ActionRequestImpl(
            this, internalPortletWindow, request);
View Full Code Here

Examples of org.apache.pluto.internal.impl.PortletWindowImpl

    throws PortletException, IOException, PortletContainerException {
     
      ensureInitialized();
     
        InternalPortletWindow internalPortletWindow =
            new PortletWindowImpl(servletContext, portletWindow);
        debugWithName("Load request received for portlet: "
            + portletWindow.getPortletName());
       
        RenderRequestImpl renderRequest = new RenderRequestImpl(
            this, internalPortletWindow, request);
View Full Code Here

Examples of org.apache.pluto.portalImpl.om.window.impl.PortletWindowImpl

    {
    super(id, config, parent, fragDesc, navigation);
        log = Log.getService().getLogger(getClass());
    String portletEntityId = getInitParameters().getString("portlet");
    PortletEntity portletEntity = PortletEntityRegistry.getPortletEntity(ObjectID.createFromString(portletEntityId));
    portletWindow = new PortletWindowImpl(getId());
    ((PortletWindowCtrl) portletWindow).setPortletEntity(portletEntity);
    PortletWindowList windowList = portletEntity.getPortletWindowList();
    ((PortletWindowListCtrl) windowList).add(portletWindow);
  }
View Full Code Here

Examples of org.infoglue.deliver.portal.om.PortletWindowImpl

            {
                log.fatal("Couldn't find entity with id: " + entityID);
                throw new NameNotFoundException("Portlet entity not found: " + entityID);
            }
           
            window = new PortletWindowImpl(windowID, entity);

            ((PortletWindowListCtrl) entity.getPortletWindowList()).add(window);

            wid2win.put(windowID, window);
        }
View Full Code Here

Examples of org.jasig.portal.container.om.window.PortletWindowImpl

           
            // Wrap the request
            ServletRequestImpl wrappedRequest = new ServletRequestImpl(pcs.getHttpServletRequest(), sd.getPerson(), portletDefinition.getInitSecurityRoleRefSet());
            
            // Now create the PortletWindow and hold a reference to it
            PortletWindowImpl portletWindow = new PortletWindowImpl();
            portletWindow.setId(sd.getChannelSubscribeId());
            portletWindow.setPortletEntity(portletEntity);
      portletWindow.setChannelRuntimeData(rd);
            portletWindow.setHttpServletRequest(wrappedRequest);
            cd.setPortletWindow(portletWindow);
               
            // Ask the container to load the portlet
            synchronized(this) {
                portletContainer.portletLoad(portletWindow, wrappedRequest, pcs.getHttpServletResponse());
View Full Code Here

Examples of org.jasig.portal.container.om.window.PortletWindowImpl

        final PortletWindowStateInfo stateInfo = getStateInfo(window);
        stateInfo.setCurrentState(state);

        //Ensure the uPFile for the window is setup appropriately for the window state
        try {
            final PortletWindowImpl windowImpl = (PortletWindowImpl)window;
            final ChannelRuntimeData runtimeData = windowImpl.getChannelRuntimeData();

            if (!PortalContextProviderImpl.EXCLUSIVE.equals(stateInfo.getCurrentState())) {
                runtimeData.getUPFile().setMethod(UPFileSpec.RENDER_METHOD);
                runtimeData.getUPFile().setMethodNodeId(UserInstance.USER_LAYOUT_ROOT_NODE);
            }
View Full Code Here

Examples of org.jasig.portal.container.om.window.PortletWindowImpl

     * @param window The PortletWindow to get the HttpSession for.
     * @return The HttpSession for the PortletWindow.
     * @throws IllegalStateException If the PortletWindow doesn't have an associated HttpServletRequest object.
     */
    private static HttpSession getSession(PortletWindow window) {
        final PortletWindowImpl windowImpl = (PortletWindowImpl)window;
        final HttpServletRequest request = windowImpl.getHttpServletRequest();
       
        /*
         * Unwrap the HttpServletRequest!
         * When this is getting called via the dispatched portlet it gets
         * a HttpServletRequestWrapper generated by the cross context
View Full Code Here

Examples of org.jasig.portal.container.om.window.PortletWindowImpl

                   
                case PortalEvent.SESSION_DONE:
                    // For both SESSION_DONE and UNSUBSCRIBE, we might want to
                    // release resources here if we need to

                    PortletWindowImpl windowImpl = (PortletWindowImpl)cd.getPortletWindow();

                    try {
                        PortletStateManager.clearState(windowImpl);
                    }
                    catch (IllegalStateException ise) {
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.