Uses of Class
org.exoplatform.portal.webui.application.UIPortlet
Packages that use UIPortlet
Package
Description
-
Uses of UIPortlet in org.exoplatform.portal.application.state
Methods in org.exoplatform.portal.application.state with parameters of type UIPortletModifier and TypeMethodDescriptionabstract voidAbstractContextualPropertyProviderPlugin.getProperties(UIPortlet portletWindow, Map<QName, String[]> properties) ContextualPropertyManager.getProperties(UIPortlet portletWindow) Returns a map of qualified names and string values for contextual properties of the portlet.ContextualPropertyManagerImpl.getProperties(UIPortlet portletWindow) voidInternalPropertiesPlugin.getProperties(UIPortlet portletWindow, Map<QName, String[]> properties) voidPublicPropertiesPlugin.getProperties(UIPortlet portletWindow, Map<QName, String[]> properties) -
Uses of UIPortlet in org.exoplatform.portal.webui.application
Subclasses with type arguments of type UIPortlet in org.exoplatform.portal.webui.applicationModifier and TypeClassDescriptionstatic classThis listener is called when the portlet mode of a portlet has to be changed.static classThis listener is called when the portlet portlet window state has to be changed.static classUIPortletActionListener.ProcessActionActionListener<S, C extends Serializable, I>The process action listener is called when an ActionURL generated by the portlet container has been invoked by the client
The call is delegated to the portlet container iteself using the method portletContainer.processAction(...).static classProcess Events sent by the portlet API during the processAction() and serverResource() methods defined in Portlet API 2.0 (JSR 286)static classThis listener is called when a RenderURL url has been generated by the portlet container.static classUIPortletActionListener.ServeResourceActionListener<S, C extends Serializable, I>The serveResource() method defined in the JSR 286 specs has several goals: - provide binary output like images to be displayed in the portlet (in the previous spec - JSR 168 - a servlet was needed) - provide text output that does not impact the entire portal rendering, it is for instance usefull when dealing with Javascript to return some JSON structures
The method delegates the call to the portlet container serverResource method after filling the ResourceInput object with the current request state.classCreated by The eXo Platform SAS May 8, 2006Methods in org.exoplatform.portal.webui.application that return UIPortletMethods in org.exoplatform.portal.webui.application with parameters of type UIPortletModifier and TypeMethodDescriptionvoidEventsWrapper.increaseCounter(UIPortlet portlet) booleanEventsWrapper.isInvokedTooManyTimes(UIPortlet portlet) voidUIPortletLifecycle.processAction(UIPortlet uicomponent, WebuiRequestContext context) This processAction method associated with the portlet UI component does the following work: 1) If the current request is one that target the portal than an event targeting a Portal level ActionListener is sent.static <S, C extends Serializable, I>
List<javax.portlet.Event> UIPortletActionListener.processEvent(UIPortlet uiPortlet, javax.portlet.Event event) This method is called when the javax.portlet.Event is supported by the current portlet stored in the Portlet Caontainer
The processEvent() method can also generates IPC events and hence the portal itself will call the ProcessEventsActionListener once againvoidUIPortletLifecycle.processRender(UIPortlet uicomponent, WebuiRequestContext context) This methods of the Lifecycle writes into the output writer the content of the portlet 1) Create a RenderInput object and fill it with all the Request information 2) Call the portletContainer.render() method of the Portlet Container to get the HTML generated fragment 3) Then if the current request is an AJAX one, just write in the buffer the content returned by the portlet container 4) If not AJAX, then merge the content with the UIPortlet.gtmplstatic voidUIPortletActionListener.setNextMode(UIPortlet uiPortlet, javax.portlet.PortletMode portletMode) This method is used to set the next portlet mode if this one needs to be modified because of the incoming requeststatic voidUIPortletActionListener.setNextState(UIPortlet uiPortlet, javax.portlet.WindowState state) This method is used to set the next portlet window state if this one needs to be modified because of the incoming requeststatic voidUIPortletActionListener.setupPublicRenderParams(UIPortlet uiPortlet, Map<String, String[]> requestParams) This method is called by the process action and render action listeners, aka during the processDecode() phase of our UI framework
It goes throughs all the request parameters and add to the public render parameters Map the one that are supported by the targeted portletMethod parameters in org.exoplatform.portal.webui.application with type arguments of type UIPortletModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoid -
Uses of UIPortlet in org.exoplatform.portal.webui.util
Methods in org.exoplatform.portal.webui.util with parameters of type UIPortletModifier and TypeMethodDescriptionstatic voidPortalDataMapper.toUIPortlet(UIPortlet uiPortlet, org.exoplatform.portal.config.model.Application model)