Package org.jasig.portal.events.support

Examples of org.jasig.portal.events.support.PortletActionInLayoutPortalEvent


        // Tell the StatsRecorder that this channel has rendered
        final IPerson person = userPreferencesManager.getPerson();
        final UserProfile userProfile = userPreferencesManager.getCurrentProfile();
        final long renderTime = channelRenderer.getRenderTime();
       
        final PortletActionInLayoutPortalEvent portletActionEvent = new PortletActionInLayoutPortalEvent(this, person, userProfile, channel, parentNode, renderTime);
        EventPublisherLocator.getApplicationEventPublisher().publishEvent(portletActionEvent);
       
        return true;
    }
View Full Code Here


        assertEquals(10, this.countRowsInTable("STATS_CHANNEL"));
        assertEquals(12, this.countRowsInTable("STATS_FOLDER"));
        assertEquals(2, this.countRowsInTable("STATS_RENDER_TIME"));
       
       
        portalEvent = new PortletActionInLayoutPortalEvent(this, person, userProfile, channelDescription, parentNodeDescription, 1236);
        this.jpaPortalEventStore.storePortalEvents(portalEvent);
        this.checkPoint();
       
        assertEquals(1, this.countRowsInTable("STATS_SESSION"));
        assertEquals(0, this.countRowsInTable("STATS_SESSION_GROUPS"));
View Full Code Here

TOP

Related Classes of org.jasig.portal.events.support.PortletActionInLayoutPortalEvent

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.