Package org.jasig.portal.events.support

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


                //Get the user's layout and find the targeted folder (tab)
                final IUserLayoutManager userLayoutManager = uPreferencesManager.getUserLayoutManager();
                final IUserLayoutFolderDescription targetedNode = this.getActiveTab(userLayoutManager, activeTabIndex);
               
                //Create and publish the event.
                final PageRenderTimePortalEvent pageRenderTimePortalEvent = new PageRenderTimePortalEvent(this, person, userProfile, targetedNode, pageRenderTime);
                this.applicationEventPublisher.publishEvent(pageRenderTimePortalEvent);
            }
        }
    }
View Full Code Here


        assertEquals(10, this.countRowsInTable("STATS_CHANNEL"));
        assertEquals(11, this.countRowsInTable("STATS_FOLDER"));
        assertEquals(1, this.countRowsInTable("STATS_RENDER_TIME"));
       
       
        portalEvent = new PageRenderTimePortalEvent(this, person, userProfile, layoutFolderDescription, 12345);
        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.PageRenderTimePortalEvent

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.