Package org.jasig.portal.events

Examples of org.jasig.portal.events.PortletRenderExecutionEvent


    protected String serializePortletRenderExecutionEvents(final Set<PortalEvent> portalEvents) {
        //Filter to include just portlet render events
        final Map<String, PortletRenderExecutionEvent> renderEvents = new HashMap<String, PortletRenderExecutionEvent>();
        for (final PortalEvent portalEvent : portalEvents) {
            if (portalEvent instanceof PortletRenderExecutionEvent) {
                final PortletRenderExecutionEvent portletRenderEvent = (PortletRenderExecutionEvent) portalEvent;

                //Don't write out info for minimized portlets
                if (!WindowState.MINIMIZED.equals(portletRenderEvent.getWindowState())) {
                    final IPortletWindowId portletWindowId = portletRenderEvent.getPortletWindowId();
                    final String eventKey = portletWindowId != null ? portletWindowId.getStringId() : portletRenderEvent.getFname();
                    renderEvents.put(eventKey, portletRenderEvent);
                }
            }
        }
       
View Full Code Here

TOP

Related Classes of org.jasig.portal.events.PortletRenderExecutionEvent

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.