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
Methods 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<S, C> 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<S, C> 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<S, C> 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