Package org.jasig.portal.events.support

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


      // Record that a channel has been published or modified
      if (newChannel) {
        eventPublisher.publishEvent(new PublishedChannelDefinitionPortalEvent(definition, publisher, definition));
      } else {
        eventPublisher.publishEvent(new ModifiedChannelDefinitionPortalEvent(definition, publisher, definition));
      }

    return definition;
  }
View Full Code Here


        assertEquals(1, this.countRowsInTable("STATS_CHANNEL"));
        assertEquals(0, this.countRowsInTable("STATS_FOLDER"));
        assertEquals(0, this.countRowsInTable("STATS_RENDER_TIME"));
       
       
        portalEvent = new ModifiedChannelDefinitionPortalEvent(this, person, channelDefinition);
        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.ModifiedChannelDefinitionPortalEvent

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.