Package org.jasig.portal.events.support

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


            final IPerson person = userPreferencesManager.getPerson();
            final UserProfile userProfile = userPreferencesManager.getCurrentProfile();
            final long renderTime = cr.getRenderTime();
            final boolean renderedFromCache = cr.isRenderedFromCache();
           
            final ChannelRenderedInLayoutPortalEvent channelRenderedEvent = new ChannelRenderedInLayoutPortalEvent(this, person, userProfile, channelDesc, parentNode, renderTime, renderedFromCache);
            EventPublisherLocator.getApplicationEventPublisher().publishEvent(channelRenderedEvent);
        } else {
            handleRenderingError(request, response, channelSubscribeId,contentHandler,null,renderingStatus,"unsuccessful rendering","unsuccessful rendering",false);
            return;
        }
View Full Code Here


        assertEquals(7, this.countRowsInTable("STATS_CHANNEL"));
        assertEquals(4, this.countRowsInTable("STATS_FOLDER"));
        assertEquals(0, this.countRowsInTable("STATS_RENDER_TIME"));
       
       
        portalEvent = new ChannelRenderedInLayoutPortalEvent(this, person, userProfile, channelDescription, parentNodeDescription, 1234, false);
        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.ChannelRenderedInLayoutPortalEvent

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.