Package org.jasig.portal.events.PortletExecutionEvent

Examples of org.jasig.portal.events.PortletExecutionEvent.PortletExecutionEventBuilder


    }

    @Override
    public void publishPortletActionExecutionEvent(HttpServletRequest request, Object source, IPortletWindowId portletWindowId, long executionTime) {
        final PortalEventBuilder eventBuilder = this.createPortalEventBuilder(source, request);
        final PortletExecutionEventBuilder portletEventBuilder = this.createPortletExecutionEventBuilder(eventBuilder, portletWindowId, executionTime, false);
       
        final PortletActionExecutionEvent portletActionExecutionEvent = new PortletActionExecutionEvent(portletEventBuilder);
        this.applicationEventPublisher.publishEvent(portletActionExecutionEvent);
    }
View Full Code Here


    @Override
    public void publishPortletEventExecutionEvent(HttpServletRequest request, Object source,
            IPortletWindowId portletWindowId, long executionTime, QName eventName) {
       
        final PortalEventBuilder eventBuilder = this.createPortalEventBuilder(source, request);
        final PortletExecutionEventBuilder portletEventBuilder = this.createPortletExecutionEventBuilder(eventBuilder, portletWindowId, executionTime, false);
       
        final PortletEventExecutionEvent portletEventExecutionEvent = new PortletEventExecutionEvent(portletEventBuilder, eventName);
        this.applicationEventPublisher.publishEvent(portletEventExecutionEvent);
    }
View Full Code Here

    @Override
    public void publishPortletRenderHeaderExecutionEvent(HttpServletRequest request, Object source,
            IPortletWindowId portletWindowId, long executionTime, boolean targeted, boolean cached) {
       
        final PortalEventBuilder eventBuilder = this.createPortalEventBuilder(source, request);
        final PortletExecutionEventBuilder portletEventBuilder = this.createPortletExecutionEventBuilder(eventBuilder, portletWindowId, executionTime, false);
       
        final PortletRenderHeaderExecutionEvent portletRenderHeaderExecutionEvent = new PortletRenderHeaderExecutionEvent(portletEventBuilder, targeted, cached);
        this.applicationEventPublisher.publishEvent(portletRenderHeaderExecutionEvent);
    }
View Full Code Here

    @Override
    public void publishPortletRenderExecutionEvent(HttpServletRequest request, Object source,
            IPortletWindowId portletWindowId, long executionTime, boolean targeted, boolean cached) {
       
        final PortalEventBuilder eventBuilder = this.createPortalEventBuilder(source, request);
        final PortletExecutionEventBuilder portletEventBuilder = this.createPortletExecutionEventBuilder(eventBuilder, portletWindowId, executionTime, false);
       
        final PortletRenderExecutionEvent portletRenderExecutionEvent = new PortletRenderExecutionEvent(portletEventBuilder, targeted, cached);
        this.applicationEventPublisher.publishEvent(portletRenderExecutionEvent);
    }
View Full Code Here

    public void publishPortletResourceExecutionEvent(HttpServletRequest request, Object source,
            IPortletWindowId portletWindowId, long executionTime, boolean usedBrowserCache,
            boolean usedPortalCache) {
       
        final PortalEventBuilder eventBuilder = this.createPortalEventBuilder(source, request);
        final PortletExecutionEventBuilder portletEventBuilder = this.createPortletExecutionEventBuilder(eventBuilder, portletWindowId, executionTime, false);
       
        //Get the resource Id
        final IPortalRequestInfo portalRequestInfo = this.urlSyntaxProvider.getPortalRequestInfo(request);
        final String resourceId = getResourceId(portletWindowId, portalRequestInfo);
       
View Full Code Here

       
        //Get the state & mode used for this request
        final WindowState windowState = portletWindow.getWindowState();
        final PortletMode portletMode = portletWindow.getPortletMode();
       
        return new PortletExecutionEventBuilder(portalEventBuilder, portletWindowId, fname, executionTimeNano, parameters, windowState, portletMode);
    }
View Full Code Here

TOP

Related Classes of org.jasig.portal.events.PortletExecutionEvent.PortletExecutionEventBuilder

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.